/* Solutions.html */

/* ==========================================================================
   1. GLOBAL SYSTEM ARCHITECTURE & VARIABLES
   ========================================================================== */
:root {
    --bg-main: #060911;
    --bg-card: #0b0f19;
    --bg-nav: rgba(11, 15, 25, 0.75);
    
    --color-primary: #38bdf8;       /* Tech Cyber Blue */
    --color-primary-glow: rgba(56, 189, 248, 0.15);
    --color-text-main: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-dark: #64748b;
    
    --gradient-title: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
    --gradient-accent: linear-gradient(90deg, #0072ff 0%, #00d2ff 100%);
    
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--color-text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ==========================================================================
   2. STICKY GLASSMORPHIC NAVIGATION HEADER
   ========================================================================== */
.main-header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.25rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--color-primary);
}

.navigation-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.navigation-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.navigation-links a:hover, 
.navigation-links a.active {
    color: #ffffff;
}

.contact-nav-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    color: #ffffff !important;
}

.contact-nav-btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-glow);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

/* ==========================================================================
   3. ENTERPRISE PREMIUM HERO MATRIX
   ========================================================================== */
.solutions-hero {
    position: relative;
    padding: 11rem 0 6rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 114, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.04) 0%, transparent 50%);
}

.hero-flex {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.location-badge {
    display: inline-block;
    color: var(--color-primary);
    background: var(--color-primary-glow);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.solutions-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solutions-hero p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

/* Button UI Components */


.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(56, 189, 248, 0.15));
    animation: floatingOrb 6s ease-in-out infinite;
}

@keyframes floatingOrb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================================================
   4. INTRO SECTIONS & HEADINGS
   ========================================================================== */
.solutions-wrapper {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-sub {
    max-width: 850px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   5. FUNCTIONAL PRODUCT SECTION BOXES (GRID ALIGNMENT)
   ========================================================================== */
.solution-box {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

/* Flips orientation smoothly for alternative cards */
.solution-box.reverse .solution-grid {
    grid-template-columns: 0.85fr 1.15fr;
}
.solution-box.reverse .solution-left {
    grid-column: 2;
}
.solution-box.reverse .solution-right {
    grid-column: 1;
    grid-row: 1;
}

.title-gradient {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-gradient i {
    color: var(--color-primary);
    font-size: 1.7rem;
}

.solution-left p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.solution-left h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

/* Micro Bullet Matrix Structure */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    list-style: none;
    margin-bottom: 2.5rem;
}

.features li {
    font-size: 0.95rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features li i {
    color: var(--color-primary);
    font-size: 0.9rem;
    width: 16px;
}

/* Browser Display Wrapper Engine */
.solution-images {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.solution-img-box {
    margin-bottom: 1.5rem;
}
.solution-img-box:last-child {
    margin-bottom: 0;
}

.solution-img-box h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.solution-img-box img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
}

/* ==========================================================================
   6. WHY CHOOSE US VALUE MATRIX
   ========================================================================== */
.solutions-benefits {
    background: #0b0f19;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.benefits-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.benefits-title i {
    color: #f59e0b; /* Amber Gold Star */
}

.benefits-sub {
    max-width: 750px;
    margin: 0 auto 4rem auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-main);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   7. CLOSING MACRO CONVERSION ZONE (CTA)
   ========================================================================== */
.solutions-contact {
    padding: 7rem 0;
    text-align: center;
    position: relative;
}

.solutions-contact h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}

.solutions-contact p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   8. COMPACT ADAPTIVE RESPONSIVENESS MATRIX (`css/responsive.css` alternative)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .solution-grid, 
    .solution-box.reverse .solution-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .solution-box.reverse .solution-left {
        grid-column: 1;
    }
    .solution-box.reverse .solution-right {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .navigation-links {
        display: none; /* Add responsive mobile hamburger menu trigger logic here if needed */
    }
    .container {
        padding: 0 1.5rem;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   EVERGAIN SOLUTIONS - RESPONSIVE STYLESHEET FOR SOLUTIONS PAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESKTOPS & SMALL LAPTOPS (Max-Width: 1200px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-flex {
        gap: 2.5rem;
    }

    .solution-grid, 
    .solution-box.reverse .solution-grid {
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }
}

/* --------------------------------------------------------------------------
   2. TABLETS & SMALL MONITORS (Max-Width: 992px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
    /* Header & Navigation */
    .main-header-nav {
        padding: 1rem 0;
    }

    .navigation-links {
        gap: 1.5rem;
    }

    .navigation-links a {
        font-size: 0.88rem;
    }

    /* Hero Matrix Adjustments */
    .solutions-hero {
        padding: 9rem 0 4rem 0;
    }

    .hero-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 550px;
        margin: 0 auto;
    }

    /* Functional Solution Grid Flipping & Stacking */
    .solution-grid, 
    .solution-box.reverse .solution-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .solution-box.reverse .solution-left {
        grid-column: auto;
    }

    .solution-box.reverse .solution-right {
        grid-column: auto;
        grid-row: auto;
    }

    .title-gradient {
        font-size: 1.75rem;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   3. PORTRAIT TABLETS & LARGE MOBILE (Max-Width: 768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    /* Section Padding Adjustments */
    .solutions-hero {
        padding: 8rem 0 3.5rem 0;
    }

    .solutions-wrapper,
    .solution-box,
    .solutions-benefits,
    .solutions-contact {
        padding: 4rem 0;
    }

    /* Navigation Links Hide for Mobile Menu Toggle */
    .navigation-links {
        display: none; /* Hide standard links to accommodate mobile drawer */
    }

    .solutions-hero p,
    .section-sub,
    .solution-left p,
    .benefits-sub,
    .solutions-contact p {
        font-size: 0.98rem;
    }

    /* Buttons Stacking */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons a,
    .hero-buttons button {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    /* Features Grid to Single Column */
    .features {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    /* Benefits Grid Stack */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 1.75rem;
    }

    /* Closing CTA Heading Scaling */
    .solutions-contact h2 {
        font-size: 1.85rem;
    }
}

/* --------------------------------------------------------------------------
   4. SMALL MOBILE PHONES (Max-Width: 480px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .location-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.9rem;
    }

    .solutions-hero h1 {
        font-size: 2rem;
    }

    .title-gradient {
        font-size: 1.45rem;
        flex-wrap: wrap;
    }

    .title-gradient i {
        font-size: 1.3rem;
    }

    .solution-images {
        padding: 1rem;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }

    .section-title,
    .benefits-title {
        font-size: 1.65rem;
    }
}