@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;700&display=swap');

/* Base defaults */
:root {
    --dm-font: 'DM Serif Display', serif;
    --inter-font: 'Inter', sans-serif;

    /* Dark Theme Colors */
    --primary-dark: #050A30;
    --secondary-dark: #000C66;
    --accent-blue: #0000FF;
    --hover-bg: #1e265c;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --gradient-active: linear-gradient(90deg, #2E3192 0%, #1BFFFF 100%);
}

/* DM Serif Display - 48px */
.text-dm-48 {
    font-family: var(--dm-font);
    font-size: 48px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 0;
}

/* DM Serif Display - 96px */
.dm96 {
    font-family: var(--dm-font);
    font-size: 96px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 0;
}

/* DM Serif Display - 16px */
.text-dm-16 {
    font-family: var(--dm-font);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0;
}

/* Inter Bold - 48px */
.text-inter-48-bold {
    font-family: var(--inter-font);
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Inter - 24px (regular) */
.text-inter-24 {
    font-family: var(--inter-font);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Inter - 16px (regular) */
.text-inter-16 {
    font-family: var(--inter-font);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-gray);
}

/* Optional utility: preserve appropriate font smoothing on webkit */
.text-inter-24,
.text-inter-16,
.text-inter-48-bold {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--inter-font), sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #020617;
    /* Very dark blue/black background */
    color: var(--text-white);
}

/* NAVBAR STYLING */
header {
    background-color: var(--text-white);
    color: var(--primary-dark);
    padding: 0 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

/* NAVIGATION LINKS */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
}

.nav-menu>li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: #4facfe;
}

/* DROPDOWN LOGIC (Simple Dropdown for Resources) */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-dark);
    min-width: 200px;
    top: 100%;
    left: 0;
    list-style: none;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.dropdown-content li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-white);
    font-weight: 400;
    font-size: 15px;
}

.dropdown-content li a:hover {
    background-color: var(--hover-bg);
    color: #4facfe;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* MEGA DROPDOWN STYLING */
.has-mega-menu {
    position: static;
}

.mega-dropdown-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(5, 10, 48, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 999;
    padding: 20px 0;
    /* Reduced from 40px */
}

.mega-dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.mega-menu-container {
    width: 100%;
    max-width: 1300px;
    /* Increased to prevent 'thin' boxes */
    margin: 0 auto;
    padding: 0 20px;
}

/* GRIDS */
.mega-grid-solutions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 15px;
}

.mega-grid-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
    /* Reduced gap */
}

.mega-grid-industries {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

/* CAROUSEL WRAPPER */
.nav-carousel-wrapper {
    position: relative;
    width: 100%;
    /* Ensure arrows fit */
    padding: 0 40px;
}

.nav-carousel-track {
    display: flex;
    overflow: hidden;
    /* Hide other slides */
    width: 100%;
}

.nav-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    transition: transform 0.4s ease-in-out;
    display: none;
    /* Default hide */
}

.nav-carousel-slide.active {
    display: block;
}

/* NAVIGATION ARROWS */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    transition: color 0.3s;
}

.nav-arrow:hover {
    color: #4facfe;
}

.nav-prev {
    left: 0;
}

.nav-next {
    right: 0;
}

/* NAVIGATION DOTS */
.nav-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.nav-dot.active {
    background: #4facfe;
}


/* CARD STYLING */
.nav-card {
    display: flex;
    align-items: center;
    /* Centered instead of flex-start to look more compact */
    gap: 10px;
    padding: 8px 12px;
    /* Minimal padding */
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
}

.nav-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-card-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-card-content h4 {
    font-family: var(--inter-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.nav-card-content p {
    font-family: var(--inter-font);
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin: 0;
}

/* UNIFORM SERVICE CARDS */
.service-card {
    padding: 15px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 90px;
    /* Reduced from 120px */
    min-height: 90px;
    background: rgba(255, 255, 255, 0.03);
}

.service-card .nav-card-icon {
    width: 24px;
    /* Reduced from 32px */
    height: 24px;
}

.service-card .nav-card-content h4 {
    font-size: 0.95rem;
    /* Reduced from 1rem */
    margin-bottom: 0;
    line-height: 1.3;
    text-align: center;
}

.mega-grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 15px;
}

/* ELONGATED INDUSTRY CARDS (No Gap, Vertical Dividers) */
.mega-grid-industries {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    /* Ensure container has background */
}

.industry-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    /* Elongated height */
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    height: 100%;
    min-height: 400px;
    /* Force height */
}

.industry-card:last-child {
    border-right: none;
}

.industry-card:hover {
    background: var(--hover-bg);
    transform: none;
    /* Disable lift on hover for this layout if desired, or keep it subtle */
    box-shadow: none;
}

