/* --- RESET & VARIABLES --- */
:root {
    --navy: #0a192f;
    --gold: #c5a059;
    --dark-grey: #333333;
    --light-grey: #f4f6f8;
    --white: #ffffff;
    --border-color: #e1e1e1;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

.bg-white {
    background-color: var(--white);
}

.bg-navy {
    background-color: var(--navy);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

.navy-text {
    color: var(--navy);
}

.gold-text {
    color: var(--gold);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

.full-width {
    width: 100%;
}

/* --- HEADINGS --- */
.section-header {
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.center-line {
    margin: 0 auto;
}

/* --- NAVIGATION --- */
/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: var(--white);
    display: flex;
    align-items: center;
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: inline-block;
    max-width: 100%; /* Ensures the logo doesn’t overflow its container */
}

.logo img {
    height: 80px; /* Default height for desktop */
    width: auto; /* Maintains aspect ratio */
    display: block; /* Removes any extra space below the image */
    max-width: 100%; /* Ensures the image scales down on smaller screens */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo img {
        height: 30px; /* Smaller height for tablets and mobile */
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 25px; /* Even smaller height for very small screens */
    }
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active-link {
    color: var(--gold);
}

/* --- DESKTOP DROPDOWN --- */
.dropdown-parent { position: relative; }
.dropdown-toggle::after {
    content: "▾";
    font-size: 0.7rem;
    margin-left: 6px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
    border-top: 3px solid var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.dropdown-parent:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
}

/* --- BURGER TOGGLE --- */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 3000;
}

.bar {
    width: 26px;
    height: 3px;
    background: var(--navy);
    margin: 5px 0;
    transition: 0.3s;
    display: block;
}

/* --- MOBILE STYLES (992px and down) --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px;
        gap: 15px;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    /* Mobile Dropdown Logic */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none; /* Controlled by JS */
        padding-left: 20px;
    }

    .dropdown-parent.active .dropdown {
        display: block;
    }

    /* Burger to X Animation */
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}



/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h4 {
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- ABOUT SECTION --- */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-box {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--gold);
    color: var(--white);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.experience-box .years {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.vm-box {
    background: var(--light-grey);
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--gold);
}

.vm-box h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.vm-box p {
    font-size: 0.9rem;
    color: #555;
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* --- STATS SECTION --- */
.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 5px;
}

/* --- CONTACT SECTION --- */
.contact-details {
    margin-top: 30px;
}

.c-item {
    display: flex;
    align-items: flex-start; /* Aligns icon with the top of the text */
    gap: 20px;               /* Space between icon and text */
    margin-bottom: 25px;
}

.c-item i {
    font-size: 1.2rem;
    color: var(--gold);
    width: 45px;             /* Fixed width ensures icons are vertically aligned */
    height: 45px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;     /* Centers actual icon inside the gold circle */
    justify-content: center;
    flex-shrink: 0;          /* Prevents the circle from squishing */
    margin-top: 5px;         /* Optional: adjust this to line up with the <h4> perfectly */
}

.c-item h4 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 1.1rem;
    line-height: 1.2;
}

.c-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: #fdfdfd;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.input-group {
    display: flex;
    gap: 20px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s, padding 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: #888;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .row {
        flex-direction: column;
    }

    .col-half {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
       display: block !important;
  
  z-index: 999999 !important;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 10px;
        border-top: 1px solid #eee;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }

    .dropdown-parent:hover .dropdown {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .input-group {
        flex-direction: column;
        gap: 0;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- SUB-PAGE HEADER (Shared) --- */
.page-header {
    height: 40vh;
    min-height: 300px;
    background: url('https://images.unsplash.com/photo-1493723843689-d966037b09c5?auto=format&fit=crop&w=1600&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.75);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.header-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- ABOUT PAGE STYLES --- */
.active-link {
    color: var(--gold) !important;
    font-weight: 700 !important;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.signature-box {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid var(--gold);
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Overlapping Images Layout */
.about-visuals {
    position: relative;
    height: 400px;
}

.img-main {
    width: 80%;
    height: auto;
    border-radius: 3px;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.img-small {
    width: 50%;
    height: auto;
    border-radius: 3px;
    border: 5px solid var(--white);
    position: absolute;
    bottom: 20px;
    left: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Vision Mission Wrapper */
.vm-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.vm-card:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-5px);
}

.vm-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.vm-content h3 {
    color: var(--navy);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Specialties Grid (Dark Section) */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.spec-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.spec-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.spec-item h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.spec-item p {
    color: #ccc;
    font-size: 0.9rem;
}

.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

/* Mobile Adjustment for About Images */
@media (max-width: 768px) {
    .about-visuals {
        height: auto;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .img-main,
    .img-small {
        position: static;
        width: 100%;
        border: none;
    }
}

/* --- SERVICES PAGE SPECIFIC STYLES --- */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-row.reverse-row {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.service-img:hover img {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-text {
    flex: 1;
}

.service-list {
    margin-top: 25px;
    list-style: none;
}

.service-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #555;
}

.service-list li i {
    color: var(--gold);
    margin-top: 5px;
    flex-shrink: 0;
}

.service-list li strong {
    color: var(--navy);
}

/* Responsive Styles for Services */
@media (max-width: 992px) {
    .service-row,
    .service-row.reverse-row {
        flex-direction: column;
        gap: 30px;
    }

    .service-img img {
        height: 300px;
        width: 100%;
    }

    .service-text {
        width: 100%;
    }
}

/* --- SERVICE DETAIL PAGE STYLES --- */
.service-detail-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.service-main-content {
    flex: 2;
}

.service-main-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
}

.service-sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--light-grey);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.service-links li {
    margin-bottom: 10px;
}

.service-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.service-links li.active a,
.service-links li a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.info-highlight-box {
    background: #fdfaf3;
    border: 1px solid #f1e6cc;
    padding: 40px;
    margin-top: 40px;
}

.custom-check-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.custom-check-list i {
    color: var(--gold);
    margin-top: 5px;
}

.sidebar-cta {
    background: var(--navy);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--gold);
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .service-detail-wrapper {
        flex-direction: column;
    }

    .service-sidebar {
        width: 100%;
        position: static;
    }
}

.contact-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    margin-top: 10px;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    border: 1px solid #ddd;
    background: #fff;
    transition: 0.3s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.btn-view-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-view-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-view-more:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-view-more:hover i {
    transform: translateX(5px);
}
