/* Global Design System - GERNOTICS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --accent: #005eb8; /* Corporate Blue */
    --accent-dark: #004a91;
    --accent-light: #e6f0f9;
    --border: #e5e7eb;
    
    /* Spacing */
    --section-padding: 6rem;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* UI Elements */
    --radius: 6px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 2rem; position: relative; padding-bottom: 0.75rem; }
h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding) 0;
}

.bg-light {
    background-color: var(--bg-secondary);
}

/* Header & Branding */
header.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background-color: var(--accent);
    color: white;
    padding: 10px 2rem;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.full-company-name {
    text-transform: uppercase;
    display: block;
}

.tagline-bar {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 8px 2rem;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid var(--border);
}

.tagline-bar .tagline {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
    text-transform: none;
    letter-spacing: 0.02em;
}

main {
    padding-top: 180px; /* Account for fixed header */
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.branding {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Main Navigation */
.main-nav {
    height: 100%;
    margin-left: auto;
    margin-right: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 0;
    height: 100%;
    flex-wrap: nowrap;
}

/* Top Level Items */
.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    display: none;
}

.nav-link:hover, 
.nav-item:hover .nav-link {
    color: var(--accent);
}



/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background-color: white;
    border: 1px solid var(--border);
    border-top: none;
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1001;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-link:hover {
    color: var(--accent);
    background-color: var(--accent-light);
    padding-left: 1.75rem;
}

/* Mobile Toggle */
.header-actions {
    margin-left: 1rem;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .top-bar-content {
        flex-direction: row;
        text-align: center;
    }

    .top-bar {
        padding: 10px 1rem;
        font-size: 0.75rem;
    }

    .tagline-bar {
        padding: 8px 1rem;
    }

    .tagline-bar .tagline {
        font-size: 0.8125rem;
    }

    main {
        padding-top: 165px; /* Adjust for mobile header height */
    }

    .header-inner {
        height: 85px;
        max-width: 100%;
    }

    .main-nav {
        position: fixed;
        top: 165px;
        left: 0;
        width: 100%;
        background-color: white;
        height: calc(100vh - 165px);
        overflow-y: auto;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        box-shadow: var(--shadow-md);
        margin-left: 0;
        margin-right: 0;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav > ul {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }

    .nav-item {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        height: 50px;
        width: 100%;
        padding: 0 1rem;
        justify-content: space-between;
        border-bottom: 1px solid var(--border);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Tablet Media Query */
@media (max-width: 1024px) {
    .nav-link {
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }

    .header-actions {
        margin-left: 0.5rem;
    }

    .top-bar {
        padding: 10px 1rem;
        font-size: 12px;
    }
}

/* Small Screens */
@media (max-width: 640px) {
    .top-bar {
        padding: 8px 1rem;
        font-size: 11px;
    }

    .branding {
        gap: 8px;
    }

    .logo-img {
        height: 50px;
    }

    .company-name {
        font-size: 1.125rem;
    }
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 75% 40%, #f1f5f9 0%, #ffffff 100%);
    padding: 10rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    z-index: 10;
    position: relative;
}

.hero-content h2 {
    font-size: 5rem; /* Even more dominant */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}

.hero-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 5;
}

/* Sophisticated Pedestal Glow */
.hero-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 94, 184, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* Floating Animation */
@keyframes heroFloat {
    0% { transform: perspective(1200px) rotateY(-10deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-12deg) translateY(-25px); }
    100% { transform: perspective(1200px) rotateY(-10deg) translateY(0); }
}

.hero-image img {
    width: 140%; /* Maximized visual scale */
    max-width: none;
    height: auto;
    object-fit: contain;
    /* Multi-layered shadow for realism */
    filter: 
        drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05))
        drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1))
        drop-shadow(0 60px 100px rgba(0, 0, 0, 0.08));
    transform: perspective(1200px) rotateY(-10deg);
    animation: heroFloat 8s ease-in-out infinite;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.hero-image:hover img {
    transform: perspective(1200px) rotateY(0deg) scale(1.05) translateY(-10px);
    filter: 
        drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08))
        drop-shadow(0 45px 90px rgba(0, 0, 0, 0.12))
        drop-shadow(0 80px 120px rgba(0, 0, 0, 0.1));
    animation-play-state: paused;
}

/* Responsive Hero Enhancements */
@media (max-width: 1400px) {
    .hero-image img {
        width: 120%;
    }
}

