/* ========================================================================= */
/* 1. GLOBAL CANVAS & RESET */
/* ========================================================================= */
button, .button, .cta-button {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #56A0D3; /* Carolina Blue Background */
    color: #333;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================================================================= */
/* 2. MINIMALIST HEADER & NAV DRAWER (PRO FIX) */
/* ========================================================================= */
header {
    background-color: #1B1F29;
    color: white;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px; /* Locked height for the Pro Fix */
    box-sizing: border-box;
    z-index: 3002; /* Higher than the drawer to keep logo "on top" */
}
/* ========================================================================= */
/* 2.a Logo and Menu Trigger Group */
/* ========================================================================= */
.menu-trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: opacity 0.3s;
    position: relative;
    z-index: 3003; /* Ensures logo stays above drawer background */
}

.menu-trigger:hover { opacity: 0.8; }
.menu-trigger .logo { height: 45px; width: auto; }

.menu-text {
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 15px;
}

/* The Slide-out Drawer (Glassmorphism Version) */
.nav-drawer {
    position: fixed;
    top: 70px; /* Starts exactly where the header ends */
    left: -320px; 
    width: 300px;
    height: calc(100vh - 70px); /* Fills remaining screen height */
    
    /* Inherited Styles from .pillar-card */
    background: rgba(0, 0, 0, 0.65); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Border only on the right side */
    
    z-index: 3001; /* Just below the header */
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2); /* Shadow shifted to the right */
    box-sizing: border-box;
}

.nav-drawer.is-open {
    left: 0;
}

.nav-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nav-drawer ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-drawer ul li a:hover { color: #56A0D3; }

.close-nav {
    align-self: flex-end;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    line-height: 1;
}

/* Dropdown specific styles */
.dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* The crucial toggle rule */
.dropdown.active .dropdown-container {
    display: flex !important;
}

.dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    pointer-events: none; /* Ensures click goes to the link */
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

/* 1. Hide the container with higher specificity */
.nav-drawer ul li .dropdown-container {
    display: none !important; /* Force hide regardless of flex parent */
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
    flex-direction: column;
    gap: 15px;
}

/* 2. Show it only when the 'active' class is present */
.nav-drawer ul li.dropdown.active .dropdown-container {
    display: flex !important; 
}

/* ========================================================================= */
/* WORK WITH ME BUTTON & MODAL FORM                                          */
/* ========================================================================= */

/* 1. The Button itself (Keep your original color/style) */
header #work-with-me-btn.button, .cta-button {
    background-color: #E74C3C;
    color: white !important;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    transition: 0.3s;
    cursor: pointer;
}

header #work-with-me-btn.button:hover, .cta-button:hover {
    background-color: #c0392b; /* Slightly darker red on hover */
}

/* 2. The Form Layout (The "Professional" Fix) */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px; /* This creates the even spacing between boxes */
    padding: 20px 0;
}

/* 3. The Labels & Inputs (Forces them to stack neatly) */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns text to the left */
    gap: 8px; 
}

#contactForm label {
    font-weight: bold;
    color: #1B1F29;
    font-size: 0.9rem;
}

#contactForm input, 
#contactForm select, 
#contactForm textarea {
    width: 100%; /* Makes all boxes the same width */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box; /* Ensures padding doesn't break the width */
}

/* 4. Textarea fix (Stops it from overlapping) */
#contactForm textarea {
    resize: vertical; /* Only allow resizing up/down, not sideways */
    min-height: 100px;
}

/* ========================================================================= */
/* 3. HERO SECTION & MODULAR CARDS - UPDATED FOR 13" LAPTOPS                 */
/* ========================================================================= */
#hero {
    position: relative;
    min-height: 700px; 
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    padding: 100px 0;
}

.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#cloud_solutions {
    
    padding: 100px 20px;         /* Adds breathing room around the banner */
    width: 100%;
}


.hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.hero-container-smokey {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    
    /* Glassmorphism Effect */
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.hero-text h1, .hero-text h2 {
    font-size: clamp(2rem, 5vw, 4rem); 
    color: white;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

.service-into-text h1, .service-intro-text h2 {
    font-size: clamp(1rem, 4vw, 2.5rem); 
    color: white;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.344);
    margin-bottom: 20px;
}

.service-intro-text p {
    font-size: 1rem;
    color: white;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.344);
}

