/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2c5530;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo span {
    color: #666;
    font-size: 0.8rem;
    font-weight: 400;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2c5530;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-toggle-btn {
    background: transparent;
    border: 2px solid #2c5530;
    color: #2c5530;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    justify-content: center;
}

.lang-toggle-btn:hover {
    background: #2c5530;
    color: white;
    transform: scale(1.05);
}

.lang-toggle-btn i {
    font-size: 12px;
}

/* Chinese Font Support */
body[lang="zh"] {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

body[lang="zh"] h1,
body[lang="zh"] h2,
body[lang="zh"] h3,
body[lang="zh"] h4,
body[lang="zh"] h5,
body[lang="zh"] h6 {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), 
                url('hero_background.jpeg') center/cover no-repeat;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e8f5e8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1a5d1a;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: #4a7c59;
    font-weight: 500;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn.primary {
    background: #2c5530;
    color: white;
}

.btn.primary:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: #2c5530;
    border-color: #2c5530;
}

.btn.secondary:hover {
    background: #2c5530;
    color: white;
    transform: translateY(-2px);
}

.btn.tertiary {
    background: transparent;
    color: #1a5d1a;
    border: 2px solid #4a7c59;
}

.btn.tertiary:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
}



/* Environmental Impact Section */
.impact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.impact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a5d1a;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.impact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #22c55e;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.impact-icon i {
    font-size: 2rem;
    color: white;
}

.impact-card h3 {
    font-size: 1.5rem;
    color: #1a5d1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.impact-metric {
    text-align: center;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 10px;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #22c55e;
}

.metric-unit {
    font-size: 0.9rem;
    color: #4a7c59;
    font-weight: 500;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a5d1a;
    margin-bottom: 3rem;
    font-weight: 700;
}

.news-card.featured-news {
    background: linear-gradient(135deg, #1a5d1a 0%, #22c55e 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(26, 93, 26, 0.15);
    position: relative;
    overflow: hidden;
}

.news-card.featured-news::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: newsGlow 6s ease-in-out infinite;
}

.news-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.news-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.news-highlights {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-date {
    color: #a8d5ba;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

@keyframes newsGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a5d1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #4a7c59;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #22c55e;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1a5d1a;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.service-features li {
    color: #4a7c59;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Technology Section */
.technology-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.technology-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a5d1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.tech-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #22c55e;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tech-icon i {
    font-size: 2rem;
    color: white;
}

.tech-card h3 {
    font-size: 1.5rem;
    color: #1a5d1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* Projects Section */
.projects {
    padding: 80px 0;
    background: white;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a5d1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-card.featured {
    grid-column: span 2;
    border: 2px solid #22c55e;
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
}

.project-placeholder.biomass {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('images/projects/lara-biomass-complex.jpeg') center/cover no-repeat;
}

.project-placeholder.tidal {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('images/projects/treasure-bowl-tidal.jpeg') center/cover no-repeat;
}

.project-placeholder.yarra {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('images/projects/yarra-geelong-water.jpeg') center/cover no-repeat;
}

.project-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-type {
    background: rgba(255, 255, 255, 0.9);
    color: #1a5d1a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.8rem;
    color: #1a5d1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.project-benefits {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0fdf4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #1a5d1a;
    font-weight: 500;
}

.benefit i {
    color: #22c55e;
}

.project-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: #f8fffe;
    padding: 1rem;
    border-radius: 10px;
    flex: 1;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
}

.stat-label {
    font-size: 0.9rem;
    color: #4a7c59;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1a5d1a;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-intro {
    color: #4a7c59;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.mission, .vision {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #22c55e;
}

.mission h4, .vision h4 {
    color: #1a5d1a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission p, .vision p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #4a7c59;
    margin-top: 0.5rem;
    font-weight: 500;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 3rem;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    color: #2c5530;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2c5530;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: #f8fffe;
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
}

.form-group:first-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Footer */
.footer {
    background: #2c5530;
    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 {
    margin-bottom: 1rem;
    color: #a8d5ba;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a7c59;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

/* Enhanced Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 10px;
    }
    
    .lang-toggle-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 50px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        text-align: center;
        padding: 120px 20px 50px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        margin: 0 auto 2rem auto;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-stats .stat-item {
        padding: 0.8rem 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-card {
        padding: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-stats {
        gap: 1rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-group:first-child,
    .form-group:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 40px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-stats .stat-item {
        padding: 0.7rem 1rem;
        min-width: 120px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    
    .news-card.featured-news {
        padding: 2rem 1.5rem;
    }
    
    .news-content h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .news-highlights {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .highlight {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-features {
        margin-top: 1rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .impact-card {
        padding: 1.5rem;
    }
    
    .impact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .impact-icon i {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
    
    .project-benefits {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .stat {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .mission, .vision {
        padding: 1.2rem;
    }
    
    .mission h4, .vision h4 {
        font-size: 1.1rem;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-item .stat-number {
        font-size: 1.8rem;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 90px 10px 30px;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    
    .service-card,
    .tech-card,
    .impact-card {
        padding: 1.2rem;
    }
    
    .news-card.featured-news {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 14px 24px;
    }
    
    .service-card,
    .tech-card,
    .impact-card,
    .project-card {
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .service-card.touch-active,
    .tech-card.touch-active,
    .impact-card.touch-active,
    .project-card.touch-active {
        transform: scale(0.98);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .nav-menu a {
        padding: 12px 16px;
        display: block;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .social-links a {
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve tap targets */
    .hero-buttons .btn {
        min-width: 120px;
        min-height: 48px;
    }
    
    /* Better touch feedback */
    .nav-menu a:active {
        background-color: rgba(44, 85, 48, 0.1);
    }
}

/* Touch-active state for all devices */
.touch-active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Improved mobile navigation */
.nav-menu {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.nav-menu.active {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
}

/* Better mobile scrolling */
html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    -webkit-overflow-scrolling: touch;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure all content fits within viewport */
    .hero,
    .services,
    .technology,
    .impact,
    .projects,
    .about,
    .contact {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 20px 30px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
}