.industry-icon-large {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.industry-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.industry-card:hover .industry-icon-large {
    transform: scale(1.1);
}

.industry-title {
    font-family: var(--inter-font);
    font-weight: 600;
    color: var(--text-white);
    font-size: 1.2rem;
}

/* Footer Link (Solutions) */
.mega-footer-link {
    display: none;
    /* Hidden as user requested arrows instead */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CAROUSEL SECTION */
.carousel-section {
    width: 100%;
    /* Max width 1600px, centered */
    max-width: 1600px;
    height: 800px;
    /* Fixed height for large screens */
    margin: 80px auto 0;
    /* Centered with top margin for navbar */
    position: relative;
    overflow: hidden;
    display: block;
    background-color: #020617;
}

/* Responsive adjustment: on smaller screens, let height be auto or smaller */
@media (max-width: 1600px) {
    .carousel-section {
        height: 50vw;
        /* Maintain aspect ratio roughly */
        min-height: 500px;
        /* Minimum height */
    }
}

.carousel-container {
    height: 100%;
    width: 100%;
    position: relative;
}

/* Vertical Indicators */
.carousel-indicators {
    position: absolute;
    right: 30px;
    /* Moved to right for cleaner look */
    top: 40%;
    left: auto;
    /* Reset left */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 6px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Slides Container */
.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    /* Ensure content centering works */
    align-items: center;
    justify-content: center;
    inset: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Full Background Image */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Placeholder Background */
.placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a237e 0%, #050A30 70%);
    z-index: -2;
}

/* Dark Overlay for Readability */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.6);
    /* Semi-transparent dark blue/black */
    z-index: -1;
}

/* Centered Content */
.slide-content.centered {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-80px);
}

