:root {
    --primary-color: #40df0a;
    --secondary-color: #ffff00;
    --accent-color: #e74c3c;
    --dark-color: #ffffff;
    --light-color: #1a1a1a;
    --white: #000000;
    --gradient-primary: linear-gradient(135deg, #40df0a 0%, #90EE90 100%);
    --gradient-secondary: linear-gradient(135deg, #ffff00 0%, #90EE90 100%);
    --shadow-light: 0 5px 15px rgba(255,255,255,0.08);
    --shadow-medium: 0 10px 30px rgba(255,255,255,0.12);
    --shadow-heavy: 0 20px 60px rgba(255,255,255,0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility - Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Prevent content overflow beyond footer */
html, body {
    overflow-x: hidden;
}

/* Main content wrapper to prevent overflow */
.main-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Prevent all pages from scrolling beyond content */
body {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Ensure footer is the natural end of scrolling */
.footer {
    position: relative;
    z-index: 10;
}

/* Prevent any content after footer */
.footer::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 120px;
    width: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.contact-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 4px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-logo img {
    height: 80px;
    width: auto;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu-close span {
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu-close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.mobile-nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(64, 223, 10, 0.2);
    text-align: center;
    background: rgba(64, 223, 10, 0.05);
    border-radius: 6px;
    margin: 0.3rem 0;
}

.mobile-nav-link:active {
    background: rgba(64, 223, 10, 0.15);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/h01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Mobile and tablet specific hero background fixes */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 80vh;
        max-height: 80vh;
        overflow: hidden;
        padding-top: 80px; /* Add top padding for header */
    }
    
    .hero-content {
        padding-top: 2rem; /* Move content down */
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-top: 1rem; /* Add top margin */
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 70vh;
        padding-top: 70px; /* Add top padding for header */
    }
    
    .hero-content {
        padding-top: 1.5rem; /* Move content down */
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-top: 0.5rem; /* Add top margin */
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Very small screens - single column for services */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Responsive Display */
.hero h1 {
    opacity: 1;
    transform: none;
    transition: none;
    position: relative;
    z-index: 2;
}

.hero p {
    opacity: 1;
    transform: none;
    transition: none;
    position: relative;
    z-index: 1;
    background: none;
    padding: 0;
    border-radius: 0;
}

/* Hide P element on mobile phones (less than 768px) */
@media (max-width: 767px) {
    .hero p {
        display: none;
    }
}



.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Page Title Section */
.page-title {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/h02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 40vh;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-header {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-body {
    padding: 2rem;
}

.service-body p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: #ccc;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.learn-more:hover {
    gap: 1rem;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--gradient-secondary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: #000000;
    color: var(--dark-color);
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.about-feature-text h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-feature-text p {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
}

.about-visual {
    background: var(--gradient-secondary);
    height: 400px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: var(--white);
    border-radius: calc(var(--border-radius) - 10px);
}

.about-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.about-visual-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-visual-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.mission-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: #000000;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-visual {
    background: var(--gradient-primary);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.team-info p {
    color: #ccc;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

/* Ensure footer is the last element */
.footer::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section a {
    color: #666;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Prevent mobile overflow beyond footer */
    body {
        min-height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    .main-wrapper {
        min-height: auto;
    }
    
    /* Prevent sections from extending beyond viewport */
    section {
        max-height: none;
        overflow: visible;
    }
    
    /* Force stop scrolling at footer on mobile */
    .footer {
        position: relative;
        bottom: 0;
        margin-top: auto;
    }
    
    /* Mobile menu optimizations for phones */
    .mobile-menu-content {
        padding: 1rem;
    }
    
    .mobile-logo img {
        height: 60px;
    }
    
    .mobile-nav-link {
        font-size: 1.2rem;
        padding: 0.6rem 0.8rem;
        margin: 0.2rem 0;
    }
    
    .mobile-menu-header {
        margin-bottom: 1.5rem;
        padding: 0.8rem;
    }

    .logo img {
        height: 90px;
    }

    /* Mobile menu improvements */
    .mobile-menu-content {
        padding: 1.5rem;
    }

    .mobile-logo img {
        height: 70px;
    }

    .mobile-nav-link {
        font-size: 1.3rem;
        padding: 0.8rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-title {
        min-height: 50vh;
        padding: 6rem 0 3rem;
    }

    .page-title h1 {
        font-size: 2.5rem;
    }
}

/* Additional responsive breakpoints for better grid layouts */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* Specific responsive breakpoints for services page */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Force 1 column on all mobile devices */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* SEO and Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles for better document printing */
@media print {
    .header,
    .footer,
    .mobile-menu-overlay,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
    }
}

/* Company Story Section */
.company-story {
    padding: 6rem 0;
    background: var(--white);
}

.story-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    margin-bottom: 3rem;
}

.story-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vision-card,
.mission-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: left;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.vision-card h3,
.mission-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vision-card h3 i,
.mission-card h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.vision-card p,
.mission-card p {
    color: #ccc;
    line-height: 1.7;
    font-size: 1rem;
}

/* Directors Section */
.directors-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.director-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.director-visual {
    background: var(--gradient-primary);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    overflow: hidden;
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.director-info {
    padding: 2rem;
}

.director-info h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.director-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.director-qualifications {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.director-experience {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Company Story Section (About Page) */
.company-story-section {
    padding: 6rem 0;
    background: #000000;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-text p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Vision Mission Section (About Page) */
.vision-mission-section {
    padding: 6rem 0;
    background: var(--white);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vision-card,
.mission-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: left;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.vision-card h3,
.mission-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vision-card h3 i,
.mission-card h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.vision-card p,
.mission-card p {
    color: #ccc;
    line-height: 1.7;
    font-size: 1rem;
}

/* Team Section Updates */
.team-card .team-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.team-card .team-qualifications {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.team-card .team-experience {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-card .team-projects {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services Page Styles */
.services-overview {
    padding: 4rem 0;
    background: var(--light-color);
    text-align: center;
}

.services-overview .section-title p {
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.core-services {
    padding: 6rem 0;
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-header {
    background: var(--gradient-primary);
    padding: 2rem;
    color: var(--white);
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.service-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.service-body {
    padding: 2rem;
}

.service-body > p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-details h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.service-details li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-details li:last-child {
    border-bottom: none;
}

/* Specialized Services */
.specialized-services {
    padding: 6rem 0;
    background: var(--light-color);
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.specialized-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.specialized-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.specialized-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.specialized-card h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.specialized-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.specialized-details h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.specialized-details ul {
    list-style: none;
    padding: 0;
}

.specialized-details li {
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.specialized-details li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.specialized-details li:last-child {
    border-bottom: none;
}

/* Service Process */
.service-process {
    padding: 6rem 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Mobile optimization for service process */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-step {
        padding: 1rem;
    }
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Why Choose Services */
.why-choose-services {
    padding: 6rem 0;
    background: var(--light-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Mobile optimization for advantages grid */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantage-card {
        padding: 1rem;
    }
}

.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.advantage-card h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .vision-mission,
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .directors-grid {
        grid-template-columns: 1fr;
    }
    
    .specialized-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-card,
    .mission-card {
        padding: 2rem;
    }
    
    .director-info {
        padding: 1.5rem;
    }
    
    .specialized-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .service-header,
    .service-body {
        padding: 1.5rem;
    }
    
    .specialized-card {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 6rem 0;
    background: var(--white);
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.8rem;
    width: 50px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Floating Images */
.contact-hero-visual {
    position: relative;
    height: 500px;
}

.floating-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-image {
    position: absolute;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.floating-image.main-image {
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-image.overlay-image {
    width: 60%;
    height: 50%;
    top: 10%;
    right: 5%;
    z-index: 2;
    animation: float 6s ease-in-out infinite 2s;
}

.floating-image.background-image {
    width: 70%;
    height: 55%;
    bottom: 15%;
    left: 5%;
    z-index: 1;
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.floating-image:hover {
    transform: scale(1.05) rotate(2deg);
    z-index: 10;
}

/* Contact Methods */
.contact-methods {
    padding: 6rem 0;
    background: var(--light-color);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-method-card:hover::before {
    transform: scaleX(1);
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.contact-method-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-method-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-item .value {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Project Showcase */
.project-showcase {
    padding: 6rem 0;
    background: var(--white);
}

.project-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.9), rgba(46, 204, 113, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-type {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-value {
    font-size: 2rem;
    font-weight: 800;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.project-info p {
    color: #666;
    line-height: 1.6;
}

/* Team Contact */
.team-contact {
    padding: 6rem 0;
    background: var(--light-color);
}

.team-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.member-photo {
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member-card:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.8rem;
    border-radius: var(--border-radius);
    background: rgba(39, 174, 96, 0.1);
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
}

.contact-link i {
    font-size: 1.2rem;
}

/* Contact CTA */
.contact-cta {
    padding: 6rem 0;
    background: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-visual {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.8), rgba(46, 204, 113, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.overlay-content {
    text-align: center;
}

.overlay-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.overlay-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-hero-text h2 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        width: 40px;
    }
    
    .floating-image-container {
        height: 300px;
    }
    
    .floating-image.main-image {
        width: 90%;
        height: 70%;
    }
    
    .floating-image.overlay-image {
        width: 70%;
        height: 60%;
    }
    
    .floating-image.background-image {
        width: 80%;
        height: 65%;
    }
}

/* Responsive Design for Team Accordion */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .accordion-toggle {
        align-self: flex-end;
    }
    
    .accordion-content p {
        padding: 0 1.5rem 1.5rem;
    }
    
    .accordion-title h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .contact-method-card,
    .project-card,
    .team-member-card {
        padding: 1.5rem;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .floating-image-container {
        height: 250px;
    }
}

/* Team Accordion Section */
.team-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-medium);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
    background: var(--light-color);
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--white);
}

.accordion-title h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.accordion-title .team-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.accordion-title .team-qualifications {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: italic;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.accordion-toggle i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 2rem 2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.accordion-content .team-experience {
    color: var(--dark-color);
    font-weight: 500;
}

.accordion-content .team-projects {
    color: #666;
    font-size: 0.95rem;
}
