/* --- Modern Light Design System --- */
:root {
    --primary: #3b3687;
    /* Deep Indigo from Logo */
    --primary-light: #4c45a1;
    --accent: #0076a8;
    /* Vibrant Blue from Logo */
    --accent-hover: #005d85;
    --secondary: #9d248b;
    /* Magenta from Logo */
    --text-main: #0f172a;
    /* Near black for maximum clarity */
    --text-muted: #334155;
    /* Dark slate for readable secondary text */
    --bg-light: #ffffff;
    --bg-surface: #f8fafc;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.08);
    --card-bg: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --accent-glow: rgba(0, 118, 168, 0.4);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

p {
    color: var(--text-muted);
    font-weight: 450;
    /* Slightly medium weight for clarity */
}

/* --- Loader --- */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-light);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 200px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite ease-in-out;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('resources/home/hero-bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.15;
    animation: sparkle 4s infinite alternate ease-in-out;
}

@keyframes sparkle {
    0% {
        opacity: 0.1;
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        opacity: 0.25;
        transform: scale(1.02);
        filter: brightness(1.5);
    }

    100% {
        opacity: 0.1;
        transform: scale(1);
        filter: brightness(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero h1 span {
    background: linear-gradient(to right, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 20px -10px var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--accent);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

/* --- Section Styling --- */
.section-padding {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    display: block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.core-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
    list-style: none;
}

.core-values li {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.core-values li i {
    width: 40px;
    height: 40px;
    background: rgba(0, 118, 168, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.core-values li:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(59, 54, 135, 0.1);
    background: var(--bg-surface);
}

.core-values li:hover i {
    background: var(--accent);
    color: white;
    transform: rotate(360deg);
}

.about-img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(59, 54, 135, 0.15);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
    border-radius: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--accent);
    z-index: 1;
    filter: drop-shadow(0 0 20px var(--accent));
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--accent);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, background 0.5s ease, border-color 0.5s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 0 10px var(--accent-glow);
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: breathingGlow 3s ease-in-out infinite;
}

@keyframes breathingGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 0 8px var(--accent-glow); border-color: rgba(0, 118, 168, 0.5); }
    50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 0 18px var(--accent-glow); border-color: var(--accent); }
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 244, 248, 1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(-3deg) translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 45px rgba(59, 54, 135, 0.2), 0 0 25px var(--accent-glow);
    animation-play-state: paused;
}

.service-card:hover::before {
    opacity: 1;
}

.core-values li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05), 0 0 8px var(--accent-glow);
    border: 1px solid var(--accent);
    transition: var(--transition);
    font-weight: 600;
    color: var(--primary);
    cursor: default;
    animation: breathingGlow 3s ease-in-out infinite;
}

