/* 
   Trafimedia Premium Styles 
   Font: Outfit
*/

:root {
    /* Colors */
    --primary: #257cff;
    /* Accentuation */
    --primary-light: #92beff;
    /* Bleu léger logo */
    --primary-dark: #1a5ac0;
    /* Darker shade of accent for hover/contrast */
    --secondary: #92beff;
    /* Using logo blue as secondary for now, or maybe a complementary */

    --text-main: #1e293b;
    --text-light: #64748b;

    --bg-light: #edf4ff;
    /* Light user color */
    --bg-white: #ffffff;
    --bg-dark: #0f172a;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #257cff 0%, #92beff 100%);
    --gradient-text: linear-gradient(to right, #257cff, #92beff);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-primary: 0 10px 15px -3px rgba(37, 124, 255, 0.3);

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: var(--shadow-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.phone-link {
    font-weight: 600 !important;
    color: var(--primary) !important;
    padding: 0.5rem 1rem !important;
    border: 2px solid var(--primary) !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.phone-link:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.05) !important;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-main);
}

.dropdown-toggle:hover {
    color: var(--primary);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: transparent;
}

@media (min-width: 901px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
}

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}



/* Specific class for right-side positioning if needed, 
   but we can just rely on flex layout in hero-visual if we change it to column */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    /* Stack glass card and badge */
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* Spacing between card and badge */
}

.google-partner-hero {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    /* Pop out more */
    background: white;
    padding: 15px;
    border-radius: 12px;
}

.circle-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.6;
}

.circle-gradient.big {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.circle-gradient.small {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: 0;
    left: 20px;
    animation: float 8s ease-in-out infinite reverse;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for text readability */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 320px;
    /* Slightly wider for the list */
    transform: rotate(-3deg);
    transition: transform 0.3s;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Reduced gap */
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Reduced gap */
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

.hero-benefits li span:last-child {
    font-weight: 500;
    font-size: 1.35rem;
    /* Increased size */
    color: var(--text-main);
    line-height: 1.2;
}

.hero-benefits .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    font-size: 1.2rem;
}



.glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-services-row {
    grid-column: 1 / -1;
    /* Stretch across both columns */
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    /* Spacing from main content */
    align-items: center;
    justify-content: space-between;
    /* Spread across the width */
    flex-wrap: wrap;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Optional separator */
}

.hero-services-row img {
    height: 120px;
    /* 1.2x larger */
    width: auto;
    object-fit: contain;
    opacity: 1;
    /* Full opacity */
    transition: transform 0.3s;
    filter: none;
    /* Full color */
}

.hero-services-row img[alt="Google Partner"] {
    height: 100px;
    /* Keep original size */
}

.hero-services-row img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}



/* Services */
.services {
    background-color: #f8fafc;
    /* Subtle gray to make white cards pop */
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Service Sections - Full Width Layout */
.service-rows {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-visual {
    flex: 1;
    position: relative;
    height: 350px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.service-visual img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.service-row:hover .service-visual img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 900px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .service-visual {
        width: 100%;
        height: 250px;
    }
}

/* Features / Expertises */
.bg-light {
    background-color: var(--bg-light);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.visual-side .image-wrapper {
    background: #cbd5e1;
    border-radius: 20px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.visual-side .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abstract-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e0e7ff 0%, #fae8ff 100%);
}

/* Dark Section / Stats */
.dark-section {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
    text-align: center;
    flex-wrap: wrap;
}

.stat-box .number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box .label {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Testimonials */
/* Result Cards */
/* Ensure cards are equal height and align properly */
.grid-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.result-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    height: 100%;
    flex: 1 1 300px;
    /* Grow, shrink, base width */
    max-width: 400px;
    /* Optional cap */
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-md);
}

.result-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--primary);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1rem;
}

.result-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-list li {
    position: relative;
    padding-left: 1.7rem;
    /* Slight increase for emoji space */
    font-size: 0.95rem;
    color: var(--text-main);
}

.result-list li::before {
    content: '✅';
    /* Changed to checkmark or graph as preferred, user said 'emoticons', using check/chart */
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}

.author .info span {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Problems & Solutions Section */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-align: center;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.problem-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.problem-list li::before {
    content: '❌';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
}

.solution-text {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-main);
}

.solution-text strong {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

.form-wrapper {
    background: white;
    /* Restoring background */
    width: 90%;
    max-width: 800px;
    padding: 2.5rem;
    border-radius: 20px;
    /* Restoring likely intended border radius matching glass-card or similar */
    margin: 0 auto;
    /* Center it in the column */
}

.contact-phone a:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.05);
}

/* Legal Page Styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.legal-content h1 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.legal-content .legal-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--secondary);
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* Pricing Page Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: flex-start;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    background: #f8fbff;
}

.pricing-card.premium {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: none;
}

.pricing-card.premium .card-header h3,
.pricing-card.premium .price-block .price,
.pricing-card.premium .price-block .period,
.pricing-card.premium .price-block .note,
.pricing-card.premium .pricing-features li {
    color: white;
}

.pricing-card.premium .pricing-features li strong {
    color: var(--primary-light);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.commitment {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge {
    position: absolute;
    top: -35px;
    right: -35px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-card .badge {
    position: static;
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    transform: none;
}

.badge.gradient {
    background: var(--gradient-text);
}

.price-block {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-card.premium .price-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-block .price {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-block .period {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.price-block .intro {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price-block .note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.pricing-features li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-card.premium .pricing-features li::before {
    color: var(--primary-light);
}

.pricing-features li.option-item {
    font-style: italic;
    color: var(--text-light);
}

.pricing-features li.option-item::before {
    content: '+';
    color: var(--secondary);
}

@media (min-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-card.premium {
        grid-column: span 1;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}


/* Partner Badge */
.partner-badge {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.partner-badge img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {

    .hero-content,
    .split-layout,
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }

    .glass-card {
        margin: 0 auto;
    }

    .three-cols {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* simple mobile menu hide for now, JS toggles */
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        align-items: flex-start;
        /* Align items to the left */
    }

    .nav-links.active a {
        text-align: left;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Dropdown Overrides */
    .dropdown {
        display: block;
        width: 100%;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        width: 100%;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        background: #f8fafc;
        /* Slightly different bg for contrast */
        border-radius: 8px;
        display: none;
        /* Explicitly hidden until active */
    }

    .dropdown.active .dropdown-menu {
        display: block;
        /* Show when active */
    }

    /* Hero Logos Mobile */
    .hero-services-row {
        justify-content: center;
        gap: 1rem;
        flex-wrap: nowrap !important;
        margin-top: 1rem;
    }

    .hero-services-row img {
        height: 40px !important;
        width: auto;
    }

    .hero-services-row img[alt="Google Partner"] {
        height: 35px !important;
    }

}

/* Blog Feed Section */
.blog-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 250px;
    max-width: 300px;
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    /* Ensure equal height in flex container */
    text-align: left;
    /* Reset text align just in case */
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #cbd5e1;
    /* Placeholder color */
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    line-height: 1.3;
    font-weight: 700;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.blog-link:hover {
    color: var(--primary-dark);
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}