/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica, sans-serif, Arial;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

/* Main Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    position: relative;
}

.nav-brand img {
    height: 50px;
    width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-size: 18px;
    font-family: Helvetica, sans-serif, Arial;
    align-items: center;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: rgba(75, 172, 36, 0.1);
    color: #4BAC24;
    border-left-color: #4BAC24;
}

.dropdown-menu a::after {
    display: none;
}

/* Navigation Link Styles */
.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

/* Underline effect for regular nav links and dropdown toggles */
.nav-menu a::after,
.dropdown-toggle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4BAC24;
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.dropdown-toggle:hover {
    color: #4BAC24;
}

.nav-menu a:hover::after,
.dropdown-toggle:hover::after {
    width: 100%;
}

/* Active Navigation Link */
.nav-menu a.active,
.dropdown-toggle.active {
    color: #4BAC24;
    font-weight: 600;
}

.nav-menu a.active::after,
.dropdown-toggle.active::after {
    width: 100%;
}

/* Partners */
.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 6rem 4rem;
    background-color: #d2f8c3;
    
}

.partners img {
    max-width: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partners img:hover {
    transform: scale(1.05);
}

/* Contact Links */
.nav-contact {
    display: flex;
    text-transform: none;
    gap: 1rem;
}

.nav-contact2 {
    text-decoration: none;
    border: 2px solid #4BAC24;
    padding: 0.5rem 1rem;   
    color: #4BAC24;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-contact2:hover {
    color: #fff;
    background-color: #4BAC24;
}

/* Secondary Navigation */
.nav2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 20px;
    background-color: #4BAC24;
    color: white;
    font-size: 18px;
    font-weight: 300;
}

.nav-contact3 {
    display: flex;
    gap: 1rem;
}