/* Slide Typography */
.slide h2 {
    font-size: 3.5rem;
    color: var(--text-white);
    font-family: var(--dm-font);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide p {
    font-size: 1.25rem;
    color: #e0e0e0;
    /* Light gray for better contrast */
    font-family: var(--inter-font);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.slide-button {
    padding: 16px 32px;
    font-size: 1rem;
    font-family: var(--inter-font);
    font-weight: 600;
    text-decoration: none;
    /* Ensure no underline */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide-button.primary {
    background: #4facfe;
    color: white;
}

.slide-button.primary:hover {
    background: #3d8fd1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.slide-button.secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.slide-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* INFINITE SCROLLING SECTION */
.infinite-scroll-section {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    position: absolute;
    top: 82%;
    left: 0;
    right: 0;
    padding: 20px 0 20px 0;
    overflow: hidden;
}

.scroll-container {
    width: 100%;
    overflow: hidden;
}

.scroll-content {
    display: flex;
    gap: 60px;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
}

.scroll-item {
    font-family: var(--inter-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.scroll-content:hover {
    animation-play-state: paused;
}

/* ========================================
   ABOUT US SECTION
   ======================================== */

/* Main section container */
.about-section {
    background-color: #f5f5f5;
    /* Light gray background - CHANGE for different color */
    padding: 100px 50px;
    /* Top/bottom: 100px, sides: 50px - CHANGE for spacing */
    position: relative;
    /* For positioning */
}

/* Content container - centers and limits width */
.about-container {
    max-width: 1400px;
    /* Maximum width - CHANGE for wider/narrower */
    margin: 0 auto;
    /* Center horizontally */
    display: grid;
    /* Use CSS Grid */
    grid-template-columns: 1fr 1fr;
    /* Two equal columns - CHANGE ratio if needed */
    gap: 60px;
    /* Space between columns - CHANGE for more/less gap */
    align-items: center;
    /* Vertical alignment */
}

/* === LEFT COLUMN: Text Content === */

.about-text {
    padding-right: 30px;
    /* Space on right side - CHANGE for more/less */
}

/* Main heading */
.about-heading {
    font-family: var(--dm-font);
    /* Use DM Serif font */
    font-size: 3rem;
    /* Heading size - CHANGE for bigger/smaller */
    font-weight: 400;
    /* Normal weight for serif */
    color: #1a1a1a;
    /* Dark text - CHANGE for different color */
    margin-bottom: 30px;
    /* Space below - CHANGE to adjust gap */
    line-height: 1.2;
    /* Line spacing */
}

/* Paragraph text */
.about-paragraph {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 1.1rem;
    /* Text size - CHANGE for bigger/smaller */
    line-height: 1.8;
    /* Line spacing - CHANGE for tighter/looser */
    color: #333;
    /* Dark gray text - CHANGE for different shade */
    margin-bottom: 20px;
    /* Space between paragraphs - CHANGE to adjust */
}

/* Bold highlighted words in paragraphs */
.about-paragraph strong {
    color: #000;
    /* Black for emphasis - CHANGE for different color */
    font-weight: 700;
    /* Bold weight */
}

/* === RIGHT COLUMN: Video + Stats === */

.about-media {
    display: grid;
    /* Grid layout for video and stats */
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    /* Video takes 2/3, stats 1/3 - CHANGE ratio */
    gap: 20px;
    /* Space between elements - CHANGE for more/less */
    align-items: start;
    /* Align to top */
}

/* YouTube Video Container & Media Placeholder */
.video-container,
.media-placeholder {
    position: relative;
    /* For aspect ratio */
    width: 100%;
    /* Full width */
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container iframe,
.media-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.media-placeholder img {
    object-fit: cover;
}

/* Stats/Highlights Box */
.about-stats {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    /* Dark gradient - CHANGE colors */
    padding: 25px;
    /* Internal spacing - CHANGE for more/less */
    border-radius: 12px;
    /* Rounded corners - CHANGE for more/less */
    color: white;
    /* White text */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    /* Shadow effect */
}

/* Stats title */
.stats-title {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 1.3rem;
    /* Title size - CHANGE for bigger/smaller */
    font-weight: 700;
    /* Bold */
    color: #4facfe;
    /* Blue color - CHANGE to match your brand */
    margin-bottom: 10px;
    /* Space below */
}

/* Main stats text */
.stats-main {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 1.1rem;
    /* Text size - CHANGE for bigger/smaller */
    font-weight: 600;
    /* Semi-bold */
    color: #ffd700;
    /* Gold color - CHANGE for different highlight */
    margin-bottom: 20px;
    /* Space below */
    line-height: 1.4;
    /* Line spacing */
}

/* Stats list */
.stats-list {
    list-style: none;
    /* Remove default bullets */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
}

/* Individual stat item */
.stats-list li {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 0.95rem;
    /* Text size - CHANGE for bigger/smaller */
    padding: 8px 0;
    /* Vertical spacing - CHANGE to adjust */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Separator line */
    color: #e0e0e0;
    /* Light gray text */
}

/* Remove border from last item */
.stats-list li:last-child {
    border-bottom: none;
    /* No border on last item */
}

/* === RESPONSIVE DESIGN === */

/* Tablets and smaller */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        /* Stack into 1 column */
        gap: 40px;
        /* Smaller gap */
    }

    .about-media {
        grid-template-columns: 1fr;
        /* Stack video and stats */
    }

    .about-heading {
        font-size: 2.5rem;
        /* Smaller heading */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 30px;
        /* Less padding */
    }

    .about-heading {
        font-size: 2rem;
        /* Even smaller heading */
    }

    .about-paragraph {
        font-size: 1rem;
        /* Smaller text */
    }
}

/* ========================================
   SERVICES SECTION - 6 Grid Layout
   ======================================== */

/* Main section container */
.services-section {
    padding: 80px 50px;
    /* Top/bottom: 80px, Left/right: 50px - CHANGE for section spacing */
    background-color: var(--primary-dark);
    /* Dark background */
    text-align: center;
    /* Center align text */
}

/* "Services" heading at the top */
.services-heading {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 3.5rem;
    /* Heading size - CHANGE for bigger/smaller */
    font-weight: 700;
    /* Bold text */
    color: #4facfe;
    /* Blue color - CHANGE for different color */
    margin-bottom: 60px;
    /* Space below heading - CHANGE to adjust gap */
    text-transform: capitalize;
    /* Capitalize first letter */
}

/* Grid container - creates 3 columns layout */
.services-grid {
    display: grid;
    /* Use CSS Grid */
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal columns - CHANGE "3" for different columns */
    gap: 30px;
    /* Space between cards - CHANGE for more/less gap */
    max-width: 1400px;
    /* Maximum width - CHANGE for wider/narrower */
    margin: 0 auto;
    /* Center the grid */
}

/* Individual service card */
.service-card {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    /* Glassmorphism Base */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Card background image placeholder */
.card-image {
    position: absolute;
    /* Position relative to card */
    top: 0;
    left: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-size: cover;
    /* Cover entire area */
    background-position: center;
    /* Center the image */
    object-fit: cover;
    /* For img elements - cover entire area */
    z-index: 1;
    /* Layer order */
    transition: transform 0.4s ease;
    /* Smooth zoom effect */
}

/* Blue overlay on top of image - REMOVING heavy overlay for cleaner look */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 10, 48, 0) 0%, rgba(5, 10, 48, 0.8) 100%);
    z-index: 2;
    transition: all 0.4s ease;
}

/* Card title text - always visible */
.card-title {
    position: absolute;
    /* Position relative to card */
    top: 30px;
    /* Distance from top - CHANGE to move up/down */
    left: 30px;
    /* Distance from left - CHANGE to move left/right */
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 1.8rem;
    /* Title size - CHANGE for bigger/smaller */
    font-weight: 700;
    /* Bold text */
    color: white;
    /* White text - CHANGE for different color */
    z-index: 3;
    /* Above overlay */
    margin: 0;
    /* Remove default margins */
    max-width: 80%;
    /* Prevents text from touching edges */
    line-height: 1.2;
    /* Line spacing */
    transition: all 0.4s ease;
    /* Smooth transition */
}

/* Description text - hidden by default, shows on hover */
.card-description {
    position: absolute;
    /* Position relative to card */
    bottom: 90px;
    /* Distance from bottom - CHANGE to move up/down */
    left: 30px;
    /* Distance from left */
    right: 30px;
    /* Distance from right */
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 1rem;
    /* Text size - CHANGE for bigger/smaller */
    font-weight: 400;
    /* Normal weight */
    color: white;
    /* White text - CHANGE for different color */
    z-index: 3;
    /* Above overlay */
    margin: 0;
    /* Remove margins */
    line-height: 1.5;
    /* Line spacing */
    opacity: 0;
    /* Hidden by default */
    transform: translateY(20px);
    /* Start position below */
    transition: all 0.4s ease;
    /* Smooth animation */
}

/* CTA button - hidden by default, shows on hover */
.card-cta {
    position: absolute;
    /* Position relative to card */
    bottom: 30px;
    /* Distance from bottom - CHANGE to move up/down */
    left: 30px;
    /* Distance from left */
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 1.1rem;
    /* Button text size - CHANGE for bigger/smaller */
    font-weight: 600;
    /* Semi-bold */
    color: white;
    /* White text */
    text-decoration: none;
    /* Remove underline */
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white background */
    padding: 10px 20px;
    /* Button padding - CHANGE for bigger/smaller button */
    border-radius: 8px;
    /* Rounded corners */
    border: 2px solid white;
    /* White border - CHANGE color */
    z-index: 3;
    /* Above overlay */
    opacity: 0;
    /* Hidden by default */
    transform: translateY(20px);
    /* Start position below */
    transition: all 0.4s ease;
    /* Smooth animation */
}

/* === HOVER EFFECTS - Each card is independent === */

/* When hovering on card, expand it 30% */
.service-card:hover {
    height: 390px;
    /* Expanded height (300 + 30%) - CHANGE for more/less */
    transform: translateY(-10px);
    /* Lift up - CHANGE for more/less lift */
    box-shadow: 0 20px 50px rgba(79, 172, 254, 0.3);
    border-color: rgba(79, 172, 254, 0.5);
    z-index: 10;
}

/* === PLACEHOLDER BACKGROUND COLORS === */
.cloud-bg {
    background-image: url('assets/service_cloud.webp');
    /* Purple - CHANGE THIS */
}

.business-bg {
    background-image: url('assets/service_business_intelligence.webp');
    /* Pink - CHANGE THIS */
}

.cert-bg {
    background-image: url('assets/service_certifications.webp');
    /* Cyan - CHANGE THIS */
}

.datacenter-bg {
    background-image: url('assets/service_datacenter.webp');
    /* Green - CHANGE THIS */
}

.cyber-bg {
    background-image: url('assets/service_cybersecurity.webp');
    /* Orange - CHANGE THIS */
}

.network-bg {
    background-image: url('assets/service_network.webp');
    /* Teal - CHANGE THIS */
}

/* === HOVER EFFECTS - Each card is independent === */

/* When hovering on card, expand it 30% */
.service-card:hover {
    height: 390px;
    /* Expanded height (300 + 30%) - CHANGE for more/less */
    transform: translateY(-10px);
    /* Lift up - CHANGE for more/less lift */
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.5);
    /* Stronger shadow */
    z-index: 10;
    /* Bring to front */
}

/* Zoom in background image on hover */
.service-card:hover .card-image {
    transform: scale(1.1);
    /* Zoom 10% - CHANGE for more/less zoom */
}

/* Darken overlay on hover */
.service-card:hover .card-overlay {
    background: linear-gradient(180deg, rgba(5, 10, 48, 0) 0%, rgba(5, 10, 48, 0.95) 100%);
}

/* Move title up on hover */
.service-card:hover .card-title {
    top: 20px;
    /* Move closer to top - CHANGE position */
    font-size: 1.6rem;
    /* Slightly smaller - CHANGE size */
}

/* Show description on hover */
.service-card:hover .card-description {
    opacity: 1;
    /* Fully visible */
    transform: translateY(0);
    /* Move to final position */
}

/* Show CTA button on hover */
.service-card:hover .card-cta {
    opacity: 1;
    /* Fully visible */
    transform: translateY(0);
    /* Move to final position */
}

/* === RESPONSIVE DESIGN === */

/* Tablets: 2 columns */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns */
        gap: 25px;
        /* Smaller gap */
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* 1 column */
        gap: 20px;
        /* Smaller gap */
    }

    .services-heading {
        font-size: 2.5rem;
        /* Smaller heading */
    }

    .service-card {
        height: 250px;
        /* Shorter cards - CHANGE THIS */
    }

    .service-card:hover {
        height: 320px;
        /* Less expansion - CHANGE THIS */
    }
}

