/* ===== Hero Section ===== */
.hero.small-hero {
    background:
        linear-gradient(rgba(15, 32, 39, 0.82), rgba(32, 58, 67, 0.77)),
        url('../Img/hero.jpg') center/cover no-repeat;
    min-height: calc(30vh + 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
    color: #fff;
}

.hero.small-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero.small-hero p {
    font-size: 1.1rem;
    color: #eaf6fb;
}
/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #222;
    background: #f7f9fc;
    margin: 0;
    font-size: 1rem;
    padding-top: 120px;
}

/* Top Header Styles */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.99);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
    z-index: 100;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: nowrap;
    gap: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 0 0 auto;
}

.logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-right: 0;
    vertical-align: middle;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #005028;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #231F20;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.2s;
}

.nav-links a.active,
.nav-links a:hover {
    color: #D12027;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-links a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #D12027;
    font-weight: 600;
}

/* Auth & Action Buttons */
.navbar-actions {
    display: flex;
    gap: 1.3rem;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: 2.5rem;
}

.navbar-btn {
    border-radius: 9999px;
    padding: 0.6rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    outline: none;
    border: none;
    background: #005028;
    color: #fff;
    cursor: pointer;
    transition: background .2s, color .2s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: none;
}

.navbar-btn.enquire-btn,
.navbar-btn.login-btn,
.navbar-btn.signup-btn {
    background: #005028;
}

.navbar-btn.enquire-btn:hover,
.navbar-btn.login-btn:hover,
.navbar-btn.signup-btn:hover {
    background: #D12027;
}

.navbar-btn i {
    font-size: 1.1em;
}

@media (max-width: 960px) {
    .header-top-content {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }
    .logo img { height: 50px; }
    .logo span { font-size: 1.3rem; }
    .nav-links { gap: 1.5rem; }
    .navbar-btn { padding: 0.6rem 1.2rem; }
}
@media (max-width: 700px) {
    .header-top-content { flex-direction: column; gap: 1rem; }
    .logo img { height: 40px; }
    .nav-links { gap: 1rem; }
    .navbar-btn { padding: 0.6rem 0.7rem; font-size: 0.9rem; }
}

/* --- Dropdown Styles for ContactUs.php --- */
/* Dropdown parent */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.2rem 0;
    background: none;
    border: none;
}

/* The chevron icon */
.dropdown-toggle i {
    margin-left: 7px;
    font-size: 0.9rem;
    transition: transform 0.18s;
}

/* Show dropdown on hover or focus */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: flex;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 110%; /* Below the nav item */
    background: #fff;
    box-shadow: 0 8px 32px rgba(32, 58, 67, 0.13);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    min-width: 370px;
    z-index: 999;
    gap: 2rem;
    flex-direction: row;
    transition: box-shadow 0.22s;
}

/* Dropdown columns */
.dropdown-column {
    display: flex;
    flex-direction: column;
    min-width: 160px;
}

.dropdown-column h4 {
    font-size: 1rem;
    color: #005028;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.dropdown-column a {
    color: #231F20;
    text-decoration: none;
    font-size: 1.01rem;
    margin: 0.2rem 0;
    transition: color 0.16s;
    padding: 0.1rem 0;
}

.dropdown-column a:hover {
    color: #D12027;
}

/* ===== Hero Section ===== */
.hero {
    background-color: #065f46;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Content Section ===== */
.section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin: 2rem 0;
    padding: 2rem 1rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== Titles ===== */
h1, h2, h4, .section-title {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-left: 4px solid #229954;
    padding-left: 10px;
}

/* ===== Paragraphs ===== */
.section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* ===== Lists ===== */
.values-list,
.section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 1rem 0 2rem 1.5rem;
}

.values-list li,
.section ul li {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

/* ===== Emphasis Quotes (CEO, Director, etc.) ===== */
.section p strong {
    color: #0f5132;
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

/* ===== Leader Cards ===== */
.leaders-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.leader-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex: 1 1 230px;
    max-width: 260px;
    min-width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem;
    text-align: center;
    transition: box-shadow .2s;
    cursor: pointer;
}
.leader-card:hover {
    box-shadow: 0 4px 20px rgba(34,153,84,0.13);
}
.leader-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    object-position: center top;
}
.leader-name {
    font-weight: 600;
    font-size: 1.1rem;
}
.leader-role {
    color: #229954;
    margin-bottom: .7rem;
    font-size: 0.95rem;
}
.leader-bio {
    font-size: 0.98rem;
    margin-bottom: .5rem;
    opacity: 0.8;
    transition: max-height .3s, opacity .3s;
    max-height: 60px;
    overflow: hidden;
}
.leader-card.open .leader-bio {
    max-height: 500px;
    opacity: 1;
}
.leader-more {
    color: #1a6f3c;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: underline;
}

