/* style.css */

body {
    font-family: 'Inter', sans-serif;
    color: #444444;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}

/* Header */
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 15px;
    background: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#header .logo a {
    color: #013289;
    text-decoration: none;
}

#header .logo img {
    max-height: 40px;
}

/* Navigation Menu */
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #444444;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #013289;
}

/* Mobile navigation toggle */
.mobile-nav-toggle {
    color: #444444;
    font-size: 28px;
    cursor: pointer;
    display: none; /* Hidden by default on desktop */
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block; /* Show on mobile */
        z-index: 99999999999;
    }

    .navbar ul {
        display: none; /* Hide desktop menu on mobile */
    }

    .navbar-mobile {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(9, 9, 9, 0.9);
        transition: 0.3s;
        z-index: 999;
    }

    .navbar-mobile ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        border-radius: 8px;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }

    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #013289;
    }

    .navbar-mobile a:hover,
    .navbar-mobile .active,
    .navbar-mobile li:hover>a {
        color: #013289;
    }

    .navbar-mobile .getstarted,
    .navbar-mobile .getstarted:focus {
        margin: 15px;
    }
}


/* Hero Section (for index.html) */
#hero {
    margin-top: 60px;
    width: 100%;
    height: 55vh;
    background: rgba(49, 85, 148, 0.8);
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#hero::before {
    content: "";
    background: rgba(0, 0, 0, 0.6); /* Increased overlay for better text readability */
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
    text-transform: uppercase;
    position: relative; /* Ensure text is above overlay */
    z-index: 1;
}

#hero h2 {
    color: #eee;
    margin-bottom: 50px;
    font-size: 28px;
    text-transform: uppercase;
    position: relative; /* Ensure text is above overlay */
    z-index: 1;
}

/* Responsive adjustments for Hero section text */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 32px; /* Smaller font size for mobile */
        line-height: 40px;
    }
    #hero h2 {
        font-size: 16px; /* Smaller font size for mobile */
        margin-bottom: 30px;
    }
}
@media (max-width: 480px) {
    #hero h1 {
        font-size: 24px; /* Even smaller font size for very small mobiles */
        line-height: 32px;
    }
    #hero h2 {
        font-size: 14px;
        margin-bottom: 20px;
    }
}


/* Page Hero (for inner pages like services, project-details, contact) */
.page-hero {
    width: 100%;
    height: 70vh;
    background: rgba(49, 85, 148, 0.8);
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px; /* Adjust for fixed header */
}

.page-hero::before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.page-hero h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}


/* Sections General */
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #f7f7f7;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #013289;
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #013289;
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
    color: #555;
}

/* About Us */
.about .content h3 {
    font-weight: 600;
    font-size: 26px;
    color: #013289;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding-bottom: 10px;
}

.about .content ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #013289;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1920x400/333333/FFFFFF?text=Modern+Office+Space') fixed center center;
    background-size: cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Footer */
#footer {
    background: #333;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
}

#footer .footer-top {
    background: #3c3c3c;
    border-top: 1px solid #474747;
    border-bottom: 1px solid #474747;
    padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
    margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

#footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
    color: #fff;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #013289;
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

#footer .footer-top .footer-links ul a:hover {
    color: #013289;
}

#footer .copyright {
    text-align: center;
    padding-top: 30px;
    color: #fff;
}

#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #fff;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #013289;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #0241b1;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* Icon Boxes (Features/Services) */
.icon-box {
    color: #444444;
    text-align: center;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
    border-radius: 8px;
}

.icon-box i {
    font-size: 38px;
    color: #013289;
    border-radius: 50%;
    padding: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.icon-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #666;
}

.icon-box p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

/* Project Details */
.project-details .info-item {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.project-details .info-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #013289;
    margin-bottom: 10px;
}
.project-details .info-item p {
    font-size: 15px;
    color: #555;
    margin-bottom: 0;
}
.project-details .image-gallery img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Contact Us */
.info-box {
    color: #444444;
    text-align: center;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
    border-radius: 8px;
}

.info-box i {
    font-size: 38px;
    color: #013289;
    border-radius: 50%;
    padding: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #666;
}

.info-box p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.php-email-form {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 30px;
    border-radius: 8px;
}

.php-email-form .form-group {
    padding-bottom: 8px;
}

.php-email-form input,
.php-email-form textarea {
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
}

.php-email-form input:focus,
.php-email-form textarea:focus {
    border-color: #013289;
}

.php-email-form input {
    height: 44px;
}

.php-email-form textarea {
    padding: 10px 12px;
}

.php-email-form button[type="submit"] {
    background: #013289;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.php-email-form button[type="submit"]:hover {
    background: #0241b1;
}