.hero-pillars {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; /* Added for 13" laptop pillar wrapping */
}

.pillar-card {
    background: rgba(86, 160, 211, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    border-radius: 18px;
    text-decoration: none;
    color: white;
    flex: 1;
    min-width: 250px; /* Added for 13" laptop alignment */
    max-width: 320px;
    transition: 0.3s ease;
}

.pillar-card:hover { transform: translateY(-10px); background: rgba(0, 0, 0, 0.8); border-color: #E74C3C; }

.cta-pillar {
    background: rgba(231, 76, 60, 0.65); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 30px 20px;
    border-radius: 18px;
    text-decoration: none;
    color: white;
    flex: 1;
    min-width: 250px; /* Added for 13" laptop alignment */
    max-width: 320px;
    transition: 0.3s ease;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.cta-pillar:hover {
    background: rgba(231, 76, 60, 0.85);
    transform: translateY(-5px);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

main section {
    width: 100%;
    padding: 0 20px; 
    margin-bottom: 80px; 
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

main section:last-of-type {
    margin-bottom: 40px;
}

section {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Section Cards */

.section-card { background-color: #ffffff; width: 100%; max-width: 1200px; padding: 60px 40px; border-radius: 30px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); text-align: center; box-sizing: border-box; }
.dark-card { background-color: #1B1F29 !important; color: white; border-top: 6px solid #E74C3C; }

.challenges-container, .tiles-container { 
    display: grid; 
    /* This creates 2 columns if there is space, otherwise it stacks */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 25px; 
    margin-top: 40px; 
    justify-content: center;
    align-items: stretch; /* Forces all cards in a row to be the same height */
}

.infographic-wrapper { width: 100%; display: flex; justify-content: center; margin-top: 30px; }
.home-infographic { width: 100%; height: auto; display: block; margin: 0; }

@media (max-width: 768px) {
    .infographic-wrapper {
        padding: 0 10px; 
    }
    
    .section-card h2 {
        font-size: 1.5rem; 
    }
}

.challenges-item, .tile { background: #f4f7f9; padding: 35px; border-radius: 15px; flex: 1; min-width: 280px; max-width: 380px; }

/* Modal */
.modal { display: none; position: fixed; z-index: 4000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); }
.modal-content { background-color: white; margin: 10vh auto; padding: 40px; border-radius: 20px; width: 90%; max-width: 500px; position: relative; color: #333; }
.close { position: absolute; right: 20px; top: 10px; font-size: 28px; cursor: pointer; color: #aaa; }

@media (max-width: 900px) {
    .hero-text h2 { font-size: 2.5rem; }
    .hero-pillars { flex-direction: column; align-items: center; }
    .pillar-card { width: 100%; max-width: 450px; }
}

/* ========================================================================= */
/* 3. PRICING PAGE STYLES - FIXED FOR 13" ALIGNMENT                          */
/* ========================================================================= */

/* 1. The Navy Island - Matches your Services layout exactly */
#plans {
    background-color: transparent; /* Carolina Blue shows around the box */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 2. Create the Navy Box around the Grid */
#plans .pricing-grid {
    background-color: #0f172a !important; 
    color: white;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;          /* Your squeeze padding */
    margin-top: 10px !important; /* Your squeeze margin */
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* 3. The Glass Tiles */
#plans .price-tile {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 25px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    color: white;
}

/* 4. Fix text colors for Dark Mode */
#plans .price-amount, 
#plans .price-amount span,
#plans .price-tile h3,
#plans .price-tile p {
    color: white !important;
}

#plans .price-features li {
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 5. Keep the checkmarks matching your Services theme */
#plans .price-features li::before {
    color: #56A0D3; /* Carolina Blue checkmarks */
}

/* 2. Standardize the Pricing */
/* 1. Add top padding to the section so it clears the sticky header */
#pricing-intro {
    padding-top: 60px !important; /* Adjust this: 70px for header + 50px gap */
    background-color: transparent; /* Ensures Carolina Blue shows around the card */
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 2. Ensure the intro card is properly distanced from the header */
#pricing-intro .section-card {
    margin-top: 0;
    /* Optional: If you want this intro to also be Navy/Dark, add that here */
    background-color: white; 
    color: 1B1F29; 
}

/* 3. Smooth out the typography for the intro */
#pricing-intro h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

#pricing-intro .intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1B1F29; /* Or white if you choose to go dark-card */
}

.pricing-header {
    grid-column: 1 / -1;          /* This keeps it from being a "tile" */
    color: #ffffff !important;    /* Clean white for the navy background */
    text-align: center;
    margin: 0 0 20px 0 !important; /* Space between title and tiles */
    padding: 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.pricing-grid {
    display: flex;
    justify-content: center; /* FIX: This centers the cards horizontally */
    align-items: stretch;
    gap: 30px;               /* Increased gap for a more premium feel */
    margin: 40px auto 0;     /* FIX: The 'auto' keeps the whole grid centered */
    width: 95%;              /* Allows some breathing room on the edges */
    max-width: 1200px;
    flex-wrap: wrap;         /* Essential for 13" laptop responsiveness */
}

.price-tile {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px 30px;
    
    /* FIX: Changed from 'width: 100%' to 'flex: 1' */
    flex: 1; 
    min-width: 300px;        /* Prevents cards from getting too skinny */
    max-width: 380px;        /* Limits growth on large monitors */
    
    display: flex;           /* Internal layout centering */
    flex-direction: column;
    align-items: center;     /* Centers the H3 and Price inside the card */
    text-align: center;
    
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .pricing-grid {
        gap: 15px;
    }
    .price-tile {
        min-width: 45%; 
    }
    .pricing-header {
        font-size: 1.6rem;
        grid-column: span 1; /* Match the single column stack */
    }
}

/* Hover Lift (No width changes) */
.price-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 25px rgba(231, 76, 60, 0.4); /* Subtle red glow */
    border-color: #E74C3C; /* Carolina CloudOps Red */
    background: rgba(231, 76, 60, 0.05) !important;
}

/* Featured (Middle) Card Polish */
.price-tile.featured {
    border: 2px solid #E74C3C;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 25px rgba(231, 76, 60, 0.4); /* Subtle red glow */
}

/* Brand Red "Most Popular" Badge */
.price-tile.featured::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E74C3C; /* Brand Red */
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

/* Typography Polish */
.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1B1F29;
    margin: 15px 0;
}

.price-amount span {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

/* Professional Red Checkmarks */
.price-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 auto 0;
    text-align: left;
    width: 100%;
}

.price-features li {
    padding: 12px 0 12px 25px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    position: relative;
    line-height: 1.4;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E74C3C; /* Red Checkmarks */
    font-weight: 900;
}

/* Ensure the button is always at the bottom */
.price-tile .cta-button {
    margin-top: 30px;
    width: 100%;
}

/* 1. The Section Container (Where the image lives) */
#project-based-services {
    width: 100%;
}

/* 2. The Banner (The Frosted Glass "Button") */
.project-consulting-banner {
    /* 1. Frosted Glass Base */
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* 2. Positioning & Spacing */
    width: 100%;
    max-width: 1200px;
    margin: 20px auto !important;
    padding: 40px 40px 60px 40px; /* Extra bottom padding for the button */
    
    /* 3. Layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hover: Lift the banner and brighten the border */
.project-consulting-banner:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(15, 23, 42, 0.7);
}

/* 4. Content Behavior: Dim slightly but keep visible */
.project-consulting-banner:hover > * {
    opacity: 0.7; /* Content stays visible but pushes to background */
    transition: opacity 0.3s ease;
}

/* 2. The CTA Button (Initially hidden below the banner) */
.banner-cta {
    position: absolute;
    bottom: -50px; /* Hidden below */
    left: 50%;
    transform: translateX(-50%);
    
    /* Matching your Red Button Style */
    background: #ff0000;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    
    /* Animation */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. Show the button on hover */
.project-consulting-banner:hover .banner-cta {
    opacity: 1;
    bottom: 20px;
}

/* Slide the button up into view on hover */
.project-consulting-banner:hover::after {
    opacity: 1;
    bottom: 20px; /* Slides up into the padded area */
}

/* Prject Left Content Alignment */
.project-left-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Matching the icon container to the Hero theme */
.pillar-icon {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* Ensure text stays readable against high transparency */
.project-text h3 {
    margin: 0;
    color: white; /* Light text for readability */
    font-size: 1.8rem;
    
}

.project-text p {
    margin: 5px 0 0 0;
    color: white; /* Light text for readability */
    font-size: 1rem;
}


.project-features {
    list-style: none;
    padding: 0;
    margin: 30px 0 auto 0; /* Pushes button to bottom */
    text-align: left;
}

.project-features li {
    color: white; /* light text for readability */
    padding: 10px 0;
    display: table;
    border-bottom: 1px solid #E74C3C;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.project-features li::before {
    content: "✓";
    color: #56A0D3;
    margin-right: 10px;
    font-weight: bold;
}

/* Secondary Button Look */
.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #E74C3C;
    color: #E74C3C !important;
}

.cta-button.secondary:hover {
    background-color: #E74C3C;
    color: white !important;
}

@media (max-width: 900px) {
    .pricing-grid { flex-direction: column; align-items: center; }
    .price-tile.featured { transform: scale(1); }
}

/* ========================================================================= */
/* ABOUT PAGE SPECIFIC                                                      */
/* ========================================================================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.about-text-content {
    flex: 2;
}

.about-photo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-pic {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 5px solid white;
}

/* Responsive adjustment for Mobile */
@media (max-width: 800px) {
    .about-container {
        flex-direction: column-reverse; /* Photo on top on mobile */
        text-align: center;
    }
    
    .profile-pic {
        max-width: 200px;
    }
}

/* ========================================================================= */
/* RESOURCES & CASE STUDIES GRID SYSTEM                                      */
/* ========================================================================= */

/* Main Grid Container */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 20px 0;
    justify-content: start; 
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Card Structure - Shared by both Case Studies and Articles */
.case-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 12px; 
    padding: 1.8rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Badge System */
.case-badge { 
    align-self: flex-start; /* Keeps badge from stretching */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    padding: 5px 14px;
    border-radius: 4px; 
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* ------------------------------------------------------------------------- */
/* 1. CASE STUDY SPECIFIC STYLE (Blue Theme)                                 */
/* ------------------------------------------------------------------------- */
.case-card.case-study:hover {
    transform: translateY(-8px); /* The 'Lift' */
    border-color: #7c3aed; 
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.2); 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.case-card.case-study .case-badge {
    background: #eef6ff;
    color: #007bff;
}

/* ------------------------------------------------------------------------- */
/* 2. ARTICLE SPECIFIC STYLE (Purple/Knowledge Theme)                        */
/* ------------------------------------------------------------------------- */
.case-card.article:hover {
    transform: translateY(-8px);
    background: rgba(0, 0, 0, 0.8) !important;
    border-color: #E74C3C;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.15);
}

.case-card.article .case-badge {
    filter: brightness(0.95);
    transition: 0.3s;
}

/* ------------------------------------------------------------------------- */
/* 3. HERO & TEXT STYLES (Specific to the Articles Page)                     */
/* ------------------------------------------------------------------------- */
#hero-small {
    position: relative;
    padding: 160px 20px 100px; 
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), 
                url('/images/articles_page_background.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.hero-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #cbd5e1;
}

/* Stats/Read-time Footer */
.case-stats {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f0f0;
    font-family: 'Courier New', Courier, monospace; 
    color: #28a745; 
    font-weight: bold;
}

/* Article Specific Layout */
#article-hero {
    position: relative;
    padding: 180px 20px 100px; /* Deep padding for a premium feel */
    background: url('/images/data_breach_2026.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    text-align: center;
    border-bottom: 4px solid #E74C3C; /* Matches your pillar-card hover border */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Updated Glassmorphism Container */
.article-hero-container.clear-overlay {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    
    /* Glassmorphism Recipe */
    background: rgba(255, 255, 255, 0.15); /* Light transparency */
    backdrop-filter: blur(12px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    
    border: 1px solid rgba(255, 255, 255, 0.2); /* Soft glass edge */
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Headline Styles */
.article-hero-container.clear-overlay h1 {
    color: #ffffff; /* White text for better contrast on glass */
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Keeps text sharp */
}

/* Metadata Styles */
.article-meta {
    color: rgba(255, 255, 255, 0.9); /* High-contrast off-white */
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    font-size: 1rem;
}

.article-meta .separator {
    color: rgba(255, 255, 255, 0.4);
}

.article-meta i {
    margin-right: 5px;
    color: #E74C3C; /* Using your accent red for icons to make them pop */
}
.badge-alert {
    background: #E74C3C; /* That Red from your hover tiles */
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.article-body-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 350px; /* Text on left, Sidebar on right */
    gap: 50px;
}

/* Container for the article text */
.article-content {
    line-height: 1.6; /* Perfectly balanced for technical reading */
    color: #334155;
}

/* Tighten the space between a Heading and the Paragraph below it */
.article-content h2, 
.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem; /* Small gap between heading and text */
    color: #0f172a;
}

/* Paragraph spacing */
.article-content p {
    margin-bottom: 1rem; /* Standard gap between paragraphs */
}

/* Styling the Bullet Points */
.article-list {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem; /* Indent the bullets */
}

.article-list li {
    margin-bottom: 0.5rem; /* Small gap between each bullet point */
    list-style-type: disc; /* Ensures a standard circular bullet */
}

.lead-text {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 500;
}

/* Sidebar Styling */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 120px;
}

.sidebar-card.dark {
    background: #0f172a;
    color: white;
    border: none;
}

/* Responsive for Mobile */
@media (max-width: 900px) {
    .article-body-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar-card { position: static; }
}

/* Styling the 3-Layer Defense Section */
.security-layers {
    margin: 40px 0;
    padding-left: 20px;
    border-left: 2px solid #e2e8f0; /* The vertical 'timeline' line */
}

.security-layers h3 {
    position: relative;
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 30px;
}

/* Intro section for the Defense Stack */
.defense-stack-intro {
    margin-top: 4rem; /* Significant gap to separate from previous sections */
    margin-bottom: 20px;
}

.defense-stack-intro h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 1rem;
    /* This matches the red accent line we used for your other main headings */
    border-left: 5px solid #E74C3C; 
    padding-left: 15px;
    line-height: 1.2;
}

.defense-stack-intro p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    max-width: 850px; /* Keeps the text from spanning too wide on big screens */
}

.defense-stack-intro strong {
    color: #0f172a;
    font-weight: 700;
}

/* The 'Dot' on the timeline for each layer */
.security-layers h3::before {
    content: '';
    position: absolute;
    left: -27px; /* Aligns exactly with the border-left */
    top: 8px;
    width: 12px;
    height: 12px;
    background: #E74C3C; /* Your red accent color */
    border-radius: 50%;
    border: 3px solid #ffffff; /* Gives it a 'hollow' look over the line */
}

.security-layers p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Highlighting the AWS Service names */
.security-layers strong {
    color: #1e293b;
    border-bottom: 1px solid #fed7d7; /* Soft red underline for tech terms */
}

.author-bio {
    margin-top: 50px;
    padding: 30px;
    background: #f8fafc; /* Light slate background to separate from article */
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.author-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* This makes it round */
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info h5 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.author-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.author-socials {
    margin-top: 10px;
}

.author-socials a {
    color: #64748b;
    margin-right: 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.author-socials a:hover {
    color: #E74C3C; /* Pulls in your red brand accent */
}

/* Mobile Responsive adjustment */
@media (max-width: 600px) {
    .author-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================================================= */
/* PRIVACY POLICY STYLES                                                    */
/* ========================================================================= */


/* Privacy Modal Specific Styling */
.privacy-content {
    max-width: 700px;
    max-height: 80vh; 
    overflow-y: auto; 
    text-align: left;
    padding: 40px;
}

.privacy-body h3 {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #333;
}

.privacy-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* ========================================================================= */
/* UPDATED FOOTER STYLES - FINAL PRODUCTION READY                           */
/* ========================================================================= */

footer {
    display: flex;
    flex-direction: column; /* FIXED: Keeps top area and bottom bar stacked vertically */
    background-color: #11141b;
    color: #ffffff;
    padding: 60px 0 0 0;
    width: 100vw !important; 
    margin-left: calc(-50vw + 50%); 
    margin-right: calc(-50vw + 50%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center; /* Centers the inner 1200px content */
}

.footer-container {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 40px 40px 40px;
    display: flex;
    flex-direction: row; /* FIXED: Logo, Links, and Socials stay horizontal */
    justify-content: space-between;
    align-items: stretch;
}

/* Branding Section */
.footer-brand {
    flex: 1; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin: 0;
}

/* Navigation Section - Middle Stretch */
.footer-nav {
    flex: 2; /* Gives middle section more room to spread the buttons */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    margin-left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly; 
    width: 100%;
    gap: 15px;
}

/* Specific styling for the "Quick Links:" text inside the nav */
.footer-links p {
    margin: 0;
    font-weight: 600;
    color: #56A0D3;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.footer-links a:hover {
    color: #ffffff;
    border-color: #56A0D3;
    background-color: rgba(86, 160, 211, 0.1);
    transform: translateY(-3px);
}

/* Social Section */
/* Social Section - ICON ONLY STYLE */
.footer-social {
    flex: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    margin-left: 40px;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    gap: 20px; /* Increased gap for better spacing between icons */
}

.footer-social p {
    margin: 0;
    font-weight: 600;
    color: #56A0D3;
    font-size: 0.9rem;
    margin-right: 10px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.5rem; /* Makes the icons larger and prominent */
    display: flex;
    align-items: center;
    padding: 0; /* Removed button padding */
    border: none; /* Removed button border */
    background: none; /* Removed button background */
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #56A0D3; /* Changes icon color to Carolina Blue on hover */
    transform: translateY(-3px); /* Subtle lift effect */
}

/* Optional: Individual Brand Colors on Hover */
.footer-social a:hover .fa-linkedin { color: #0077b5; }
.footer-social a:hover .fa-github { color: #ffffff; }
.footer-social a:hover .fa-facebook { color: #1877f2; }

/* Footer Bottom Bar */
.footer-bottom {
    width: 100%;
    align-self: stretch; /* Forces it to fill width of the screen */
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {    
    margin: 0;                /* Remove default margin */    
    color: rgba(255, 255, 255, 0.7); /* Text color */    
    font-size: 0.9rem;        /* Adjust font size as needed */    
    text-align: center;       /* Center the text */
    padding-right: 15px;
}


.legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #56A0D3;
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav, .footer-social {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        width: 100%;
    }

    .footer-links, .footer-social {
        justify-content: center;
    }
}

/* ========================================================================= */
/* SERVICES PAGE SPECIFIC STYLES - REFINED FOR GLASSMORPHISM                 */
/* ========================================================================= */
.services-page {
    position: relative;
    overflow: hidden;
    background-color: transparent; /* Allows Carolina Blue to show */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#services-intro .section-card {
    background-color: white !important; /* Navy is now inside the box */
    color: #0f172a;
    width: 90%;            /* This lets the Carolina Blue show on the sides */
    max-width: 1200px;     /* Keeps it sharp on your 13" laptop */
    margin: 0 auto;        /* Centers the navy box */
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

#cloud_solutions .section-card,
#bc_dr .section-card,
#cyber_security .section-card {
    background-color: whitesmoke !important; /* Navy is now inside the box */
    color: white;
    width: 90%;            /* This lets the Carolina Blue show on the sides */
    max-width: 1200px;     /* Keeps it sharp on your 13" laptop */
    margin: 0 auto;        /* Centers the navy box */
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* 3. Section Baselines - The "River" of Blue between sections */
#services-intro, #cloud_solutions, #bc_dr, #cyber_security {
    background-color: transparent; /* Changed from Navy to Transparent */
    padding: 40px 0;               /* Vertical blue space between boxes */
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;       /* Ensures the Navy Island stays centered */
}

#services-intro, #cloud_solutions, #bc_dr, #cyber_security {
    margin-bottom: 40px !important;
}

/* Tighten the intro section since it sits right above the first grid */
#services-intro {
    padding-top: 60px;
    padding-bottom: 10px;
}

/* 4. Glassmorphism Card Style */
.service-glass-card {
    background: #56A0D3; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
    z-index: 2; /* Sits above the blobs */
}

.service-glass-card:hover  { transform: translateY(-10px); background: rgba(0, 0, 0, 0.8); border-color: #E74C3C; }

.service-glass-card h3 {
    color: white !important;
    margin-bottom: 15px;
    font-size: 1.8rem !important;
}

.service-glass-card:hover h3 {
    color: white !important;
}

.service-glass-card p {
    color: white !important;
    line-height: 1.6;
    margin-top: 0;
}

.service-glass-card:hover p {
    color: white !important;
}

/* 5. Animated Background Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(86, 160, 211, 0.3) 0%, rgba(86, 160, 211, 0) 70%);
    filter: blur(100px);
    z-index: 1; /* Sits behind cards */
    pointer-events: none;
}
.blob-1 { top: 10%; left: -5%; }
.blob-2 { bottom: 20%; right: -5%; }

/* 6. CTA & Animations (Keeping your existing styles) */
#cta-bottom { text-align: center; padding: 80px 20px; }
#cta-bottom h3 { margin-bottom: 30px; font-size: 2.2rem; color: #ffffff; text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); padding-right: 20px; }
#cta-bottom .button {
    background: linear-gradient(135deg, #0085CA 0%, #003366 100%); 
    color: white !important;
    padding: 20px 40px;
    border-radius: 50px; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#cta-bottom .button:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 51, 102, 0.6); }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ========================================================================= */
/* FAQ ACCORDION STYLES                                                     */
/* ========================================================================= */
.faq-container {
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.faq-category-header {
    margin-top: 50px;
    margin-bottom: 20px;
    color: #1B1F29;
    border-bottom: 2px solid #56A0D3; /* Carolina Blue accent line */
    display: inline-block;
    padding-bottom: 5px;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1B1F29;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #56A0D3; 
}

.faq-item.active .faq-question {
    color: #56A0D3;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #4a5568;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px; 
    padding-bottom: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); 
}

/* Layout Fix for Homepage FAQ */
#faq-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.faq-home-header {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between; /* Keeps title left and link right, but on their own row */
    align-items: flex-end;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-footer {
    width: 100%;
    margin-top: 30px;
    text-align: center; /* Centers the link horizontally */
    border-top: 1px solid #eee; /* Optional: adds a nice separation line */
    padding-top: 20px;
}

.view-all-link {
    color: #56A0D3;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #E74C3C;
    transform: translateX(5px); /* Subtle nudge effect on hover */
}

/* Ensure the list takes up the full width of the card */
#faq-list {
    width: 100%;
    max-width: 900px; /* Keeps line length readable */
    text-align: left; /* Questions should be left-aligned for readability */
}

/* Fix for the lines in your screenshot */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

/* Mobile Responsive Tweak */
@media (max-width: 768px) {
    .faq-home-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
}

/* ========================================================================= */
/* 404 ERROR PAGE STYLES                                                    */
/* ========================================================================= */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #11141b;
    color: white;
    text-align: center;
}

.error-container h1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.error-container h2 {
    margin-top: -20px;
    margin-bottom: 20px;
}

/* ========================================================================= */
/* MASTER MOBILE RESPONSIVENESS (CLEANED)                                    */
/* ========================================================================= */
@media (max-width: 768px) {
    .section-card, 
    .project-consulting-banner,
    .challenges-container,
    .pricing-grid {
        width: 95%;
        margin: 20px auto; 
        padding: 20px;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .infographic-wrapper { padding: 0 10px; }
    .home-infographic { width: 100%; height: auto; }

    .project-left-content { flex-direction: column; gap: 15px; }
    .project-consulting-banner::after {
        position: relative; 
        bottom: 0;
        left: 0;
        transform: none;
        margin-top: 25px;
        opacity: 1 !important; 
        display: inline-block;
    }

    .project-consulting-banner:hover > * { opacity: 1 !important; }

    .price-tile { max-width: 100%; width: 100%; }
    .price-tile.featured { transform: scale(1); margin: 10px 0; }

    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.4rem !important; }
    .hero-text h2 { font-size: 2.2rem; }
}