@media (max-width: 1200px) {
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .hero-image img {
        width: 110%;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 8rem 0;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 6rem;
        text-align: center;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        max-width: 500px;
        transform: none;
        animation: none;
    }
    
    .hero-image:hover img {
        transform: translateY(-20px) scale(1.05);
    }
}

@media (max-width: 640px) {
    .hero-content h2 {
        font-size: 3.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn:active {
    transform: scale(0.98);
}

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

.btn-primary:hover {
    background-color: var(--accent-dark);
    box-shadow: 0 4px 12px rgba(0, 94, 184, 0.15);
}

.btn-secondary {
    background-color: white;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
}

.btn-small {
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.875rem;
}

/* Cards & Grid */
/* Product Grid & Cards */
.power-generation-section {
    padding: 3rem 0 6rem;
    min-height: calc(100vh - 85px);
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
}

.power-generation-section .container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section-headline {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.power-generation-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Base Product Card Style */
.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: var(--accent);
}

/* Link inside product card (if any) */
.product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.product-img {
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    padding: 1rem;
    display: block;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
}

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

.product-info, .product-content {
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
}

.product-title, .product-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.product-card::after {
    content: "View Details →";
    display: block;
    padding: 0 1.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .power-generation-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-img {
        height: 320px;
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .power-generation-section {
        padding: 2rem 0 4rem;
    }
    
    .power-generation-section .grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .section-headline {
        font-size: 1.5rem;
    }

    .product-img {
        height: 280px;
        padding: 1.5rem;
    }

    .product-info, .product-content {
        padding: 1.25rem 1.5rem;
    }

    .product-title, .product-content h3 {
        font-size: 1.125rem;
    }

    .product-card::after {
        opacity: 1;
        transform: none;
        padding: 0 1.5rem 1.25rem;
    }
}


.specs-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.specs-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
}

.specs-list li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 12px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info h3 { margin-top: 2rem; }
.contact-info p { color: var(--text-secondary); }

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 3rem;
}

.site-footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.875rem;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 1rem 0;
}

.slider-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.slider-track > * {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .slider-track > * {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .slider-track > * {
        flex: 0 0 calc(33.333% - 1.35rem);
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: -22px;
    right: -22px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
    pointer-events: auto;
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius);
    position: relative;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-secondary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--border);
}

.modal-body {
    padding: 3rem;
}

.modal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin-bottom: 0.5rem;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.modal-specs table {
    width: 100%;
    border-collapse: collapse;
}

.modal-specs th, .modal-specs td {
    text-align: left;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.modal-specs th {
    font-weight: 600;
    color: var(--text-primary);
    width: 160px;
}

/* About Us Section */
.about-us-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    margin-top: 0;
}

.about-us-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1.25rem;
}

.about-us-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

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

.about-us-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    animation: fadeInUp 0.8s ease-out;
}

.about-us-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-us-text p:last-child {
    margin-bottom: 0;
}

.about-us-philosophy {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(230, 240, 249, 0.5) 100%);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 3.5rem 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    box-shadow: inset 0 1px 2px rgba(0, 94, 184, 0.1);
    position: relative;
    overflow: hidden;
}

.about-us-philosophy::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 94, 184, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: slideBackground 20s linear infinite;
    pointer-events: none;
}

.philosophy-content {
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.philosophy-logo {
    height: 260px;
    width: 95%;
    max-width: 350px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 94, 184, 0.15));
    margin: 0 auto 1.5rem auto;
}

.philosophy-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.philosophy-highlight:first-child {
    margin-bottom: 1.5rem;
}

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

