:root {
    --primary-color: #4b1e63;
    --secondary-color: #2c0f3b;
    --accent-color: #28a745;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

/* Remover scroll-behavior: smooth; pois ele entra em conflito com o Lenis e GSAP ScrollTrigger */
html {
    /* scroll-behavior: smooth; */
}

/* O Lenis recomenda explicitamente estas propriedades no html e body para evitar travamentos */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    height: 60px;
    opacity: 0; /* Animated with GSAP */
}

.preloader-progress-bar {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    opacity: 0; /* Animated with GSAP */
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
}

/* Animated Purple Gradient Background */
.animated-gradient-bg {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 1154px;
    height: 800px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    filter: blur(180px);
    z-index: -1;
    animation: 10s linear infinite turn;
    transform-origin: center;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes turn {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Navbar */
.navbar {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.navbar-brand img {
    height: 45px;
    transition: all 0.3s ease;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--text-color) !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
}

.menu-toggle-bar {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

.navbar.scrolled .menu-toggle-bar {
    background-color: var(--primary-color);
}

.menu-toggle.open .menu-toggle-bar:nth-child(1) {
    transform: rotate(45deg);
    background-color: white;
}

.menu-toggle.open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .menu-toggle-bar:nth-child(3) {
    transform: rotate(-45deg);
    background-color: white;
}

/* Fullscreen Overlay Menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    background: rgba(44, 15, 59, 0.98); /* dark purple */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-links li {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.menu-link {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.menu-link:hover {
    color: var(--accent-color);
}

.menu-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .menu-link {
        font-size: 2rem;
    }
}

.btn-purple {
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn-purple:hover::before {
    left: 0;
}

.btn-purple:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(75, 30, 99, 0.3);
}

.btn-outline-purple {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 75vh; /* Reduced height */
    padding-top: 80px; /* For navbar */
    position: relative;
    overflow: visible; /* Allow image to stick out */
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 30, 99, 0.90) 0%, rgba(44, 15, 59, 0.80) 100%);
    z-index: 1;
}

.hero-image-wrapper {
    position: absolute;
    bottom: -400px; /* Significantly overlap */
    right: 0;
    width: 100%;
    max-width: 550px; /* Slightly larger for better presence */
    z-index: 10;
    pointer-events: none;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
}

.gsap-hero-element {
    opacity: 0;
    transform: translateY(30px);
}

.gsap-hero-image {
    opacity: 0;
    transform: scale(0.9);
}

/* Custom Button: White with Green Text */
.btn-white-green {
    background-color: #ffffff;
    color: var(--accent-color);
    border: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-white-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn-white-green:hover::before {
    left: 0;
}

.btn-white-green:hover {
    color: white; /* Darker green or white */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

/* Adjust responsiveness for the large image */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 120px; /* More space for image */
    }
    
    .hero-image-wrapper {
        position: relative;
        bottom: -160px;
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }
    .display-4 {
        line-height: 40px!important;


    }

}

/* Utilities */
.text-purple {
    color: var(--primary-color) !important;
}

.bg-purple {
    background-color: var(--primary-color) !important;
}

.bg-dark-purple {
    background-color: var(--secondary-color) !important;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #9b59b6 0%, #4b1e63 100%) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-highlight {
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(40, 167, 69, 0.2);
    z-index: -1;
}

/* Stats Bar */
.stats-bar {
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(255,255,255,0.1);
    }
}

/* Intro Section */
.intro-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.bg-light {
padding-top:  150px;
padding-bottom: 150px;
background-color: rgb(251 249 253)!important;

}
.bg-white2 {
padding-top:  150px;
padding-bottom: 150px;

}

.about-image-wrapper {
    overflow: hidden;
    border-radius: 2rem; /* Matches rounded-5 roughly */
}

.about-image-wrapper img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    object-fit: cover;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-image-wrapper:hover video {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Dark Cards */
.dark-card {
    background-color: #2c0f3b; /* Same as secondary color */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.dark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

.dark-card:hover::before {
    left: 100%;
}

.dark-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #4b1e63 0%, #2c0f3b 100%);
    border-color: rgba(255,255,255,0.15);
}

.dark-card > * {
    position: relative;
    z-index: 2;
}

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

.dark-card:hover .icon-box-light {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.2);
}

/* Expandable Content */
.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.expand-content.open {
    max-height: 500px; /* Arbitrary large height */
    opacity: 1;
    margin-bottom: 15px;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.icon-box-light {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.btn-white-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

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

/* Organic Shapes */
.organic-shape-wrapper {
    position: relative;
    z-index: 1;
}

.organic-img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: border-radius 0.5s ease;
    object-fit: cover;
}

.organic-img:hover {
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

.organic-bg-blob {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: rgba(167, 40, 163, 0.1); /* Green accent */
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    z-index: -1;
}

.specialties-section {
    padding-top: 120px;
    padding-bottom: 120px;
    background: linear-gradient(180deg, rgb(251 249 253) 0%, #ffffff 100%) !important;
    overflow: hidden;
}

.specialties-title {
    line-height: 1.08;
    text-wrap: balance;
}

.specialties-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.specialties-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialties-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 15, 59, 0.55) 0%, rgba(44, 15, 59, 0.35) 60%, rgba(44, 15, 59, 0.25) 100%);
    pointer-events: none;
}

.specialties-media {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #ffffff;
    border: 1px solid rgba(75, 30, 99, 0.10);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

.specialties-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.specialties-content-card {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(75, 30, 99, 0.08);
}

.specialties-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 420px at 0% 50%, rgba(75, 30, 99, 0.12), transparent 55%);
    pointer-events: none;
}

