/* =========================================
   1. VARIABLES & GLOBAL SETTINGS
   ========================================= */
:root {
    --navy: #0f172a;
    --blue: #005b96;
    --white: #ffffff;
    --gray-light: #f1f5f9;
    --text-dark: #334155;
    --text-light: #64748b;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

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

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

/* Backgrounds & Spacing */
.bg-navy {
    background-color: var(--navy);
    color: var(--white);
}

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

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

.text-white {
    color: var(--white);
}

.section-standard {
    padding: 80px 0;
}

.section-small {
    padding: 40px 0;
}

.mb-large {
    margin-bottom: 60px;
}

.border-top {
    border-top: 1px solid #e2e8f0;
}

/* Typography */
.content-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.uppercase-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* =========================================
   2. DESKTOP GRID SYSTEM 
   ========================================= */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-5 {
    width: 41.66%;
    padding: 0 15px;
}

.col-6 {
    width: 50%;
    padding: 0 15px;
}

.col-7 {
    width: 58.33%;
    padding: 0 15px;
}

.align-center {
    align-items: center;
}

.h-100 {
    height: 100%;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-split {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #fff;
}

.hero-text-box h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 25px;
}

.blue-tag {
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.text-stroke {
    -webkit-text-stroke: 1px var(--navy);
    color: transparent;
    font-weight: 800;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 90%;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn-solid,
.btn-line {
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-block;
}

.btn-solid {
    background: var(--blue);
    color: white;
}

.btn-solid:hover {
    background: var(--navy);
}

.btn-line {
    border: 2px solid var(--navy);
    color: var(--navy);
}

.btn-line:hover {
    background: var(--navy);
    color: white;
}

.tech-frame {
    position: relative;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

.tech-corner {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: var(--blue);
    z-index: 2;
}

/* =========================================
   4. WHO WE ARE & CERTS
   ========================================= */
.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.blue-line {
    width: 60px;
    height: 4px;
    background: var(--blue);
    margin-bottom: 30px;
}

.side-note {
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.col-7 .content-text {
    margin-top: 10px;
}

.cert-section-title {
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    display: inline-block;
}

.cert-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
}

.cert-box {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px 10px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
}

.cert-box:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
}

.cert-box span {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.iso-stamp {
    width: 50px;
    height: 50px;
    border: 2px solid var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

.iso-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.iso-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stamp-green {
    border-color: #10b981;
}

.stamp-green .iso-label,
.stamp-green .iso-year {
    color: #10b981;
}

.stamp-blue {
    border-color: #3b82f6;
}

.stamp-blue .iso-label,
.stamp-blue .iso-year {
    color: #3b82f6;
}

/* =========================================
   5. WHY CHOOSE US
   ========================================= */
/* Fixes invisible text on Navy background */
.bg-navy .section-heading,
.section-heading.text-white {
    color: #ffffff !important;
}

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

.section-intro p {
    font-size: 1.1rem;
    color: #cbd5e1;
    padding-bottom: 20px;
}

.grid-4-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.clean-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 8px;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.clean-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--blue);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.clean-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.clean-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   6. INTERACTIVE EXPANDING PANELS
   ========================================= */
.expand-container {
    display: flex;
    width: 100%;
    height: 500px;
    gap: 12px;
}

.expand-panel {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px;
    color: #fff;
    cursor: pointer;
    flex: 1;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.1) 70%);
    z-index: 1;
    transition: 0.5s;
}

.expand-panel:hover {
    flex: 6;
}

.expand-panel:hover::before {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.panel-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.panel-icon {
    background: var(--blue);
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.panel-icon.bg-eco {
    background: #10b981;
}

.panel-info {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease 0.1s;
    white-space: nowrap;
    overflow: hidden;
}

.expand-panel:hover .panel-info {
    opacity: 1;
    transform: translateX(0);
}

.panel-info h3 {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.panel-info p {
    margin: 5px 0 10px 0;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.panel-link {
    color: #60a5fa;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-link i {
    margin-left: 5px;
}

/* =========================================
   7. LOGOS
   ========================================= */
.logo-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.logo-item img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(0.5);
    transition: 0.3s;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   8. MASTER MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    .hero-text-box h1 {
        font-size: 2.5rem;
    }

    .grid-4-clean {
        grid-template-columns: 1fr 1fr;
    }

    .expand-container {
        flex-direction: column;
        height: 800px;
    }

    .panel-info {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .section-standard {
        padding: 50px 0;
    }

    .mb-large {
        margin-bottom: 30px;
    }

    .col-5,
    .col-6,
    .col-7 {
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }

    .hero-split {
        flex-direction: column;
        height: auto;
        padding-top: 40px;
        text-align: center;
    }

    .hero-text-box {
        margin-bottom: 40px;
    }

    .hero-text-box h1 {
        font-size: 2.2rem;
    }

    .lead-text {
        margin: 0 auto 30px auto;
    }

    .btn-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-solid,
    .btn-line {
        width: 100%;
        display: block;
    }

    .grid-4-clean {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-grid-compact {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .expand-container {
        height: auto;
        gap: 15px;
    }

    .expand-panel {
        height: 120px;
        border-radius: 20px;
    }

    .expand-panel:hover {
        flex: none;
        height: 250px;
    }

    .logo-grid {
        gap: 30px;
    }

    .logo-item {
        flex-basis: 40%;
        display: flex;
        justify-content: center;
    }
}