@keyframes slideBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* Responsive About Us */
@media (max-width: 1024px) {
    .about-us-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-us-heading {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .about-us-philosophy {
        padding: 3rem 2.5rem;
    }

    .philosophy-highlight {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 4rem 0;
    }

    .about-us-heading {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .about-us-heading::after {
        width: 60px;
    }

    .about-us-content {
        gap: 2.5rem;
    }

    .about-us-text p {
        font-size: 0.95rem;
        text-align: left;
    }

    .about-us-philosophy {
        padding: 2rem;
    }

    .philosophy-logo {
        height: 220px;
        width: 90%;
        max-width: 320px;
    }

    .philosophy-highlight {
        font-size: 1rem;
    }

    .philosophy-highlight:first-child {
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .about-us-section {
        padding: 3rem 0;
    }

    .about-us-heading {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-us-text p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .about-us-philosophy {
        padding: 1.75rem;
    }

    .philosophy-logo {
        height: 200px;
        width: 85%;
        max-width: 280px;
    }

    .philosophy-highlight {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Contact Us Section */
.contact-us-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

.contact-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.contact-info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.contact-info-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
}

.contact-info-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.contact-info-block {
    margin-bottom: 2rem;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.contact-divider {
    height: 1px;
    background-color: var(--border);
    margin: 2rem 0;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.detail-item {
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.detail-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.business-hours {
    margin-top: 1.5rem;
}

.contact-form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-form-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.contact-form-card h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 0 2rem;
}

.contact-map-section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.contact-map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.map-container iframe {
    display: block;
}

.contact-presence-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(230, 240, 249, 0.5) 100%);
    border: 1px solid var(--accent);
    border-radius: 12px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.contact-presence-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.presence-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.8;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.6s ease-out;
}

.floating-call {
    background-color: var(--accent);
    color: white;
}

.floating-call:hover {
    background-color: var(--accent-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 94, 184, 0.3);
}

.floating-whatsapp {
    background-color: #25D366;
    color: white;
}

.floating-whatsapp:hover {
    background-color: #1FA85C;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.floating-icon {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Contact Page */
@media (max-width: 1024px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-us-section {
        padding: 4rem 0;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-title::after {
        width: 60px;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }

    .contact-info-header h2,
    .contact-form-card h2 {
        font-size: 1.5rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px !important;
    }

    .floating-actions {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .contact-us-section {
        padding: 3rem 0;
    }

    .contact-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .contact-header {
        margin-bottom: 2.5rem;
    }

    .contact-content-grid {
        margin-bottom: 2.5rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-info-header,
    .contact-form-card h2 {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-info-block {
        margin-bottom: 1.5rem;
    }

    .contact-label,
    .detail-label {
        font-size: 0.8rem;
    }

    .contact-value {
        font-size: 0.95rem;
    }

    .contact-details {
        gap: 1rem;
    }

    .detail-item {
        padding: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
    }

    .contact-map-section h2 {
        font-size: 1.3rem;
    }

    .map-container iframe {
        height: 250px !important;
    }

    .contact-presence-section {
        padding: 2rem 1.5rem;
    }

    .presence-text {
        font-size: 1rem;
    }

    .floating-actions {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-image { order: -1; text-align: center; }
}

@media (max-width: 768px) {
    :root { --section-padding: 4rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

.site-footer {
    background-color: var(--bg-secondary);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.back-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.back-button:hover {
    background-color: var(--accent-dark);
    transform: translateX(-4px);
}

/* ========================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ======================================== */

/* Extra Small Devices (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --section-padding: 2rem;
    }

    body {
        font-size: 14px;
        line-height: 1.5;
    }

    .container {
        padding: 0 1rem;
    }

    main {
        padding-top: 140px;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        margin-bottom: 1rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-small {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Header optimizations */
    .top-bar {
        padding: 8px 0.5rem;
        font-size: 10px;
    }

    .header-inner {
        height: 70px;
        padding: 0 1rem;
    }

    .branding {
        gap: 6px;
    }

    .logo-img {
        height: 45px;
    }

    .company-name {
        font-size: 1rem;
    }

    .main-nav {
        margin-right: 1rem;
    }

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

    .tagline-bar {
        padding: 6px 1rem;
        font-size: 10px;
    }

    /* Product cards */
    .product-card {
        padding: 0;
    }

    .product-img {
        height: 220px;
        padding: 1rem;
    }

    .product-img img {
        padding: 0.75rem;
    }

    .product-info, .product-content {
        padding: 1rem 1rem;
    }

    .product-title {
        font-size: 1rem;
        font-weight: 700;
        margin: 0 0 0.5rem 0;
    }

    .product-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .specs-list {
        margin-bottom: 1rem;
    }

    .specs-list li {
        font-size: 0.9rem;
        padding: 0.35rem 0;
    }

    .product-card::after {
        opacity: 0;
        transform: translateY(10px);
        padding: 0 1rem 0.75rem;
    }

    /* Section spacing */
    section {
        padding: 2rem 0;
    }

    .power-generation-section .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Footer */
    .site-footer {
        padding: 2rem 1rem;
    }

    /* Hero section */
    .hero-container {
        gap: 1.5rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px;
    }

    /* Ensure touch targets are at least 44x44px */
    button,
    a.btn,
    input[type="checkbox"],
    input[type="radio"] {
        min-height: 44px;
        min-width: 44px;
    }

    /* Better spacing for links */
    a {
        padding: 0.5rem 0;
    }
}

/* Small Devices (481px - 768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }

    body {
        font-size: 15px;
    }

    main {
        padding-top: 155px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Header */
    .top-bar {
        padding: 8px 1rem;
    }

    .header-inner {
        height: 80px;
        padding: 0 1.5rem;
    }

    .logo-img {
        height: 55px;
    }

    .company-name {
        font-size: 1.25rem;
    }

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

    .tagline-bar {
        padding: 7px 1.5rem;
    }

    /* Layout improvements */
    .power-generation-section .grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-img {
        height: 250px;
        padding: 1.25rem;
    }

    .product-info, .product-content {
        padding: 1.25rem;
    }

    .product-title {
        font-size: 1.05rem;
    }

    .product-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .specs-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    .product-card::after {
        opacity: 0;
        padding: 0 1.25rem 1rem;
    }

    section {
        padding: 3rem 0;
    }

    /* Hero container */
    .hero-container {
        gap: 2.5rem;
    }

    /* Forms */
    .form-container {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Medium Devices (769px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem;
    }

    main {
        padding-top: 160px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 2rem;
    }

    .header-inner {
        height: 90px;
    }

    .nav-link {
        padding: 0 0.9rem;
        font-size: 0.9rem;
    }

    .power-generation-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .product-img {
        height: 300px;
        padding: 1.5rem;
    }

    .product-info, .product-content {
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.125rem;
    }

    .product-content p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .product-card::after {
        opacity: 0;
        padding: 0 1.5rem 1.25rem;
    }

    .hero-container {
        gap: 3rem;
    }

    .form-container {
        padding: 2.5rem;
        max-width: 700px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Large Devices and Up (1025px+) */
@media (min-width: 1025px) {
    .power-generation-section .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .product-img {
        height: 320px;
        padding: 0.5rem;
    }

    .product-info, .product-content {
        padding: 1.25rem 1.5rem;
    }

    .product-title {
        font-size: 1.125rem;
    }

    .product-card::after {
        opacity: 0;
        transform: translateY(10px);
        padding: 0 1.75rem 1.5rem;
    }

    .product-card:hover::after {
        opacity: 1;
        transform: translateY(0);
    }

    .hero-container {
        gap: 4rem;
    }
}

/* ========================================
   TOUCH-FRIENDLY IMPROVEMENTS
   ======================================== */

/* Increase touch target sizes on mobile */
@media (hover: none) and (pointer: coarse) {
    button,
    a.btn,
    .nav-link,
    .product-card,
    input[type="checkbox"],
    input[type="radio"] {
        min-height: 48px;
        padding: 12px;
    }

    .btn {
        padding: 12px 20px;
    }

    /* Better spacing for navigation */
    .nav-item {
        padding: 8px 0;
    }

    /* Disable hover effects that don't work on touch */
    .product-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .back-button:hover {
        transform: none;
    }
}

/* ========================================
   TEXT READABILITY ON MOBILE
   ======================================== */

@media (max-width: 480px) {
    /* Prevent font scaling issues */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    /* Better line spacing for readability */
    body {
        line-height: 1.6;
    }

    p {
        margin-bottom: 1.25rem;
    }

    /* Better contrast for links */
    a {
        color: var(--accent);
        text-decoration: underline;
    }

    /* Ensure lists are readable */
    ul, ol {
        margin-left: 1.5rem;
        margin-bottom: 1.25rem;
    }

    li {
        margin-bottom: 0.5rem;
    }
}

/* ========================================
   IMAGE OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .product-img img {
        max-width: 100%;
        max-height: 100%;
    }

    /* Prevent images from exceeding container */
    picture, figure {
        max-width: 100%;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION FIXES
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    main {
        padding-top: 120px;
    }

    section {
        padding: 2rem 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-inner {
        height: 70px;
    }
}

/* ========================================
   CONSOLIDATED PRODUCT GRID RESPONSIVE RULES
   ======================================== */

/* Mobile First - Extra Small Devices (320px - 480px) */
@media (max-width: 480px) {
    .power-generation-section .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Small Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .power-generation-section .grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

/* Medium Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .power-generation-section .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Large Devices (1025px+) */
@media (min-width: 1025px) {
    .power-generation-section .grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    header,
    footer,
    .mobile-toggle,
    .header-actions {
        display: none;
    }

    main {
        padding-top: 0;
    }

    body {
        background: white;
    }
}