.nav-contact4 {
    text-decoration: none;
    border: 2px solid #fff;
    padding: 0.5rem 1rem;   
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-contact4:hover {
    background-color: #fff;
    color: #4BAC24;
}

/* Utility Classes */
.desktop-only {
    display: flex;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('/images/hero-image.png') center/cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: 600px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    margin-bottom: 10vh;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
    line-height: 1;
    font-weight: 550;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.about-text a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4BAC24;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.about-text a:hover {
    background-color: #3d8b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 172, 36, 0.3);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Service Text Styling */
.abt-text2 h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', serif;
    line-height: 1.2;
    font-weight: 400;
}

.abt-text2 p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.abt-text2 a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4BAC24;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.abt-text2 a:hover {
    background-color: #3d8b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 172, 36, 0.3);
}

/* Home Description Section */
.nav-about {
    padding: 70px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.nav-about h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-family: 'Times New Roman', serif;
}

.nav-about p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
    line-height: 1.8;
}

/* Divider Sections */
.divider {
    min-height: 150px;
    display: flex;
    background-color: #2c3e50;
    align-items: center;
    justify-content: space-around;
    padding: 2rem 1rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.divider-text {
    text-align: center;
    flex: 1;
    max-width: 600px;
}

.divider p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.divider-hover:hover {
    background-color: #3F8AC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63, 138, 196, 0.3);
}

.second {
    margin: 50px 0 0 0;
}

/* Video Section */
.div-video {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
}

.div-video iframe {
    width: 90%;
    height: 500px;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Background Colors */
.abt-bg-blue {
    background-color: #C9DEE2;
}

.abt-bg-green {
    background-color: #a3f583;
}

/* Facilities Section */
.facilities {
    padding: 4rem 0;
    background: #f8f9fa;
}

.facilities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.facility-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-image img:hover {
    transform: scale(1.02);
}

.facility-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.facility-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.facility-features {
    display: grid;
    gap: 2rem;
}

.feature h4 {
    color: #4BAC24;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.feature p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Staff Section */
.staff {
    padding: 1rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.staff-member {
    text-align: center;
    padding: 2rem;
    background: #e4eff1;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.staff-member img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.staff-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.staff-member p {
    color: #4BAC24;
    font-style: italic;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #4BAC24, #3d8b1f);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #4BAC24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4BAC24;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4BAC24;
    border: 1px solid rgba(75, 172, 36, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: #4BAC24;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #4BAC24;
    color: white;
}

.btn-primary:hover {
    background: #3d8b1f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #4BAC24;
    border: 2px solid #4BAC24;
}

.btn-secondary:hover {
    background: #4BAC24;
    color: white;
}

/* RESPONSIVE DESIGN */

/* Large Desktop */
@media (max-width: 1400px) {
    .nav-about {
        padding: 60px 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .nav {
        padding: 1rem 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-about {
        padding: 50px 30px;
    }
    
    .nav-about h1 {
        font-size: 2.2rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .nav-contact {
        gap: 0.5rem;
    }
    
    .nav-contact2 {
        padding: 0.4rem 0.8rem;
        font-size: 13px;
    }
    
    .nav2 {
        flex-direction: column;
        gap: 1rem;
        padding: 20px;
        text-align: center;
    }
    
    .nav2 p {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .about-content,
    .facilities-content {
        gap: 2rem;
    }
    
    .divider {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .div-video iframe {
        height: 400px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet Portrait - Mobile Navigation */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .desktop-only {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.3s ease;
        z-index: 1000;
        font-size: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    
    /* Mobile navigation links */
    .nav-menu a,
    .dropdown-toggle {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown {
        width: 80%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(75, 172, 36, 0.1);
        backdrop-filter: none;
        border-radius: 5px;
        margin: 1rem 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: all 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        max-height: 200px;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu a {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        border-left: none;
        text-align: center;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(75, 172, 36, 0.2);
    }
    
    /* Adjust hero section */
    .hero {
        min-height: 70vh;
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    /* Single column layouts */
    .about-content,
    .facilities-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text,
    .facility-text {
        order: 2;
    }
    
    .about-image,
    .facility-image {
        order: 1;
    }
    
    /* Adjust text sizes */
    .about-text h2,
    .abt-text2 h2,
    .facility-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    /* Navigation about section */
    .nav-about {
        padding: 40px 20px;
    }
    
    .nav-about h1 {
        font-size: 1.8rem;
    }
    
    .nav-about p {
        font-size: 1.1rem;
    }
    
    /* Video responsive */
    .div-video {
        padding: 2rem 1rem;
    }
    
    .div-video iframe {
        width: 95%;
        height: 300px;
    }
    
    /* Staff grid */
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .staff-member {
        padding: 1.5rem;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .nav2 {
        padding: 15px;
    }
    
    .nav2 p {
        font-size: 14px;
    }
    
    .nav-contact4 {
        padding: 0.4rem 0.8rem;
        font-size: 12px;
    }
    
    .hero {
        min-height: 60vh;
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about,
    .facilities,
    .staff {
        padding: 2rem 0;
    }
    
    .nav-about {
        padding: 30px 15px;
    }
    
    .nav-about h1 {
        font-size: 1.6rem;
    }
    
    .nav-about p {
        font-size: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .nav {
        padding: 0.8rem 10px;
    }
    
    .nav-brand img {
        height: 40px;
    }
    
    .nav2 {
        padding: 10px;
    }
    
    .nav-contact3 {
        flex-direction: flex;
        gap: 0.5rem;
    }
    
    .hero {
        min-height: 50vh;
        height: 50vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .about-text h2,
    .abt-text2 h2 {
        font-size: 1.4rem;
    }
    
    .about-text p,
    .abt-text2 p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .facility-text h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .nav-about h1 {
        font-size: 1.4rem;
    }
    
    .nav-about p {
        font-size: 0.95rem;
    }
    
    .div-video iframe {
        height: 250px;
    }
    
    .divider {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }
    
    .divider p {
        font-size: 1rem;
    }
    
    .staff-member {
        padding: 1rem;
    }
    
    .staff-member img {
        width: 120px;
        height: 120px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .nav-about h1 {
        font-size: 1.2rem;
    }
    
    .about-text h2,
    .abt-text2 h2 {
        font-size: 1.2rem;
    }
    
    .facility-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .div-video iframe {
        height: 200px;
    }
}

/* High Resolution Displays */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .nav-about h1 {
        font-size: 3rem;
    }
    
    .nav-about p {
        font-size: 1.4rem;
    }
}