/* --- home.css --- */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700;800&display=swap');

:root {
    --color-bg: #0A0A0A;
    --color-text: #EAEAEA;
    --color-primary: #072ac8;
    --font-main: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WebGL Canvas Background */
#gradient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* --- REWRITTEN HEADER & HERO SECTION --- */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
.hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}
.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem); line-height: 1.1;
    font-weight: 800; max-width: 1200px; margin-bottom: 20px;
}
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem); max-width: 600px;
    line-height: 1.6; color: #aaa; margin-bottom: 40px;
}

/* NEW: Container for the horizontal buttons */
.hero-cta-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Clean spacing between buttons */
}

/* --- REWRITTEN CTA BUTTONS --- */
.cta-button {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
}

/* --- Style for the Primary Button (Contact) --- */
.cta-button:nth-of-type(1) {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

/* Primary Button Fill Animation */
.cta-button:nth-of-type(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #052099; /* A slightly darker blue for the hover fill */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
}
.cta-button:nth-of-type(1):hover {
    transform: translateY(-5px);
}
.cta-button:nth-of-type(1):hover::before {
    transform: scaleX(1);
}

/* --- Style for the Secondary Button (CV) --- */
.cta-button:nth-of-type(2) {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid #555;
}

/* Secondary Button Fill Animation */
.cta-button:nth-of-type(2):hover {
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-5px);
}
.cta-button:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
}
.cta-button:nth-of-type(2):hover::before {
    transform: scale(2.2); /* The circle expands to fill the button */
}

/* --- Navigation Bar (Polished) --- */
.main-nav {
    position: fixed; top: 20px; left: 50%;
    transform: translateX(-50%); width: 90%; max-width: 1200px;
    z-index: 1000; display: flex; justify-content: space-between;
    align-items: center; padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: top 0.3s ease;
}
.logo {
    font-weight: 800; font-size: 1.1rem; color: var(--color-bg);
    text-decoration: none; letter-spacing: -0.5px;
}

