/* --- High-End CSS Architecture --- */
:root {
    --primary: #0d2b5e; /* Aviva Navy */
    --secondary: #d6b36a; /* Aviva Gold */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-offwhite: #f8fafc;
    --shadow-soft: 0 20px 40px -10px rgba(13, 43, 94, 0.08);
    --shadow-hover: 0 30px 60px -15px rgba(13, 43, 94, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-light { background-color: var(--bg-offwhite); }
.bg-dark { background-color: var(--primary); color: white; }
.text-gold { color: var(--secondary); }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(214, 179, 106, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-nav {
    background: rgba(214, 179, 106, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--secondary);
    color: white;
}

.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* --- Navigation (Glassmorphism) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Update the wrapper to crop any overlapping space */
.logo {
    display: flex;
    align-items: center;
    height: 65px;       /* Locks the height to the navbar */
    overflow: hidden;   /* Slices off the giant white box hanging below */
}

/* Update the image to make the white transparent */
.logo-image { 
    height: 65px; 
    transform: scale(1.9); /* You can increase this now since it is cropped safely */
    transform-origin:  center; 
    mix-blend-mode: multiply; /* The magic trick: this turns the white background completely invisible */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover { color: var(--secondary); }

/* --- Compact Hero Section --- */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(214,179,106,0.05) 0%, rgba(255,255,255,0) 60%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(13, 43, 94, 0.05);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Floating Stats (Right Side of Hero) */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0,0,0,0.03);
}

.floating-delay {
    transform: translateX(40px);
}

.premium-shadow {
    box-shadow: var(--shadow-soft);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-offwhite);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* --- Global Sections --- */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- Services / Expertise --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover .card-accent {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 { margin-bottom: 16px; font-size: 1.3rem; color: var(--primary); }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 500px;
}

.visual-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-offwhite) 0%, #e2e8f0 100%);
    border-radius: 20px;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--secondary);
}

.exp-years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.2;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary);
}

.sub-text {
    color: var(--text-light);
    margin-bottom: 30px;
}

.value-props {
    list-style: none;
}

.value-props li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 1.05rem;
}

/* --- Methodology --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(13, 43, 94, 0.1);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    transition: var(--transition);
}

.step:hover .step-number {
    background: var(--primary);
    color: white;
}

.step h4 { margin-bottom: 12px; font-size: 1.1rem; }
.step p { color: var(--text-light); font-size: 0.9rem; }

/* --- Contact Section --- */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.contact-info {
    padding: 60px 40px;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; opacity: 0.8; }

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-form-wrapper { padding: 60px; }

/* --- Spiced-Up Form Design --- */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column-reverse; /* Allows sibling selector for label */
}

/* Premium filled inputs with focus glows */
.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    margin-left: 5px;
    transition: var(--transition);
}

/* Active/Focus states to make it "pop" */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(214, 179, 106, 0.15); /* Gold glowing halo */
}

.input-group input:focus + label,
.input-group select:focus + label,
.input-group textarea:focus + label {
    color: var(--primary);
}

/* Add a subtle pattern to the dark contact box to make it less bland */
.contact-info {
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(214, 179, 106, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: rotate(30deg);
    z-index: 0;
    pointer-events: none;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}
/* --- Premium Footer --- */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 80px 0 30px;
    border-top: 4px solid var(--secondary); /* Adds a sharp gold accent line at the top */
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Original Logo Handling */
.footer-logo {
    max-width: 240px; /* Controls the size without distorting it */
    height: auto;
    margin-bottom: 24px;
    border-radius: 6px; /* Softens the corners of the white JPG background */
    display: block;
}

.company-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 90%;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

/* Footer Links & Contact */
.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i {
    margin-top: 4px;
}

/* Newsletter Form */
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 6px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: white;
    color: var(--primary);
}

/* Footer Bottom (Copyright & Legal) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: white;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-box { grid-template-columns: 1fr; }
    .hero { padding-top: 150px; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin: 0 auto 40px; }
    .floating-delay { transform: none; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-soft);
        display: none;
    }
    .nav-menu.active { display: flex; }
    .process-steps, .form-row { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .contact-form-wrapper { padding: 40px 20px; }
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        width: 30px;
    }
    .mobile-menu-toggle span {
        display: block;
        height: 2px;
        background: var(--primary);
        margin-bottom: 6px;
    }
}
/* --- Advanced Graphics & Visual Elements --- */

/* Hero Overhaul */
.advanced-hero {
    position: relative;
    padding: 220px 0 120px;
    background: transparent;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* High-end tech/corporate background image */
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2000');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05); /* Slight zoom for smoothness */
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep blue gradient fading to dark transparent */
    background: linear-gradient(135deg, rgba(13, 43, 94, 0.95) 0%, rgba(13, 43, 94, 0.7) 100%);
    z-index: -1;
}