/* ========================================
   RESOURCES CAROUSEL SECTION
   ======================================== */

/* Main section container */
.resources-section {
    background-color: #ffffff;
    /* White background - CHANGE for different color */
    padding: 100px 50px;
    /* Top/bottom: 100px, sides: 50px - CHANGE for spacing */
    overflow: hidden;
    /* Hide overflow */
}

/* Section heading */
.resources-heading {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 3.5rem;
    /* Heading size - CHANGE for bigger/smaller */
    font-weight: 700;
    /* Bold */
    color: #1a1a1a;
    /* Dark text - CHANGE for different color */
    text-align: center;
    /* Center align */
    margin-bottom: 60px;
    /* Space below - CHANGE to adjust gap */
}

/* Carousel wrapper with navigation buttons */
.resources-carousel {
    position: relative;
    /* For absolute positioning of buttons */
    max-width: 1400px;
    /* Maximum width - CHANGE for wider/narrower */
    margin: 0 auto;
    /* Center horizontally */
    display: flex;
    /* Flexbox layout */
    align-items: center;
    /* Vertical center */
    gap: 20px;
    /* Space between buttons and cards */
}

/* Navigation buttons (← →) */
.carousel-nav {
    background: #4facfe;
    /* Blue background - CHANGE for different color */
    color: white;
    /* White arrow */
    border: none;
    /* Remove border */
    width: 50px;
    /* Button width - CHANGE for bigger/smaller */
    height: 50px;
    /* Button height - CHANGE for bigger/smaller */
    border-radius: 50%;
    /* Circular shape */
    font-size: 1.5rem;
    /* Arrow size - CHANGE for bigger/smaller */
    cursor: pointer;
    /* Pointer cursor */
    flex-shrink: 0;
    /* Don't shrink */
    transition: all 0.3s ease;
    /* Smooth animation - CHANGE "0.3s" for speed */
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    /* Shadow effect */
    z-index: 10;
    /* Above cards */
}