/* --- Hamburger Menu Button --- */
.menu-toggle {
    background: none; border: none; cursor: pointer;
    width: 24px; height: 18px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.menu-toggle span {
    display: block; width: 100%; height: 2px;
    background-color: var(--color-bg); border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease-in-out;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Dropdown Mega Menu (Polished) --- */
.dropdown-menu {
    position: fixed; top: 95px; left: 50%;
    transform: translateX(-50%) translateY(-20px); width: 90%; max-width: 1200px;
    z-index: 999; background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); opacity: 0;
    pointer-events: none; transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}
.dropdown-menu.is-active { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all; }
.menu-container { padding: 40px; display: grid; grid-template-columns: 1fr 1.5fr 1.5fr; gap: 40px; align-items: center; }
.menu-links { display: flex; flex-direction: column; gap: 15px; border-right: 1px solid rgba(255, 255, 255, 0.1); padding-right: 40px; }
.menu-links a { color: var(--color-text); text-decoration: none; font-size: 2rem; font-weight: 700; transition: color 0.3s ease; }
.menu-links a:hover { color: var(--color-primary); }
.menu-contact p { font-size: 1rem; line-height: 1.6; color: #aaa; max-width: 250px; margin-bottom: 20px; }
.menu-contact .contact-link { color: var(--color-text); text-decoration: none; font-weight: 700; letter-spacing: 1px; }
.menu-visuals { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.menu-visuals .image-placeholder { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background-color: #333; }
.menu-visuals img { width: 100%; height: 100%; object-fit: cover; }

/* --- Media Queries for Responsiveness --- */
@media (max-width: 992px) {
    .menu-container { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
    .menu-links { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 30px; }
    .menu-links a { font-size: 1.8rem; }
    .menu-contact { text-align: center; }
    .menu-contact p { margin: 0 auto 20px; }
}
@media (max-width: 768px) {
    .main-nav, .dropdown-menu { width: 95%; }
}




/* --- home.css (additions) --- */

/* ============================================= */
/*           WORK GRID (NO MODAL VERSION)          */
/* ============================================= */
#work-grid { padding: 120px 0; background-color: #121212; }
.grid-container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.grid-header { text-align: center; margin-bottom: 60px; }
.grid-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.grid-header p { font-size: clamp(1rem, 1.5vw, 1.1rem); color: #aaa; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.section-divider { display: flex; align-items: center; gap: 20px; margin-bottom: 60px; color: #666; }
.section-divider::before, .section-divider::after { content: ''; flex-grow: 1; height: 1px; background-image: linear-gradient(to right, #444 2px, transparent 2px); background-size: 8px 1px; background-repeat: repeat-x; }
.section-divider span { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; overflow: hidden; padding: 30px; color: var(--color-text); text-decoration: none; isolation: isolate; border-radius: 12px; }

.card-bg-image {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    z-index: -2;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}
.project-card:hover .card-bg-image {
    transform: scale(1.05);
    filter: brightness(0.6) blur(8px); /* NEW: Added blur on hover */
}

.card-overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
    transition: background-color 0.4s ease;
}
.project-card:hover .card-overlay {
    background-color: rgba(0,0,0,0.2); /* Soften the entire card on hover */
}

.card-content { transition: opacity 0.4s ease, transform 0.4s ease; }
.project-card:hover .card-content {
    opacity: 0;
    transform: translateY(20px);
}
.card-content h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 10px; text-transform: uppercase; line-height: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card-tags span { display: inline-block; border: 1px solid rgba(255, 255, 255, 0.5); padding: 8px 16px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; backdrop-filter: blur(5px); border-radius: 20px; }

/* --- NEW: Hover Content Styling --- */
.card-hover-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    padding: 30px; display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start; /* Aligned to the left */
    text-align: left;
    opacity: 0;
    transform: translateY(20px); /* Start from a lower position */
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}
.project-card:hover .card-hover-content {
    opacity: 1;
    transform: translateY(0);
}

.hover-description {
    font-size: 0.95rem; /* Small text font */
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
}

.hover-details {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #ccc;
}
.hover-details li {
    margin-bottom: 8px;
}
.hover-details strong {
    color: white;
    font-weight: 700;
}

.hover-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white; padding: 12px 24px; border-radius: 50px;
    text-decoration: none; font-weight: 700; transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom */
}
.hover-button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    #work-grid { padding: 80px 0; }
    .grid-container { padding: 0 20px; }
    .project-grid { grid-template-columns: 1fr; gap: 25px; }
}





/* ============================================= */
/*           REFINED SERVICES SECTION            */
/* ============================================= */
#services {
    padding: 150px 0;
    background-color: transparent;
    position: relative;
    color: #1a1a1a;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-header {
    margin-bottom: 60px; /* Reduced vertical gap */
}
.services-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
    max-width: 800px;
}
.services-header p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: #aaa;
    max-width: 600px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1 / 1;
    padding: 24px;
    background-color: #222; /* Darker, more sophisticated grey */
    border: 2px solid #333; /* Darker stroke to match */
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* SUBTLE GEOMETRIC PATTERN */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
/* Making each pattern appear unique */
.service-card:nth-child(2) { background-position: 10px 10px; }
.service-card:nth-child(3) { background-position: -15px -5px; }
.service-card:nth-child(4) { background-position: 5px -10px; }
.service-card:nth-child(5) { background-position: -5px 15px; }
.service-card:nth-child(6) { background-position: -10px 0; }
.service-card:nth-child(7) { background-position: 15px -15px; }

.service-card:hover {
    transform: translateY(-10px);
}

/* --- The Puzzle Piece Border Radius --- */
.service-card { border-radius: 24px; }
.puzzle-tr { border-top-right-radius: 60px; }
.puzzle-tl { border-top-left-radius: 60px; }
.puzzle-br { border-bottom-right-radius: 60px; }
.puzzle-bl { border-bottom-left-radius: 60px; }

/* --- Card Content & Hover Logic --- */
.service-card .card-icon { width: 40px; height: 40px; color: #888; z-index: 2; transition: color 0.4s ease; }
.service-card .card-content { display: flex; flex-direction: column; justify-content: space-between; height: 100%; z-index: 2; }
.service-card h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; margin-top: auto; color: #EAEAEA; transition: color 0.4s ease; }
.service-card p { font-size: 0.95rem; line-height: 1.6; max-height: 0; opacity: 0; transform: translateY(10px); color: #EAEAEA; transition: all 0.5s ease; }

/* --- NEW: The Cooler, Multi-Color Fill Animation --- */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit; /* This makes it match the puzzle shape */
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}
.service-card:hover::before { transform: scale(1); }

/* --- Assigning the unique fill colors --- */
.service-card:nth-child(4n+1)::before { background-color: #072ac8; } /* Blue */
.service-card:nth-child(4n+2)::before { background-color: #1f9e62; } /* Green */
.service-card:nth-child(4n+3)::before { background-color: #e66a34; } /* Orange */
.service-card:nth-child(4n+4)::before { background-color: #8b3e98; } /* Purple */

/* --- On Hover... --- */
.service-card:hover .card-icon,
.service-card:hover h3,
.service-card:hover p {
    color: white;
}
.service-card:hover p {
    max-height: 150px;
    opacity: 1;
    transform: translateY(0);
}
.service-card:hover h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    #services { padding: 100px 0; }
    .services-container { padding: 0 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .services-header { margin-bottom: 60px; }
    .service-card, .puzzle-tr, .puzzle-tl, .puzzle-br, .puzzle-bl { border-radius: 24px; }
    .service-card { border-color: transparent; color: white; }
    .service-card::before { display: none; } /* Hide the hover pseudo-element */

    /* NEW: MOBILE DEFAULT STATE with UNIQUE COLORS */
    .service-card:nth-child(4n+1) { background-color: #072ac8; } /* Blue */
    .service-card:nth-child(4n+2) { background-color: #1f9e62; } /* Green */
    .service-card:nth-child(4n+3) { background-color: #e66a34; } /* Orange */
    .service-card:nth-child(4n+4) { background-color: #8b3e98; } /* Purple */

    .service-card .card-icon, .service-card h3, .service-card p { color: white; }
    .service-card h3 { margin-top: 0; margin-bottom: 15px; }
    .service-card p { max-height: 150px; opacity: 1; transform: translateY(0); }
}





/* --- home.css (About Section Only) --- */

/* ============================================= */
/*           REFINED ABOUT SECTION               */
/* ============================================= */
#about {
    padding: 150px 0;
    background-color: #121212;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Part 1: Intro (Unchanged) --- */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 120px;
}
.intro-text h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.4; max-width: 40ch; }
.intro-text h2:not(:last-child) { margin-bottom: 30px; }
.intro-visual img { width: 100%; max-width: 250px; height: auto; border-radius: 12px; margin-bottom: 20px; }
.intro-visual p { font-size: 0.9rem; color: #aaa; line-height: 1.6; }
.intro-visual p span { color: var(--color-text); font-weight: 700; }

/* --- Part 2: New Animated "Features" Grid --- */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    min-height: 500px;
}

.feature-card {
    background-color: #07174e; /* Dark navy blue base */
    background-image: linear-gradient(135deg, #09226d 0%, #05164d 100%);
    border: 1px solid #203479;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(7, 42, 200, 0.2);
}

.main-feature {
    grid-row: span 2;
    justify-content: space-between;
}
.main-feature h3 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.3;
}
.main-feature p { color: #aaa; margin-top: 15px; max-width: 30ch; }
.feature-button {
    display: inline-block;
    align-self: flex-start;
    padding: 14px 28px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: background-color 0.3s ease;
}
.feature-button:hover { background-color: rgba(255, 255, 255, 0.2); }

/* --- Small Feature Cards --- */
.card-header { margin-bottom: 20px; }
.feature-number { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1; }
.feature-label { color: #aaa; font-size: 0.9rem; }
.mini-ui { flex-grow: 1; display: flex; align-items: flex-end; }

/* Animated UI Snippets */
.mini-chart { display: flex; align-items: flex-end; gap: 8px; width: 100%; height: 100%; }
.mini-chart-bar { flex: 1; background-color: rgba(255, 255, 255, 0.2); border-radius: 4px 4px 0 0; }

.mini-donut-svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.donut-track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 12; }
.donut-progress { fill: none; stroke: var(--color-primary); stroke-width: 12; stroke-linecap: round; }

.mini-line-graph { width: 100%; height: 60px; }
#line-graph-path { fill: none; stroke: var(--color-primary); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.github-card { justify-content: center; align-items: center; }
.github-link { text-decoration: none; text-align: center; }
.github-icon { width: 64px; height: 64px; color: #888; transition: color 0.3s ease, transform 0.3s ease; }
.github-link:hover .github-icon { color: white; }
.github-link span { display: block; margin-top: 15px; color: #888; font-weight: 700; transition: color 0.3s ease; }
.github-link:hover span { color: white; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-intro { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .intro-visual { display: flex; flex-direction: column; align-items: center; }
    .about-features-grid { grid-template-columns: 1fr 1fr; }
    .main-feature { grid-column: span 2; grid-row: span 1; min-height: 250px; }
}
@media (max-width: 768px) {
    #about { padding: 100px 0; }
    .about-container { padding: 0 20px; }
    .about-features-grid { grid-template-columns: 1fr; min-height: auto; }
    .main-feature { grid-column: span 1; }
}


/* --- home.css (Partners Section Only) --- */

/* --- home.css (Partners Section Only) --- */

/* ============================================= */
/*                PARTNERS SECTION               */
/* ============================================= */
#partners {
    padding: 150px 0;
    background-color: transparent;
    overflow: hidden; /* Important for the sliders */
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side: Intro --- */
.partners-intro {
    position: relative;
    z-index: 2;
}
.partners-intro h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}
.partners-intro .highlight {
    /* This can be a different font-family if you import one */
    font-style: italic;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}
.intro-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    max-width: 500px;
    z-index: -1;
    opacity: 0.5;
}

/* --- Right Side: Sliders --- */
.partners-sliders {
    display: flex;
    gap: 20px;
    height: 500px; /* This defines the visible area of the sliders */
    overflow: hidden;
    /* Create a fade effect at the top and bottom */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.slider-column {
    display: flex;
    flex-direction: column;
}
.slider-track {
    /* The animation will be applied here via GSAP */
}

.logo-card {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 2px solid #1a1a1a; /* Black edge stroke */
    background: linear-gradient(135deg, var(--color-primary) 0%, #052099 100%);
}
.logo-card img {
    max-width: 80%;
    max-height: 50%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes logos white */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .partners-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .intro-graphic {
        width: 80%;
    }
}
@media (max-width: 768px) {
    #partners { padding: 100px 0; }
    .partners-container { padding: 0 20px; }
    .partners-sliders { height: 400px; }
    .logo-card { width: 180px; height: 120px; }
}



/* --- home.css (additions) --- */

/* ============================================= */
/*           REFINED CONTACT SECTION             */
/* ============================================= */
#contact {
    padding: 150px 0;
    background-color: #121212;
    color: var(--color-text);
}

.contact-container {
    max-width: 800px; /* Controls the width of the centered content */
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-container h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.contact-intro {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #aaa;
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 80px;
}

.contact-form {
    width: 100%;
    text-align: left; /* Keep form labels aligned left */
}

/* --- Form Styling --- */
.form-group { margin-bottom: 40px; }
.form-row { display: flex; gap: 40px; }
.form-row .form-group { flex: 1; }

.form-group label, .form-group legend {
    display: block;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 12px;
}
.form-group legend { text-align: left; }

input[type="text"], input[type="email"], textarea {
    width: 100%; background: transparent; border: none;
    border-bottom: 1px solid #444; padding: 12px 0;
    color: var(--color-text); font-size: 1rem; font-family: var(--font-main);
    transition: border-color 0.3s ease;
}
input:focus, textarea:focus { outline: none; border-bottom-color: var(--color-primary); }
textarea { resize: vertical; }

/* --- Redesigned Checkbox "Buttons" --- */
fieldset { border: none; padding: 0; }
.checkbox-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-option input[type="checkbox"] { display: none; }
.checkbox-option label {
    display: inline-block;
    padding: 12px 24px;
    background-color: #222;
    border: 1px solid #333;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ccc;
    transition: all 0.3s ease;
}
.checkbox-option label:hover {
    background-color: #2a2a2a;
    border-color: #555;
}
.checkbox-option input:checked + label {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* --- Redesigned Submit Button --- */
.submit-btn {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Make it a block for easier margin auto */
    margin: 50px auto 0 auto;
}
.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(7, 42, 200, 0.4);
}

/* --- Footer Contact Info --- */
.footer-contact {
    margin-top: 100px;
    width: 100%;
}
.footer-contact .divider {
    height: 1px;
    background-color: #333;
    width: 100%;
    margin-bottom: 30px;
}
.footer-contact p {
    color: #aaa;
    margin-bottom: 20px;
}
.contact-details {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.contact-details a {
    color: #aaa; text-decoration: none; font-size: 1rem;
    transition: color 0.3s ease;
}
.contact-details a:hover { color: var(--color-text); }

/* --- Responsive --- */
@media (max-width: 768px) {
    #contact { padding: 100px 0; }
    .contact-container { padding: 0 20px; }
    .contact-intro { margin-bottom: 60px; }
    .form-row { flex-direction: column; gap: 40px; }
    .checkbox-button-group { justify-content: center; }
}









/* --- home.css (additions) --- */

/* ============================================= */
/*       REFINED FULL-HEIGHT FOOTER SECTION      */
/* ============================================= */
#main-footer {
    min-height: 100vh;
    padding: 80px 0 0 0; /* Padding at the top, none at the bottom for the marquee */
    background-color: transparent;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes content apart vertically */
    position: relative;
    overflow: hidden;
}

.footer-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Top Part: CTA & Links --- */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 60px;
}
.footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
}
.footer-links h4, .footer-contact-info h4 {
    color: #888;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact-info a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-links a:hover, .footer-contact-info a:hover {
    color: white;
    transform: translateX(5px);
}
.footer-contact-info a { display: block; margin-bottom: 10px; }

/* --- Divider & Bottom Credits --- */
.footer-divider { height: 1px; background-color: #333; margin: 0 40px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}
.crafted-by { color: white; font-weight: 700; }

/* --- Large Marquee Text --- */
.footer-brand-marquee {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background-color: rgba(0,0,0,0.2);
    border-top: 1px solid #333;
}
.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 60s linear infinite; /* CSS animation for fallback */
}
.marquee-track span {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #666;
    padding: 0 40px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer-cta {
        grid-column: span 2;
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    #main-footer {
        justify-content: flex-start; /* Align content to top on mobile */
        padding-top: 100px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-cta, .footer-links, .footer-contact-info {
        margin-bottom: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .footer-brand-marquee {
        position: absolute;
        bottom: 0;
    }
}