/* ===== Awards Section ===== */
.awards-section {
    background: #f9fbf7;
    border-radius: 10px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    max-width: 900px;
}
.awards-title {
    color: #229954;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-align: center;
}
.awards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}
.award-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    text-align: center;
    padding: .8rem .7rem 1rem .7rem;
    min-width: 150px;
    max-width: 400px;
    flex: 1 1 150px;
}
.award-card img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: .6rem;
}
.award-desc {
    font-size: .97rem;
    color: #222;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: #eaf6ee;
    border-radius: 10px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    max-width: 900px;
}
.testimonials-title {
    color: #229954;
    text-align: center;
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
}
.testimonials-carousel {
    position: relative;
    overflow: hidden;
}
.testimonials-track {
    display: flex;
    transition: transform 1.1s cubic-bezier(.5,.2,.2,1);
    will-change: transform;
}
.testimonials-group {
    min-width: 100%;
    display: flex;
    gap: 1.2rem;
    opacity: 0;
    transition: opacity .7s;
}
.testimonials-group.show {
    opacity: 1;
    animation: fadeIn .7s;
}
@keyframes fadeIn { 0% {opacity:0;} 100% {opacity:1;} }
.testimonial-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(34,153,84,0.11);
    padding: 1.3rem 1rem 1.1rem 1rem;
    flex: 1 1 0;
    min-width: 200px;
    max-width: 230px;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    position: relative;
}
.testimonial-quote-mark {
    font-size: 1.7rem;
    color: #229954;
}
.testimonial-text {
    font-size: 1rem;
    color: #222;
}
.testimonial-author-name {
    font-weight: 600;
}
.testimonial-author-location {
    color: #229954;
    font-size: 0.92rem;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: .7rem;
    margin-top: 1.3rem;
}
.testimonial-dots .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #d2e7d9;
    cursor: pointer;
    transition: background .2s;
}
.testimonial-dots .dot.active {
    background: #229954;
}

/* ===== Mobile responsiveness ===== */
@media (max-width: 900px) {
    .container, .awards-section, .testimonials-section {
        padding: 1rem .5rem;
        max-width: 100vw;
    }
    .modern-footer .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .leaders-section {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    .section, .awards-section, .testimonials-section {
        padding: 1rem .3rem;
    }
    h1 {
        font-size: 1.2rem;
    }
    h2, .section-title {
        font-size: 1.1rem;
    }
    .leader-card, .award-card, .testimonial-card {
        min-width: 90vw;
        max-width: 95vw;
    }
    .testimonial-card {
        padding: .8rem .3rem;
    }
    .testimonials-group {
        gap: .5rem;
    }
}

/* Collapsible for mobile paragraphs */
.collapsible {
    border: none;
    background: #f7f9fc;
    padding: .6rem;
    border-radius: 6px;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    color: #222;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
.collapsible-content {
    display: none;
    padding: .7rem 0;
    font-size: 0.98rem;
}
.collapsible.open + .collapsible-content {
    display: block;
}

/* ===== Footer Styles (do not change, keep as original) ===== */
.modern-footer {
    background: #F1F1F1;
    color: #231F20;
    text-align: center;
    padding: 2.5rem 0 1rem 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.1rem;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1rem;
}
.footer-col {
    text-align: center;
}
.footer-heading {
    font-weight: bold;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 0.5rem;
}
.footer-social a {
    color: #231F20;
    font-size: 1.5rem;
    transition: color 0.18s, transform 0.18s;
}
.footer-social a:hover {
    color: #D12027;
    transform: scale(1.18);
}
.footer-bottom {
    color: #58595B;
    font-size: 1rem;
    margin-top: 1.2rem;
    text-align: center;
}

/* --- Hamburger Styles --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
    margin-right: 12px;
}
.hamburger .bar {
    height: 4px;
    width: 28px;
    margin: 4px auto;
    background: #231F20;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}
.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hide nav, show hamburger on screens smaller than a tablet --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 80px; /* below header */
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 32px rgba(32, 58, 67, 0.13);
        z-index: 1100;
        transform: translateY(-120%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        opacity: 0;
        pointer-events: none;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        padding: 2.5rem 0 2rem 0;
        min-height: 50vh;
        max-height: 90vh;
        overflow-y: auto;
    }
    .main-nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.8rem;
        width: 100%;
        align-items: center;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: none;
        border-radius: 0;
        padding: 0.6rem 0;
        min-width: unset;
        width: 100%;
        gap: 1.4rem;
    }
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: flex;
    }
    @media (max-width: 768px) {
  .top-header {
    position: static !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }
  body {
    padding-top: 0 !important; /* Remove extra space added for fixed header */
  }
}
}

@media (max-width: 700px) {
    .header-top-content {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .main-nav {
        top: 65px;
    }
    .logo img { height: 100px; width: 100px;}
    .logo span { font-size: 1.5rem; }
    .navbar-btn { padding: 0.1rem 1rem; font-size: 0.85rem; }
}

/* Ensure nav is visible on desktop/tablet and hamburger hidden */
@media (min-width: 769px) {
    .main-nav {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        padding: 0 !important;
        min-height: unset !important;
        max-height: unset !important;
        overflow-y: visible !important;
        display: flex !important;
    }
    .hamburger {
        display: none !important;
    }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; justify-content: center; margin-top: 1.5rem; gap: 1rem; }
}
@media (min-width: 769px) {
  .desktop-only { display: flex !important; }
  .mobile-only { display: none !important; }
}