/* Button hover effect */
.carousel-nav:hover {
    background: #3d8fd1;
    /* Darker blue - CHANGE color */
    transform: scale(1.1);
    /* Grow slightly - CHANGE for more/less */
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
    /* Stronger shadow */
}

/* Button active/click effect */
.carousel-nav:active {
    transform: scale(0.95);
    /* Shrink on click */
}

/* Cards track container - this scrolls */
.resources-track {
    display: flex;
    /* Horizontal layout */
    gap: 40px;
    /* Space between cards - CHANGE for more/less gap */
    transition: transform 0.5s ease;
    /* Smooth sliding animation - CHANGE "0.5s" for speed */
    overflow: visible;
    /* Show cards */
}

/* Individual resource card */
.resource-card {
    position: relative;
    /* For absolute children */
    min-width: 280px;
    /* Card width - CHANGE for wider/narrower cards */
    height: 350px;
    /* Card height - CHANGE for taller/shorter */
    border-radius: 16px;
    /* Rounded corners - CHANGE for more/less */
    overflow: hidden;
    /* Hide overflow */
    cursor: pointer;
    /* Pointer cursor */
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Card hover effect */
.resource-card:hover {
    transform: translateY(-10px);
    /* Lift up - CHANGE for more/less lift */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    /* Stronger shadow */
}

/* Background image styling */
.resource-bg {
    position: absolute;
    /* Position relative to card */
    top: 0;
    left: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    object-fit: cover;
    /* ensure image covers area */
    transition: transform 0.3s ease;
    /* Zoom animation */
}

/* Zoom background on hover */
.resource-card:hover .resource-bg {
    transform: scale(1.1);
    /* Zoom 10% - CHANGE for more/less */
}

/* Semi-transparent overlay */
.resource-overlay {
    position: absolute;
    /* Position relative to card */
    bottom: 0;
    /* Stick to bottom */
    left: 0;
    width: 100%;
    /* Full width */
    height: 50%;
    /* Cover bottom half - CHANGE to adjust coverage */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    /* Gradient overlay - CHANGE colors/opacity */
    z-index: 1;
    /* Above background */
}

/* Text content container */
.resource-content {
    position: absolute;
    /* Position relative to card */
    bottom: 25px;
    /* Distance from bottom - CHANGE to move up/down */
    left: 25px;
    /* Distance from left */
    right: 25px;
    /* Distance from right */
    z-index: 2;
    /* Above overlay */
}

/* Bold title text */
.resource-title {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 1.5rem;
    /* Title size - CHANGE for bigger/smaller */
    font-weight: 700;
    /* Bold */
    color: white;
    /* White text */
    margin-bottom: 8px;
    /* Space below */
    line-height: 1.3;
    /* Line spacing */
}

/* One-liner subtitle */
.resource-subtitle {
    font-family: var(--inter-font);
    /* Use Inter font */
    font-size: 0.95rem;
    /* Subtitle size - CHANGE for bigger/smaller */
    font-weight: 400;
    /* Normal weight */
    color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    line-height: 1.4;
    /* Line spacing */
    margin: 0;
    /* Remove margin */
}

/* === PLACEHOLDER BACKGROUND IMAGES === */
.resource-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* Purple - CHANGE THIS */
}

.resource-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    /* Pink - CHANGE THIS */
}

.resource-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    /* Cyan - CHANGE THIS */
}

.resource-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    /* Green - CHANGE THIS */
}

.resource-bg-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    /* Orange - CHANGE THIS */
}

.resource-bg-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    /* Teal - CHANGE THIS */
}

.resource-bg-7 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    /* Light pastel - CHANGE THIS */
}

.resource-bg-8 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

/* === RESPONSIVE DESIGN === */