.core-values li i {
    width: 35px;
    height: 35px;
    background: var(--bg-surface);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.core-values li:hover {
    transform: translateX(10px) translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(59, 54, 135, 0.1), 0 0 15px var(--accent-glow);
    background: var(--bg-surface);
}

.core-values li:hover i {
    background: var(--accent);
    color: white;
    transform: rotate(360deg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--glass);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-icon i {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon,
.service-icon:hover {
    background: var(--accent) !important;
    color: white !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.service-card:hover .service-icon i,
.service-icon:hover i {
    transform: rotateY(360deg) !important;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-link {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* --- Testimonial Section --- */
.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, background 0.5s ease, border-color 0.5s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 244, 248, 1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.testimonial-card:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(-3deg) translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: -15px 25px 50px -15px rgba(59, 54, 135, 0.2);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(0, 118, 168, 0.1);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

/* --- Contact Section --- */
.contact {
    background: var(--bg-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(59, 54, 135, 0.08);
    border-color: var(--accent);
}

.info-item i {
    width: 55px;
    height: 55px;
    background: rgba(0, 118, 168, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: var(--accent);
    color: white;
    transform: rotate(360deg);
}

.info-item i:hover {
    transform: rotate(360deg) scale(1.1) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form {
    background: white;
    padding: 4rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(59, 54, 135, 0.08);
}

.contact-form h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

input,
textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.5rem;
    border-radius: 0.75rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 118, 168, 0.1);
}


/* --- Footer --- */
footer {
    background: var(--primary);
    color: white;
    padding: 2rem 0 1rem;
    /* Reduced from 3rem 0 1rem */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: var(--text-muted);
    max-width: 300px;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
}

.footer-col ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent), 0 0 12px var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-col ul a:hover {
    color: var(--accent);
}

.footer-col ul a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 118, 168, 0.2) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.section-highlight {
    animation: section-flash 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes section-flash {
    0% {
        background-color: rgba(59, 130, 246, 0.08);
        transform: scale(1.01);
    }

    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* --- Stats & Testimonials Section --- */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 118, 168, 0.15) !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-num {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .services-grid, .stats-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .about-grid,
    .contact-grid,
    .services-grid,
    .stats-grid,
    .testimonials-grid,
    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .input-group {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        flex-direction: column !important;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column !important;
        gap: 2rem;
    }
    
    .footer-links > div {
        width: 100%;
    }

    .section-padding {
        padding: 4rem 0;
    }
    
    .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .career-form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .career-form-container {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
    }
}

/* --- Clients Marquee --- */
.clients-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    animation: marquee 40s linear infinite;
    padding: 1rem;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.client-logo-box {
    background: white;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid var(--glass-border);
}

.client-logo-box img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}

.client-logo-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 54, 135, 0.1);
    border-color: var(--accent);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Navbar Click Effect --- */
.section-click-anim {
    animation: sectionPulse 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes sectionPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(0.98);
        filter: brightness(1.2);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* --- Footer Logo Fix --- */
.footer-logo img {
    height: 60px !important;
    margin-bottom: 1.5rem;
    filter: none !important;
}

/* --- Circular Diagram --- */
.circular-diagram-container {
    position: relative;
    max-width: 1200px;
    min-height: 1000px;
    margin: 6rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.circular-track {
    position: absolute;
    width: 800px;
    height: 800px;
    border: 3px solid var(--accent); /* Solid line */
    border-radius: 50%;
    z-index: 1; /* Move behind cards */
    box-shadow: 0 0 20px var(--accent-glow), inset 0 0 20px var(--accent-glow);
    animation: pulse-glow 3s ease-in-out infinite; /* Glowing iteration effect */
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 10px var(--accent-glow); }
    50% { opacity: 1; box-shadow: 0 0 30px var(--accent-glow); }
}

/* Removed Arrow */

.circular-center {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.circular-node-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 5;
}

.circular-node-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    background: white;
    padding: 1.8rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
}

.circular-node-content:hover,
.circular-node-content.active-node {
    transform: translate(-50%, -60px) scale(1.08);
    box-shadow: 0 20px 45px rgba(59, 54, 135, 0.15);
    border-color: var(--accent);
    z-index: 20;
}

.circular-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-surface);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.circular-node-content:hover .circular-icon,
.circular-node-content.active-node .circular-icon {
    background: var(--accent);
    color: white;
    transform: rotateY(360deg);
}

.circular-node-content h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.circular-node-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Positioning for 7 nodes around a 400px radius circle */
.circular-node-wrapper:nth-child(2) { transform: rotate(270deg) translate(400px) rotate(-270deg); }
.circular-node-wrapper:nth-child(3) { transform: rotate(321.4deg) translate(400px) rotate(-321.4deg); }
.circular-node-wrapper:nth-child(4) { transform: rotate(12.8deg) translate(400px) rotate(-12.8deg); }
.circular-node-wrapper:nth-child(5) { transform: rotate(64.2deg) translate(400px) rotate(-64.2deg); }
.circular-node-wrapper:nth-child(6) { transform: rotate(115.7deg) translate(400px) rotate(-115.7deg); }
.circular-node-wrapper:nth-child(7) { transform: rotate(167.1deg) translate(400px) rotate(-167.1deg); }
.circular-node-wrapper:nth-child(8) { transform: rotate(218.5deg) translate(400px) rotate(-218.5deg); }

/* Mobile Fallback: Stack them vertically */
@media (max-width: 992px) {
    .circular-diagram-container {
        flex-direction: column;
        gap: 1.5rem;
        min-height: auto;
        margin: 2rem auto;
        padding: 0 15px;
    }
    .circular-track {
        display: none;
    }
    .circular-center {
        position: relative;
        margin-bottom: 2rem;
        box-shadow: 0 10px 30px rgba(59, 54, 135, 0.3);
    }
    .circular-node-wrapper {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        transform: none !important;
        height: auto;
    }
    .circular-node-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .circular-node-content:hover {
        transform: translateY(-5px) !important;
    }
}