.specialties-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.specialties-media:hover .specialties-image {
    transform: scale(1.05);
}

.specialties-accordion .accordion-item {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 12px;
}

.specialties-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.specialties-accordion .accordion-button {
    padding: 1.05rem 1.1rem;
    background-color: #ffffff;
    color: var(--secondary-color);
    box-shadow: none;
    font-weight: 700;
    gap: 12px;
    line-height: 1.2;
}

.specialties-accordion .accordion-button:not(.collapsed) {
    background-color: #ffffff;
    color: var(--primary-color);
}

.specialties-accordion .accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(75, 30, 99, 0.12);
    border-color: rgba(75, 30, 99, 0.25);
}

.specialties-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(16%) sepia(40%) saturate(3554%) hue-rotate(263deg) brightness(93%) contrast(96%);
    transform: scale(0.85);
}

.specialties-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg) scale(0.85);
}

.specialties-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: rgba(75, 30, 99, 0.08);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.specialties-label {
    font-size: 1.05rem;
}

.specialties-accordion .accordion-body {
    padding: 1rem 1.1rem 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.specialties-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}

.specialties-list li:last-child {
    margin-bottom: 0;
}

.specialties-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 800;
}

@media (max-width: 991px) {
    .specialties-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .specialties-media {
        border-radius: 28px;
    }

    .specialties-label {
        font-size: 1rem;
    }
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(75, 30, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

/* Refined Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.5px;
}

.display-4, .display-5, .display-6 {
    letter-spacing: -1.5px;
}

.display-4 {
    font-weight: 700;
    line-height: 1.1;
}

/* Team Modal Refinement */
.modal-content {
    border-radius: 2rem !important;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-backdrop.show {
    opacity: 0.8;
    backdrop-filter: blur(10px);
}

/* Animations */
.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.scroll-down-indicator {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

/* Sector List */
.sector-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Contact Section */
.contact-form .form-control, 
.contact-form .form-select {
    background-color: #f8f9fa; /* Light gray background for inputs */
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(75, 30, 99, 0.1);
}

.contact-form label {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Footer Styles */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.social-btn:hover {
    background-color: var(--accent-color); /* Green */
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.hover-white:hover {
    color: white !important;
}

/* Custom Accordion */
.custom-accordion .accordion-button {
    background-color: white;
    color: var(--primary-color);
    box-shadow: none;
    font-size: 1.1rem;
    padding: 1.25rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #f8f4fb; /* Very light purple */
    color: var(--primary-color);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.125);
}

.custom-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(16%) sepia(40%) saturate(3554%) hue-rotate(263deg) brightness(93%) contrast(96%); /* Purple color filter */
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg) scale(0.8);
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.custom-accordion .accordion-body ul li {
    display: flex;
    align-items: flex-start;
}

.custom-accordion .accordion-body ul li i {
    margin-top: 4px; /* Align icon with text */
}

/* Modern FAQ Styles */
.modern-faq .accordion-item {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
}

.modern-faq .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(75, 30, 99, 0.08) !important;
    border-color: rgba(75, 30, 99, 0.1);
}

.modern-faq .accordion-button {
    font-size: 1.1rem;
    color: #4b1e63; /* Purple */
    background-color: white;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 0;
}

.modern-faq .accordion-button:not(.collapsed) {
    background-color: #f8f4fb; /* Very Light Purple */
    color: #4b1e63;
    font-weight: 800;
    padding-bottom: 1rem;
}

.modern-faq .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Custom Arrow for FAQ */
.modern-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234b1e63'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease-in-out;
}

.modern-faq .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.faq-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(75, 30, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.modern-faq .accordion-button:not(.collapsed) .faq-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(360deg);
}

.modern-faq .accordion-body {
    border-top: 1px solid rgba(0,0,0,0.05);
    line-height: 1.7;
}

.blog-card-img {
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-img--placeholder {
    height: 200px;
}

.blog-article {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.blog-hero-img {
    max-height: 420px;
    object-fit: cover;
}

.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #1f2937;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #111827;
}

.blog-article-content a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.blog-article-content a:hover {
    text-decoration: underline;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.blog-article-content blockquote {
    border-left: 4px solid rgba(75, 30, 99, 0.25);
    padding: 0.75rem 1rem;
    margin: 1.5rem 0;
    background: rgba(75, 30, 99, 0.04);
    border-radius: 0.75rem;
}

.blog-article-content pre {
    padding: 1rem;
    background: #0b1020;
    color: #e5e7eb;
    border-radius: 0.75rem;
    overflow-x: auto;
}

@media (max-width: 575.98px) {
    .display-4 {
        font-size: 1.9rem;
        line-height: 1.25;
    }
    .display-5 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    .display-6 {
        font-size: 1.4rem;
        line-height: 1.35;
    }
    .hero-section {
        overflow: hidden;
    }
    .animated-gradient-bg {
        top: 55%;
        left: 50%;
        width: 120vw;
        height: 120vh;
        transform: translate(-50%, -50%);
        filter: blur(140px);
    }
    .bg-light,
    .bg-white2 {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