/* Tablets */
@media (max-width: 1024px) {
    .resources-heading {
        font-size: 2.5rem;
    }

    .resource-card {
        min-width: 240px;
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .resources-section {
        padding: 60px 20px;
    }

    .resources-heading {
        font-size: 2rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .resource-card {
        min-width: 200px;
        height: 280px;
    }
}

/* ========================================
   FOOTER SECTION STYLES
   ======================================== */

.footer-section {
    background: linear-gradient(180deg, #001a4d 0%, #003d99 100%);
    /* Dark blue gradient background matching the design */
    color: white;
    padding: 60px 50px 30px;
    /* Top padding, sides padding, bottom padding */
}

/* === TOP SECTION: Email Signup === */
.footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Layout: Logo | Text | Signup Form */
    gap: 40px;
    align-items: center;
    padding-bottom: 80px;
    /* IMPORTANT: This padding creates the space below the email section */
    border-bottom: none;
}

.footer-branding .footer-logo {
    height: 60px;
    /* Adjust logo size here */
    width: auto;
}

.footer-newsletter h3 {
    font-family: var(--inter-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.footer-newsletter p {
    font-family: var(--inter-font);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    /* Slightly transparent white for description */
    margin: 0;
}

.footer-signup {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer-signup .newsletter-input {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    /* Glassmorphism effect */
    color: white;
    font-family: var(--inter-font);
    font-size: 1rem;
    width: 280px;
}

.footer-signup .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-signup .newsletter-btn {
    padding: 12px 40px;
    border-radius: 8px;
    border: none;
    background: white;
    color: #003d99;
    /* Blue text on white button */
    font-family: var(--inter-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-signup .newsletter-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.newsletter-checkbox {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* === MIDDLE SECTION: Navigation Links === */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 equal columns for links */
    gap: 60px;
    padding-top: 60px;
    /* IMPORTANT: This padding creates the space above the links */
    padding-bottom: 80px;
}

.footer-column h4 {
    font-family: var(--inter-font);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    text-transform: none;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-family: var(--inter-font);
    font-size: 1rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #4facfe;
    /* Light blue on hover */
}

/* === BOTTOM SECTION: IT Audit Form === */
.footer-audit {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 100, 255, 0.15) 100%);
    /* Glassy blue background */
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.footer-audit h3 {
    font-family: var(--inter-font);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
}

.audit-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    /* 3 inputs + button in a row */
    gap: 15px;
    align-items: center;
}

.audit-input {
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-family: var(--inter-font);
    font-size: 1rem;
    transition: background 0.3s ease;
}

.audit-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.audit-input:focus {
    background: rgba(255, 255, 255, 0.25);
    outline: none;
}

.audit-btn {
    padding: 15px 35px;
    border-radius: 8px;
    border: none;
    background: white;
    color: #003d99;
    font-family: var(--inter-font);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.audit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* === FOOTER BOTTOM === */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Thin separator line */
}

.footer-bottom p {
    font-family: var(--inter-font);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-family: var(--inter-font);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* === RESPONSIVE DESIGN === */

/* Tablets */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        /* Stack vertically on tablet */
        text-align: center;
        gap: 25px;
        padding-bottom: 60px;
    }

    .footer-signup {
        align-items: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
        gap: 40px;
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .audit-form {
        grid-template-columns: 1fr;
        /* Stack form vertically */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 20px 20px;
    }

    .footer-top {
        padding-bottom: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-audit h3 {
        font-size: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-main-section {
    padding: 120px 20px 80px;
    /* Top padding to clear fixed header */
    background-color: #f9f9f9;
    min-height: 80vh;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-heading {
    font-family: var(--dm-font);
    font-size: 3rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
}

.contact-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-option {
    padding: 12px 30px;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--inter-font);
    font-weight: 600;
    color: var(--text-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.toggle-option input {
    display: none;
}

.toggle-option.active {
    background-color: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.contact-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-contact-form .form-group {
    margin-bottom: 20px;
}

.main-contact-form label {
    display: block;
    font-family: var(--inter-font);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.main-contact-form input,
.main-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--inter-font);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.main-contact-form input:focus,
.main-contact-form textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--secondary-dark);
}

.booking-info {
    text-align: center;
    padding: 40px 0;
}

.booking-info h3 {
    font-family: var(--dm-font);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.booking-info p {
    font-family: var(--inter-font);
    color: var(--text-gray);
    margin-bottom: 30px;
}

.calendly-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.calendly-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CONTACT US BUTTON (NAVBAR CTA)
   ======================================== */

.contact-btn-wrapper {
    margin-left: 10px;
}

.contact-us-btn {
    background: linear-gradient(135deg, #00107F 4%, #025ae0 60%);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 25px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    display: inline-block;
}

.contact-us-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
    background: linear-gradient(135deg, #3d8fd1 0%, #0014aa 100%);
}

/* ========================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ======================================== */

/* Hamburger Icon - Hidden on Desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none !important;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-dark);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block !important;
    transform: translateX(0);
}

.mobile-menu-overlay .nav-menu {
    display: flex !important;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    height: auto;
}

.mobile-menu-overlay .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.mobile-menu-overlay .nav-menu a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
}

.mobile-menu-overlay .contact-us-btn {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

/* Hide mega menus and dropdowns in mobile menu */
.mobile-menu-overlay .mega-dropdown-menu,
.mobile-menu-overlay .dropdown-content {
    display: none !important;
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
   ======================================== */

/* Tablets and Below (991px) */
@media (max-width: 991px) {

    /* NAVBAR MOBILE */
    header {
        padding: 0 1rem;
    }

    .logo img {
        height: 40px;
    }

    /* Hide desktop menu, show hamburger */
    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Hide mega menus on mobile in regular navbar */
    .mega-dropdown-menu {
        display: none !important;
    }

    /* CAROUSEL/HERO MOBILE */
    .carousel-section {
        height: auto;
        min-height: 100vh;
        margin-top: 80px;
    }

    .carousel-indicators {
        display: none;
        /* Hide indicators on mobile */
    }

    .slide-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .slide-content.reverse {
        flex-direction: column;
    }

    .slide h2 {
        font-size: 1.8rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .carousel-image {
        max-width: 100%;
        height: auto !important;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .slide-button {
        width: 100%;
        text-align: center;
    }

    /* Infinite Scroll */
    .infinite-scroll-section {
        top: auto;
        position: relative;
        margin-top: -1px;
    }

    .scroll-item {
        font-size: 1.2rem;
    }

    /* SERVICES SECTION MOBILE */
    .services-section {
        padding: 60px 20px;
    }

    .services-heading {
        font-size: 2rem;
    }

    .services-subheading {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* RESOURCES SECTION MOBILE */
    .resources-section {
        padding: 60px 20px;
    }

    .resources-heading {
        font-size: 2rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* FOOTER MOBILE */
    .footer-section {
        padding: 40px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-newsletter h3 {
        font-size: 1.5rem;
    }

    .footer-signup {
        width: 100%;
    }

    .newsletter-input {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .footer-audit {
        padding: 30px 20px;
    }

    .footer-audit h3 {
        font-size: 1.5rem;
    }

    .audit-form {
        flex-direction: column;
        gap: 15px;
    }

    .audit-input {
        width: 100% !important;
    }

    .audit-btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* CONTACT PAGE MOBILE */
    .contact-main-section {
        padding: 100px 20px 60px;
    }

    .contact-container {
        padding: 30px 20px;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .contact-toggle {
        flex-direction: column;
        width: 100%;
        padding: 5px;
        gap: 5px;
    }

    .toggle-option {
        width: 100%;
        justify-content: center;
    }

    /* MEGA MENU MOBILE - Make sidebar scrollable if shown */
    .mega-menu-container {
        flex-direction: column;
        min-height: auto;
    }

    .mega-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mega-content {
        width: 100%;
        padding: 2rem 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {

    header {
        height: 70px;
    }

    .logo img {
        height: 35px;
    }

    .carousel-section {
        margin-top: 70px;
    }

    .slide h2 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 0.95rem;
    }

    .slide-content {
        padding: 20px 15px;
    }

    .services-heading,
    .resources-heading,
    .contact-heading {
        font-size: 1.75rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        height: 60px;
    }

    .scroll-item {
        font-size: 1rem;
    }
}

/* ========================================
   CLOUD SERVICES MAIN PAGE STYLES
   ======================================== */

.cloud-services-page {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding-top: 80px;
    /* Navbar height */
    line-height: 1.6;
    /* Improved readability */
}

/* OVERRIDE GLOBAL HEADER FOR THIS PAGE */
.cloud-services-page header {
    position: fixed;
    /* Back to fixed */
    background-color: rgba(255, 255, 255, 0.95);
    /* Keep transparency */
    width: 100%;
}

/* ANCHOR NAVIGATION */
.anchor-nav {
    background-color: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 80px;
    /* Below main navbar */
    z-index: 990;
    backdrop-filter: blur(10px);
    padding: 10px 0;
    overflow-x: auto;
    /* margin-top removed */
}

.anchor-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    min-width: max-content;
    padding: 0 20px;
}

.anchor-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: var(--inter-font);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

.anchor-nav a:hover,
.anchor-nav a.active {
    color: #4facfe;
}

.anchor-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.8);
}

/* HERO SECTION */
.cloud-hero {
    padding: 150px 20px;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, #1a237e 0%, #020617 70%);
    position: relative;
    overflow: hidden;
}

.cloud-hero h1 {
    font-family: var(--dm-font);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #a5d8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(79, 172, 254, 0.3);
}

/* SERVICE MATRIX TABLE */
.service-matrix-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.matrix-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.02);
    min-width: 800px;
    /* Ensure readability on overflow */
}

.service-table th {
    background-color: rgba(79, 172, 254, 0.15);
    color: #4facfe;
    font-family: var(--inter-font);
    font-weight: 700;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(79, 172, 254, 0.3);
    white-space: nowrap;
}

.service-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-family: var(--inter-font);
    font-size: 0.95rem;
    vertical-align: top;
}

.service-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
}

.service-table tr:last-child td {
    border-bottom: none;
}

.service-table td:first-child {
    font-weight: 600;
    color: #fff;
}

/* EXCELLENCE CARDS */
.excellence-section {
    padding: 120px 20px;
    background-color: #03081c;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.excellence-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.excellence-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(79, 172, 254, 0.3);
}

.excellence-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.4));
}

.excellence-card h3 {
    font-family: var(--dm-font);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

/* PROBLEMS & SOLUTIONS */
.problems-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ps-item {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    align-items: stretch;
}

.ps-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.ps-card.problem {
    border-left: 4px solid #ff4757;
}

.ps-card.solution {
    border-left: 4px solid #2ed573;
    background: linear-gradient(90deg, rgba(46, 213, 115, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.ps-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.ps-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.ps-title {
    font-family: var(--inter-font);
    font-size: 1.3rem;
    font-weight: 700;
}

.ps-card.problem .ps-title {
    color: #ff6b81;
}

.ps-card.solution .ps-title {
    color: #7bed9f;
}

.ps-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-family: var(--dm-font);
    font-size: 5rem;
    opacity: 0.05;
    font-weight: 700;
}

/* PROCESS FLOWCHART */
.process-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, #020617 0%, #0a1128 100%);
    text-align: center;
}

.process-container {
    max-width: 1200px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    position: relative;
}

/* Connecting Line */
.process-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    z-index: 0;
    opacity: 0.3;
}

.process-phase {
    position: relative;
    z-index: 1;
}

.phase-card {
    background: #050A30;
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phase-card:hover,
.process-phase.active .phase-card {
    background: #0a1540;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
    border-color: #4facfe;
    transform: translateY(-5px);
}

.phase-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    background: #020617;
    border-radius: 50%;
    padding: 10px;
    border: 2px solid #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
}

.phase-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.phase-time {
    font-size: 0.9rem;
    color: #4facfe;
    font-weight: 600;
}

.phase-details {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: left;
    width: 100%;
    opacity: 0;
}

.process-phase.active .phase-details {
    max-height: 500px;
    /* Approximate max height */
    padding: 20px;
    margin-top: 20px;
    opacity: 1;
}

.phase-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-details li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: flex-start;
}

.phase-details li::before {
    content: '•';
    color: #4facfe;
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
}

/* CTA & QUIZ */
.quiz-section {
    padding: 150px 20px;
    text-align: center;
    background: linear-gradient(135deg, #050A30 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quiz-btn {
    display: inline-block;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.quiz-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(79, 172, 254, 0.5);
}

/* INLINE CTA TEXT */
.inline-cta {
    text-align: center;
    padding: 40px 20px 0;
    font-size: 1.1rem;
    color: #a5d8ff;
    font-style: italic;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .excellence-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .process-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .cloud-hero h1 {
        font-size: 2.5rem;
    }

    .excellence-grid {
        grid-template-columns: 1fr;
    }

    .ps-item {
        flex-direction: column;
        gap: 20px;
    }

    .process-container {
        grid-template-columns: 1fr;
    }

    .anchor-nav {
        top: 70px;
        /* Adjust for smaller navbar on mobile if needed, or 0 if header shrinks */
    }

    /* Adjust for smaller navbar */
    .anchor-nav ul {
        justify-content: flex-start;
    }
}

/* =========================================
   INTERACTIVE PROCESS MASTER-DETAIL STYLES
   ========================================= */
.process-master-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.process-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* Horizontal Connector Line */
.process-navigation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    transform: translateY(-50% - 10px);
    /* Adjust for padding */
}

.process-card-tab {
    flex: 1;
    min-width: 160px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.process-card-tab:hover {
    background: #252525;
    transform: translateY(-5px);
}

.process-card-tab.active {
    background: var(--primary-dark);
    border-color: #4facfe;
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
    transform: translateY(-5px);
}

.process-card-tab.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--primary-dark) transparent transparent transparent;
}

.phase-meta {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-card-tab.active .phase-meta {
    color: rgba(255, 255, 255, 0.8);
}

.phase-title {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

/* Display Area */
.process-display-area {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 50px;
    display: flex;
    gap: 50px;
    align-items: center;
    animation: fadeIn 0.5s ease;
    min-height: 350px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-text-content {
    flex: 1;
}

.step-badge {
    display: inline-block;
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.process-text-content h3 {
    font-family: var(--dm-font);
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.process-text-content p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1.05rem;
}

.process-visual-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-visual-content img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Process */
@media (max-width: 900px) {
    .process-navigation {
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .process-card-tab {
        min-width: 200px;
        /* Ensure cards are readable */
    }

    .process-display-area {
        flex-direction: column-reverse;
        /* Image on top? Or text on top? Let's stack naturally */
        padding: 30px;
        text-align: center;
    }

    .process-visual-content img {
        max-height: 200px;
        margin-bottom: 20px;
    }
}

/* =========================================
   TECH STACK GRID V3 (4-Column)
   ========================================= */
.tech-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-card-v3 {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: 15px 40px rgba(0, 0, 0, 0.1);
}

.tech-card-v3 h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: var(--dm-font);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.tech-card-v3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.tech-card-v3 li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tech-card-v3 li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: bold;
}

/* =========================================
   REFINED CARD & FEATURE STYLES
   ========================================= */

/* Stats Cards Layout */
.stats-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: -60px auto 60px;
    /* Overlaps Hero slightly */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.stat-card-v2 {
    background: #111;
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.stat-card-v2:hover {
    transform: translateY(-10px);
    border-color: #4facfe;
}

.stat-card-v2 .stat-val {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #4facfe;
    font-family: 'DM Serif Display', serif;
    margin-bottom: 10px;
}

.stat-card-v2 .stat-text {
    color: #ccc;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Split Feature (Text Left | Image Right) */
.split-feature-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
    margin-bottom: 40px;
}

.split-text {
    flex: 1.2;
}

.split-text h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.split-text p {
    color: #bbb;
    line-height: 1.7;
    font-size: 1.1rem;
}

.split-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.split-visual img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

/* Problem Cards Icon Constrain */
.problem-card-v2 {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    border-bottom: 4px solid #4facfe;
}

.problem-card-v2 img {
    width: 64px;
    height: 64px;
    margin-bottom: 25px;
}

/* Tech Stack Logic */
.tech-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}