:root {
    --primary: #004d40;
    --primary-light: #00695c;
    --primary-dark: #00332c;
    --accent: #f5f0e2;
    --text: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 77, 64, 0.05);
    z-index: 1000;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
    padding: 0.6rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 77, 64, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Menu Toggle Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--primary);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hamburger Animation when Active handled by JS or CSS sibling selector */

/* Watermark Background */
.watermark {
    position: fixed;
    top: 50%;
    right: -250px;
    width: 800px;
    height: 800px;
    background-image: url('../assets/images/squre_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
    transform: translateY(-50%);
    animation: spin 60s linear infinite;
}

@keyframes spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 95px;
    width: auto;
    max-width: 100%;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active:after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-nav {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-nav:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-cta-mobile {
    display: none;
    width: 100%;
    margin-top: 1rem;
}

.nav-cta-mobile .btn-nav {
    display: block;
    text-align: center;
    width: 100%;
}

.hero {
    padding-top: 100px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #00695c, #004d40);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.05;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.8rem);
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content .tagline {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.25rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: #fff;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-4px);
}

.glass-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card i {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.glass-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.glass-card h4 {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.glass-card p {
    color: white;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
    line-height: 1.3;
}

.services {
    padding: 10rem 2rem;
    background: var(--bg-light);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 6rem;
}

.services-header h2 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.services-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.bento-item {
    background: var(--white);
    border-radius: 32px;
    padding: clamp(2rem, 5vw, 4rem);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    word-wrap: break-word;
    height: 100%;
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 77, 64, 0.1);
    border-color: var(--primary);
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 77, 64, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.bento-item:hover .bento-icon {
    background: var(--primary);
    color: white;
}

.bento-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.bento-wide .bento-icon {
    margin-bottom: 0;
}

.bento-item h3 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.bento-item .intro {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.bento-item ul {
    list-style: none;
    margin-bottom: 3rem;
}

.bento-item li {
    padding: 0.8rem 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.bento-item li i {
    color: var(--primary);
    font-size: 1rem;
}

.highlight-box {
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: 24px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.highlight-box:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.highlight-box strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.highlight-box p {
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0.95;
}

.about {
    padding: 10rem 2rem;
    background: var(--white);
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stat-cards {
    display: grid;
    gap: 2.5rem;
}

.stat-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    transform: scale(1.02);
}

.stat-card h3 {
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact {
    padding: 10rem 2rem;
    background: var(--primary-dark);
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.contact-info p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 4rem;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    gap: 2.5rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.detail-item i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.detail-item p {
    margin-bottom: 0;
    font-size: 1rem;
    opacity: 0.7;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    padding-left: 1.2rem;
    min-height: 160px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.form-group input:focus + i {
    color: var(--accent);
}

.submit-btn {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    padding: 1.4rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.submit-btn:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

footer {
    padding: 4rem 2rem;
    background: #002620;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-grid, .about-container, .contact-grid { gap: 3rem; }
    .glass-cards { gap: 1.5rem; }
}

@media (max-width: 1024px) {
    nav { padding: 0.8rem 1.5rem; }
    nav.scrolled { padding: 0.5rem 1.5rem; }
    
    .nav-actions .btn-nav { display: none; }
    .nav-cta-mobile { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        padding: 2rem;
    }

    .nav-links.active { right: 0; }
    .nav-links a { 
        font-size: 1.2rem; 
        color: var(--text); 
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }
    .nav-links a.active {
        color: var(--primary);
        background: rgba(0, 77, 64, 0.05);
        border-radius: 8px;
    }
    .nav-links a.active:after { display: none; }
    .menu-toggle { display: flex; }

    .hero-container { padding: 5rem 1.5rem; }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content .tagline { margin-left: auto; margin-right: auto; font-size: 1.2rem; }

    .hero-cta { justify-content: center; }
    
    .glass-cards { 
        max-width: 600px; 
        margin: 0 auto; 
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .bento-grid { grid-template-columns: 1fr; gap: 2rem; }
    .bento-wide { grid-column: auto; flex-direction: column; text-align: left; align-items: flex-start; gap: 1.5rem; }
    .bento-item { padding: 3rem 2rem; }
    .bento-item li { align-items: flex-start; }
    .bento-item li i { margin-top: 5px; }
    
    .nav-links.active ~ .nav-actions .menu-toggle .hamburger {
        background: transparent;
    }
    
    .nav-links.active ~ .nav-actions .menu-toggle .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-links.active ~ .nav-actions .menu-toggle .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .about { padding: 6rem 1.5rem; }
    .services { padding: 6rem 1.5rem; }
    .contact { padding: 6rem 1.5rem; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-info { text-align: center; }
    .contact-details { justify-content: center; }
    .detail-item { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .hero-content .tagline { font-size: 1.1rem; margin-bottom: 2.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 2.5rem 1.5rem; }
    .services-header { margin-bottom: 3rem; }
    .btn { width: 100%; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 400px; margin: 0 auto; }
    
    .bento-item { padding: 2.5rem 1.5rem; }
    .bento-item h3 { font-size: 1.8rem; }
    .highlight-box { padding: 2rem 1.5rem; }
    
    .stat-card { padding: 2rem; }
    .stat-card h3 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .logo-img { height: 65px; }
    .glass-cards { grid-template-columns: 1fr; width: 100%; }
    .glass-card { padding: 1.5rem; }
    .stat-card h3 { font-size: 2.2rem; }
    .nav-links { width: 100%; max-width: none; }
    .watermark { width: 300px; height: 300px; right: -100px; }
    .bento-item h3 { font-size: 1.6rem; }
    .bento-item { padding: 2rem 1.2rem; }
    .highlight-box { padding: 1.5rem; }
}