/* Google Fonts are now imported in header.php */

:root {
    /* Brand Colors - V2 Refined */
    --primary-gold: #FFC107;
    --primary-gold-hover: #FFB300;
    --secondary-blue: #1A237E;
    --accent-blue: #303F9F;
    --secondary-dark: #0A0F2C;
    /* Deeper navy */

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #FBFBFF;
    --text-main: #1E266D;
    /* Deep blue-ish text */
    --text-light: #525F7F;
    --border-color: #E6E9F4;

    /* Gradients */
    --grad-main: linear-gradient(135deg, #1A237E 0%, #303F9F 100%);
    --grad-gold: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(251, 251, 255, 1) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 100px;
    --header-shrink: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Effects */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--primary-gold);
}

.text-blue {
    color: var(--secondary-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--secondary-blue);
}

.btn-primary:hover {
    background: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Page Header banners */
.page-header {
    background: linear-gradient(rgba(26, 35, 126, 0.85), rgba(26, 35, 126, 0.85)), url('../images/header-bg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s forwards;
}

/* Top Bar - V2 Slim Premium */
.top-bar {
    background: var(--secondary-blue);
    color: rgba(255, 255, 255, 0.9);
    height: 45px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    height: 100%;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    /* Ensure full height for centering */
}

.top-info {
    display: flex;
    gap: 25px;
    height: 100%;
    align-items: center;
}

.top-info a,
.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    line-height: normal;
    /* Better for vertical centering with icons */
}

.top-info i {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.top-info a:hover {
    color: var(--primary-gold);
}

.top-social {
    display: flex;
    gap: 15px;
    height: 100%;
    align-items: center;
}

.top-social a {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--primary-gold);
    transform: translateY(-1px);
}

/* Header & Nav - Glassmorphism V2 Refined */
header {
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Always balanced shadow */
}

header .container {
    height: 100%;
}

header.scrolled {
    height: var(--header-shrink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* More prominent but centered shadow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    height: 100%;
    /* Centers the text visually within full height */
}

.logo i {
    font-size: 2rem;
    line-height: 1;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo span {
    color: var(--primary-gold);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    height: 100%;
}

.nav-links a:not(.nav-cta) {
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    position: relative;
    padding: 10px 0;
    /* Traditional padding for underline distance */
    transition: var(--transition);
    display: block;
    /* Align with nav-links flex centering */
}

.nav-links a:not(.nav-cta):hover {
    color: var(--primary-gold);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--primary-gold);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after {
    width: 100%;
}

/* Header CTA - Modern Action */
.nav-cta {
    background: var(--secondary-blue);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.nav-cta:hover {
    background: var(--primary-gold);
    color: var(--secondary-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.nav-cta i {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-cta:hover i {
    color: var(--secondary-blue);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-blue);
}

/* Hero Section - V2 Pro */
.hero {
    min-height: 700px;
    background: var(--grad-surface);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    /* Compact professional spacing */
}

/* Decorative Background Elements */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--grad-main);
    filter: blur(120px);
    opacity: 0.04;
    top: -200px;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    right: -200px;
}

.hero::after {
    left: -200px;
    background: var(--grad-gold);
    opacity: 0.03;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--secondary-blue);
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Floating Badge */
.badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(26, 35, 126, 0.05);
    color: var(--secondary-blue);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid rgba(26, 35, 126, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    animation: floatV2 8s ease-in-out infinite;
}

/* Floating Stats Card in Hero */
.hero-stats-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
    border-left: 5px solid var(--primary-gold);
}

@keyframes floatV2 {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(1deg);
    }
}

/* Features - V2 Refinement */
.features {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--grad-gold);
    margin: 15px auto 0;
    border-radius: 10px;
}

.section-title p {
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 193, 7, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--primary-gold);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin: 0 auto 30px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--secondary-blue);
    color: var(--white);
    transform: rotateY(180deg);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-blue);
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* About Section & Others */
.page-header {
    background-image: linear-gradient(rgba(10, 15, 44, 0.75), rgba(10, 15, 44, 0.75)), url('../images/about-v2.png') !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 120px 0 !important;
    color: var(--white) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Forms */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

/* Footer */
/* Trusted By Strip - V2 Minimal */
.trusted-by {
    padding: 40px 0;
    /* Standard consistent margin */
    background: var(--white);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.trusted-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    /* Balanced breathing room */
}

/* Rolling Carousel Animation */
.logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

/* Gradient Mask for Smooth Fade at Edges */
.logo-slider::before,
.logo-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-track {
    display: flex;
    width: calc(300px * 8);
    /* 300px per item * 8 items */
    animation: scroll 40s linear infinite;
    align-items: center;
}

.logo-item {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--secondary-blue);
    font-size: 1.4rem;
    opacity: 0.4;
    transition: var(--transition);
    white-space: nowrap;
}

.logo-item:hover {
    opacity: 0.9;
    color: var(--primary-gold);
}

.logo-item i {
    font-size: 1.5rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 4));
        /* Move by exactly 4 logos width */
    }
}

/* Final CTA Section - V2 Premium */
.cta-section {
    background: var(--grad-main);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer - V2 Dark Polish */
footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--primary-gold);
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transition);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--grad-gold);
    color: var(--secondary-blue);
    transform: translateY(-5px);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 250px;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Connecting Line (Desktop) */
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 70px;
        /* Aligned with step-icon */
        right: -35px;
        width: 30px;
        height: 2px;
        background: linear-gradient(to right, var(--primary-gold) 50%, transparent 50%);
        background-size: 8px 100%;
        opacity: 0.3;
        z-index: -1;
    }
}

.process-step .step-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    line-height: 1;
}

.process-step .step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--white) 0%, #f9f9f9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--secondary-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: rotate(10deg);
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--secondary-blue);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-content {
        gap: 40px;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 450px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    section {
        padding: 60px 0 !important;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .top-bar {
        display: none;
    }

    .hero {
        height: auto;
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 25px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem !important;
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.8rem;
        z-index: 1001;
        position: relative;
    }

    .mobile-toggle.active i::before {
        content: "\f00d";
    }

    .hero-stats-card {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-contact i {
        margin-bottom: 5px;
    }

    .footer-social {
        justify-content: center;
    }

    /* About Section Fixes */
    .row {
        flex-direction: column;
        text-align: center;
    }

    .stats-row {
        justify-content: center;
        flex-direction: column;
        gap: 15px !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .infra-stats {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}