/* Glassmorphism Effects (TekTree style) */
.glass-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Utilities for Dark Backgrounds */
.text-white { color: #ffffff !important; }
.text-light-gray { color: #cbd5e1 !important; }
.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
    background: #ffffff;
    color: var(--primary);
}

/* Glowing Button Effect */
.glow-effect {
    box-shadow: 0 0 20px rgba(214, 179, 106, 0.4);
}
.glow-effect:hover {
    box-shadow: 0 0 30px rgba(214, 179, 106, 0.6);
}

/* Services with Images instead of white boxes */
.tech-pattern-bg {
    background-color: var(--bg-offwhite);
    /* Subtle dot grid pattern */
    background-image: radial-gradient(rgba(13, 43, 94, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.image-card {
    padding: 0;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    position: relative;
    border: none;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 1;
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient over the image so text is readable */
    background: linear-gradient(to top, rgba(13, 43, 94, 0.95) 0%, rgba(13, 43, 94, 0.2) 100%);
    z-index: 2;
    transition: var(--transition);
}

.card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    transform: translateY(10px);
    transition: var(--transition);
}

.image-card:hover .card-bg {
    transform: scale(1.1); /* Image zooms on hover */
}
.image-card:hover::before {
    background: linear-gradient(to top, rgba(13, 43, 94, 0.98) 0%, rgba(13, 43, 94, 0.4) 100%);
}
.image-card:hover .card-content {
    transform: translateY(0);
}

/* Image Composition (About Section) */
.about-image-composition {
    position: relative;
    height: 550px;
}

.img-main {
    width: 80%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
}

.img-secondary {
    width: 55%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    position: absolute;
    bottom: 30px;
    right: 0;
    border: 8px solid var(--bg-white); /* Creates a frame effect */
}

/* Floating animation for badge */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
    z-index: 4;
}

/* Parallax Call to Action */
.parallax-cta {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2000');
    background-attachment: fixed; /* THIS creates the parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0;
}

/* --- Fix for Parallax Call to Action Alignment --- */
.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; /* Forces the button and text to the center horizontally */
    justify-content: center;
    text-align: center; /* Centers the actual text inside the tags */
    width: 100%;
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    width: 100%;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
}
/* --- Insights & Testimonials Section --- */
.mt-4 { margin-top: 40px; }

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--secondary);
}

.author-info h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
}

/* Blogs Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    font-size: 0.8rem;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.blog-content h3 a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--secondary);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary);
    gap: 12px;
}

@media (max-width: 992px) {
    .testimonial-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Hero Stats Alignment Fix --- */
.stat-value-row {
    display: flex;
    align-items: baseline; /* Aligns the + and % perfectly with the bottom of the numbers */
    gap: 2px;
}

/* --- Form Compliance Checkbox Styling --- */
.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    padding: 0 5px;
}

/* Custom Box Design */
.consent-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f8fafc;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    margin-top: 2px;
}

/* Hover and Focus States */
.consent-group input[type="checkbox"]:hover,
.consent-group input[type="checkbox"]:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(214, 179, 106, 0.1);
    outline: none;
}

/* Checked State (Gold Background) */
.consent-group input[type="checkbox"]:checked {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

/* Custom White Checkmark */
.consent-group input[type="checkbox"]:checked::after {
    content: '\2714';
    font-size: 14px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Disclaimer Text Styling */
.consent-group label {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
    font-weight: 500;
}
/* --- Placeholder & Dropdown Segregation Styling --- */

/* Style the light grey prefilled text */
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #94a3b8; /* Professional light slate grey */
    opacity: 1; /* Ensures Firefox doesn't fade the color */
    font-weight: 400;
}

/* Style the dropdown category headers */
.input-group select optgroup {
    font-weight: 700;
    color: var(--primary);
    background: #f1f5f9; /* Slight background to make headers pop */
    font-style: normal; /* Removes default browser italicization */
}

/* Style the dropdown options */
.input-group select option {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px;
    background: #ffffff;
}
/* --- Comprehensive Solutions Grid (10 Items) --- */
.comprehensive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.solution-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Subtle left border to anchor the card */
.solution-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.2;
    transition: var(--transition);
}

.solution-card.tech-highlight::before {
    background: var(--secondary); /* Gold accent for tech services */
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.solution-card.tech-highlight .icon-wrapper {
    color: var(--secondary);
}

.solution-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
}

.solution-card.tech-highlight:hover .icon-wrapper {
    background: var(--secondary);
    color: white;
}

.solution-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
/* --- High-End Image Cards (For Services) --- */
.image-bg-card {
    background-size: cover;
    background-position: center;
    border: none;
    padding: 0;
    min-height: 280px;
}

.image-bg-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 43, 94, 0.95) 0%, rgba(13, 43, 94, 0.6) 100%);
    z-index: 1;
    transition: var(--transition);
}

.image-bg-card .card-content {
    position: relative;
    z-index: 2;
    padding: 35px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.image-bg-card h3 {
    color: white;
    font-size: 1.3rem;
}

.image-bg-card p {
    color: rgba(255, 255, 255, 0.8);
}

.image-bg-card .icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--secondary);
    margin-bottom: auto; /* Pushes the text to the bottom */
}

.image-bg-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(13, 43, 94, 0.8) 0%, rgba(13, 43, 94, 0.3) 100%);
}

.image-bg-card:hover {
    transform: scale(1.03); /* Slight 3D pop on hover */
}

/* --- Parallax Testimonials Block --- */
.parallax-testimonials {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 43, 94, 0.85);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.parallax-testimonials .testimonial-grid {
    margin-bottom: 0; /* Overrides previous margin */
}

.parallax-testimonials .glass-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
}