/* FONT IMPORTS */
@import url("https://fonts.googleapis.com/css2?family=Tinos:wght@700&family=Poppins:wght@400;500;600&display=swap");

/* ROOT VARIABLES */
:root {
    --font-heading: "Tinos", serif;
    --font-body: "Poppins", sans-serif;
    --color-main: #470a14;

    --color-secondary: #b61634;
    --color-background: #f7f7ff;
    --color-accent-bg: #283d3b;
    --color-text: #101918;
    --color-white: #ffffff;
}

/* GENERAL RESETS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- HEADER & NAVIGATION --- */
.header {
    background-color: var(--color-background);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}
.top-bar {
    background-color: #f1f1f1;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #ddd;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    align-items: center;
    margin: 5px 10px;
}
.contact-item i {
    color: var(--color-main);
    margin-right: 8px;
}
.contact-item a,
.contact-item span {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item a:hover {
    color: var(--color-secondary);
}
.main-nav {
    padding: 15px 0;
}
.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-main);
    text-decoration: none;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a:focus {
    color: var(--color-secondary);
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
    color: black;
}
.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    border-radius: 4px;
}
.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: var(--color-text);
}

.dropdown-content a::after {
    display: none;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown a i {
    font-size: 0.7rem;
    margin-left: 5px;
}
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-main);
}

/* --- BUTTON STYLES (CLEANED) --- */
.btn-17,
.btn-17 *,
.btn-17:after,
.btn-17:before {
    border: 0 solid;
    box-sizing: border-box;
}
.btn-17 {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: button;
    background-color: var(--color-main);
    color: var(--color-white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--color-secondary);
    border-radius: 99rem;
    padding: 0.7rem 1.9rem;
    margin: 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.btn-17:disabled {
    cursor: default;
}
.btn-17 .text-container {
    display: block;
    position: relative;
    mix-blend-mode: difference;
}
.btn-17 .text {
    display: block;
    position: relative;
}
.btn-17:hover .text {
    animation: move-up-alternate 0.3s forwards;
}
@keyframes move-up-alternate {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(80%);
    }
    51% {
        transform: translateY(-80%);
    }
    to {
        transform: translateY(0);
    }
}
.btn-17:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.btn-17:after,
.btn-17:before {
    --skew: 0.2;
    background: var(--color-white);
    content: "";
    display: block;
    height: 102%;
    left: calc(-50% - 50% * var(--skew));
    pointer-events: none;
    position: absolute;
    top: -104%;
    transform: skew(calc(150deg * var(--skew))) translateY(var(--progress, 0));
    transition: transform 0.2s ease;
    width: 100%;
}
.btn-17:after {
    --progress: 0%;
    left: calc(50% + 50% * var(--skew));
    top: 102%;
    z-index: -1;
}
.btn-17:hover:before {
    --progress: 100%;
}
.btn-17:hover:after {
    --progress: -102%;
}
.btn-inverted {
    background-color: var(--color-white);
    color: var(--color-main);
    border: 2px solid var(--color-white);
    border: 2px solid var(--color-secondary);
}
.btn-inverted:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-main);
}
.btn-17.btn-inverted .text-container,
.newsletter-form .btn-17 .text-container,
.cta-box .btn-17 .text-container {
    mix-blend-mode: normal;
}

/* --- WAVE DIVIDER SYSTEM (XED) --- */
.hero,
.why-choose-us,
.history-section,
.contact-follow-wrapper {
    position: relative;
    padding-bottom: 225px;
}
.wave-divider,
.wave-divider-bottom {
    position: absolute;
    bottom: -4px;

    left: 0;
    width: 106%;
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg,
.wave-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(101% + 1.3px);
    height: 90px;
    padding-top: 0px;
}
.hero .wave-divider .shape-fill {
    fill: var(--color-main);
}
.why-choose-us .wave-divider-bottom .shape-fill {
    fill: var(--color-background);
}
.history-section .wave-divider-bottom .shape-fill {
    fill: var(--color-main);
}
.contact-follow-wrapper .wave-divider-bottom .shape-fill {
    fill: var(--color-background);
}

.testimonials-section .wave-divider-bottom .shape-fill {
    fill: var(--color-main);
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    animation: fadeInSlideUp 1s ease-out forwards;
}
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-text);
    margin-bottom: 20px;
}
.hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}
.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.btn-secondary {
    font-family: var(--font-body);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-secondary i {
    transition: transform 0.3s ease;
}
.btn-secondary:hover {
    color: var(--color-secondary);
}
.btn-secondary:hover i {
    transform: translateX(5px);
}
.specializations-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.spec-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}
.spec-item i {
    color: var(--color-secondary);
    margin-right: 8px;
}

/* --- STATS SECTION --- */
.stats-section {
    background-color: var(--color-main);
    padding-top: 100px;
    padding-bottom: 80px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item {
    text-align: center;
    color: var(--color-white);
}
.stat-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px auto;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}
.stat-item:hover .stat-icon {
    transform: scale(1.1);
}
.stat-icon i {
    font-size: 2.5rem;
    color: var(--color-main);
}
.stat-number {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.stat-number::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--color-secondary);
}
.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-us {
    background-color: var(--color-main);
    padding-top: 100px;
}
.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.feature-card {
    background-color: var(--color-white);
    padding: 30px;
    border: 2px solid #5a2e36;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease-out forwards;
}
.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}
.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}
.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--color-main);
    margin-bottom: 20px;
}
.feature-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}
.feature-card-link {
    text-decoration: none;
    color: var(--color-main);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    transition:
        color 0.3s ease,
        gap 0.3s ease;
}
.feature-card-link i {
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-card-link {
    color: var(--color-secondary);
    gap: 12px;
}
.feature-card:hover .feature-card-link i {
    transform: translateX(4px);
}
.why-choose-us-content {
    padding-left: 20px;
}
.why-choose-us-content .section-subtitle,
.section-subtitle {
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.why-choose-us-content .section-title,
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 20px;
}
.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
}
.why-choose-us-content .section-title {
    color: var(--color-white);
}
.team-section .section-title,
.history-section .section-title,
.testimonials-section .section-title,
.faq-section .section-title {
    color: var(--color-text);
}

/* --- TEAM SECTION --- */
.team-section {
    background-color: var(--color-background);
    padding: 100px 0;
}
.section-header-centered {
    text-align: center;
    margin-bottom: 60px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}
.team-card {
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid #eee;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease-out forwards;
    border: 3px solid var(--color-secondary);
}
.team-card:nth-child(2) {
    animation-delay: 0.1s;
}
.team-card:nth-child(3) {
    animation-delay: 0.2s;
}
.team-card:nth-child(4) {
    animation-delay: 0.3s;
}
.team-card:nth-child(5) {
    animation-delay: 0.4s;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.team-card-image {
    overflow: hidden;
}
.team-card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
}
.team-card:hover .team-card-image img {
    transform: scale(1.05);
}
.team-card-content {
    padding: 25px 15px;
}
.team-member-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-main);
    margin-bottom: 5px;
}
.team-member-title {
    color: #666;
    margin-bottom: 15px;
}
.team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.team-socials a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}
.team-socials a:hover {
    color: var(--color-secondary);
    transform: scale(1.1);
}

/* --- HISTORY & TESTIMONIALS SECTION (SHARED LIGHT BG) --- */
.history-section {
    background-color: var(--color-background);
    padding: 100px 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.timeline-column {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #e0e0e0;
}
.timeline-event {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease-out forwards;
}
.timeline-column:nth-child(1) .timeline-event:nth-child(1) {
    animation-delay: 0.1s;
}
.timeline-column:nth-child(1) .timeline-event:nth-child(2) {
    animation-delay: 0.2s;
}
.timeline-column:nth-child(2) .timeline-event:nth-child(1) {
    animation-delay: 0.3s;
}
.timeline-column:nth-child(2) .timeline-event:nth-child(2) {
    animation-delay: 0.4s;
}
.timeline-column:nth-child(3) .timeline-event:nth-child(1) {
    animation-delay: 0.5s;
}
.timeline-column:nth-child(3) .timeline-event:nth-child(2) {
    animation-delay: 0.6s;
}
.timeline-event:last-child {
    margin-bottom: 0;
}
.timeline-event::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -40px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    border: 3px solid var(--color-background);
    z-index: 1;
}
.event-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 8px;
}
.event-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-main);
    margin-bottom: 10px;
}
.event-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.testimonials-section {
    background-color: var(--color-background);

    padding-bottom: 179px;
    padding-top: 37px;
    padding-left: 0;
    padding-right: 0;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}
.testimonials-header .header-text {
    flex: 1 1 400px;
}
.testimonials-header .header-desc {
    flex: 1 1 300px;
    max-width: 450px;
    color: #555;
    line-height: 1.7;
    padding-top: 10px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e9e9e9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
}
.rating-box {
    background-color: var(--color-white);
    color: var(--color-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 5px;
}
.rating-box i {
    color: #facc15;
}
.card-text {
    color: #555;
    line-height: 1.7;
    flex-grow: 1;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-secondary);
}
.card-author span {
    font-weight: 600;
    color: var(--color-text);
}

/* --- CONTACT & FOLLOW WRAPPER --- */
.contact-follow-wrapper {
    background-color: var(--color-main);
    padding-top: 117px;
}
.contact-block {
    padding-bottom: 80px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: 50px;
}
.contact-content {
    color: var(--color-white);
}
.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-main);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.contact-content .section-title-light {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--color-white);
}
.contact-subtitle {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-bottom: 20px;
}
.contact-details {
    margin-bottom: 35px;
}
.contact-details p,
.contact-details a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.9;
    transition: color 0.3s ease;
}
.contact-details a:hover {
    color: var(--color-secondary);
}
.contact-map {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 3px solid var(--color-secondary);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
}
.follow-block {
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.follow-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}
.follow-title {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    flex-shrink: 0;
}
.follow-header .line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}
.socials-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}
.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.social-link:hover {
    transform: translateY(-5px);
}
.social-link i {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}
.social-link span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-white);
    transition: color 0.3s ease;
}
.social-link:hover i,
.social-link:hover span {
    color: var(--color-secondary);
}

/* --- FAQ & PRE-FOOTER (SHARED LIGHT BG) --- */
.faq-section,
.pre-footer-cta {
    background-color: var(--color-background);
    padding: 100px 0;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
}
.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s ease;
}
.faq-question i {
    font-size: 1.2rem;
    color: var(--color-main);
    transition:
        transform 0.4s ease,
        color 0.3s ease;
}
.faq-question:hover span,
.faq-item.active .faq-question span {
    color: var(--color-secondary);
}
.faq-question:hover i,
.faq-item.active .faq-question i {
    color: var(--color-secondary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.5s ease-out,
        padding 0.5s ease-out;
}
.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    padding: 0 10px 25px 0;
}
.faq-item.active .faq-question i {
    transform: rotate(135deg);
}
.faq-item.active .faq-answer {
    max-height: 200px;
}
.cta-box {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 164px 47px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    flex-grow: 1;
}

/* --- SITE FOOTER --- */
.site-footer {
    background-color: var(--color-main);
    color: #ccc;
    padding: 80px 0 30px 0;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.footer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.link-icon {
    margin-right: 1rem;
}
.link-text {
    flex-grow: 1;
    font-weight: 500;
}
.link-arrow {
    transition: transform 0.3s ease-in-out;
}
.footer-link:hover .link-arrow {
    transform: translateX(5px);
}
.footer-link:hover {
    color: var(--color-secondary);
}
.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-white);
}
.logo-footer {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}
.footer-about p {
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 50px;
}
.footer-socials a {
    color: var(--color-white);
    margin-right: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.footer-socials a:hover {
    color: var(--color-secondary);
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column ul a:hover {
    color: var(--color-white);
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 2px solid var(--color-secondary);
    background-color: var(--color-white);
    color: var(--color-main);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
}
.privacy-check {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.privacy-check input {
    margin-right: 10px;
}
.privacy-check a {
    color: var(--color-white);
    text-decoration: underline;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}
.footer-credit a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.footer-credit a:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .top-bar-content {
        justify-content: center;
    }
    .contact-item:nth-child(3) {
        display: none;
    }
    .hero-title {
        font-size: 3rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .why-choose-us-content {
        text-align: center;
        padding-left: 0;
        order: 1;
    }
    .features-grid {
        order: 2;
    }
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-header {
        flex-direction: column;
        text-align: center;
    }
    .testimonials-header .header-desc {
        margin: 0 auto;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .nav-cta {
        display: none;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-accent-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease-in-out;
        z-index: 1000;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links li {
        margin: 20px 0;
    }
    .nav-links a {
        font-size: 1.2rem;
        color: var(--color-white);
    }

    /* --- NEW: MOBILE DROPDOWN STYLES --- */
    .nav-links .dropdown-content {
        /* Reset desktop styles */
        position: static;
        box-shadow: none;
        background-color: var(--color-secondary);

        border-bottom-left-radius: 11px;
        border-bottom-right-radius: 11px;
        min-width: auto;
        border: 3px solid var(--color-main);
        /* New mobile styles */
        padding-left: 0px; /* Indent sub-menu items */
        display: none; /* Hide by default */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .nav-links .dropdown.open .dropdown-content {
        display: block; /* Show when .open class is added */
        max-height: 500px; /* Animate opening */
        margin-top: 11px;
    }

    .nav-links .dropdown-content a {
        font-size: 1rem; /* Smaller font for sub-items */
        padding: 10px 20px;
        font-weight: 418;
    }

    .nav-links .dropdown > a i {
        transition: transform 0.3s ease-in-out;
    }

    .nav-links .dropdown.open > a i {
        transform: rotate(180deg); /* Rotate the arrow on open */
    }

    .dropdown-content a:hover {
        transition: width 1s ease;

        color: var(--color-main);
    }
    /* --- END: MOBILE DROPDOWN STYLES --- */

    .hero {
        padding: 40px 0 100px;
    }

    .hero {
        padding: 40px 0 100px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-text {
        font-size: 1rem;
    }
    .hero-cta {
        flex-direction: column;
        gap: 20px;
    }
    .specializations-bar {
        gap: 15px 25px;
    }
    .stats-section {
        padding: 60px 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stat-icon {
        width: 80px;
        height: 80px;
    }
    .stat-icon i {
        font-size: 2rem;
    }
    .why-choose-us-content .section-title {
        font-size: 2.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    .timeline-column {
        padding-left: 25px;
    }
    .timeline-event::before {
        left: -34px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .follow-header {
        justify-content: center;
    }
    .follow-header .line {
        display: none;
    }
    .socials-grid {
        gap: 30px 40px;
    }
    .cta-box {
        text-align: center;
        justify-content: center;
    }
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    animation: fadeInSlideUp 1s ease-out forwards;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.btn-secondary {
    font-family: var(--font-body);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

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

.btn-secondary:hover i {
    transform: translateX(5px);
}

.specializations-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.spec-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.spec-item i {
    color: var(--color-secondary);
    margin-right: 8px;
}

/* --- SECTION HEADING STYLE --- */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading .sub-heading {
    display: inline-block;
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    padding: 0 20px;
}

.section-heading .sub-heading::before,
.section-heading .sub-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: #ccc;
}

.section-heading .sub-heading::before {
    left: -30px;
}

.section-heading .sub-heading::after {
    right: -30px;
}

.section-heading .main-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

/* --- FIX FOR BROWSER AUTOFILL STYLES IN NEWSLETTER --- */
.newsletter-form input:-webkit-autofill,
.newsletter-form input:-webkit-autofill:hover,
.newsletter-form input:-webkit-autofill:focus,
.newsletter-form input:-webkit-autofill:active {
    /* Change the text color to be dark so it's visible on the light autofill background */
    -webkit-text-fill-color: var(--color-text) !important;

    /* A common hack to override the browser's default autofill background color */
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset !important;

    /* You can also adjust the font if needed */
    font-family: var(--font-body);
    transition: background-color 5000s ease-in-out 0s;
}

/* --- MODAL STYLES --- */
/* Helper class added to body when modal is open */
.modal-open {
    overflow: hidden;
}

/* The dark, blurred background overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 25, 24, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease,
        visibility 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* The main modal content box */
.modal-content {
    background-color: var(--color-background);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--color-main);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1000px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s ease;
    max-height: 95vh; /* Prevents the modal from being taller than 90% of the screen height */
    overflow-y: auto; /* Adds a vertical scrollbar INSIDE the modal if content is too tall */
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Close Button ('X') */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-main);
    cursor: pointer;
    line-height: 1;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}
.modal-close:hover {
    color: var(--color-secondary);
    transform: rotate(90deg);
}

/* Modal Header Styling */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.modal-header .sub-heading {
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 3px;
}
.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-text);
    margin-bottom: 9px;
    position: relative;
    display: inline-block;
    padding-bottom: 9px;
}
.modal-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 201px;
    height: 3px;
    background-color: var(--color-secondary);
}
.modal-header .header-text {
    max-width: 600px;
    margin: 17px auto 0;
    color: var(--color-text);
    line-height: 1.5;
}

/* Modal Body Layout (Grid) */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Left Column: Map & Details */
.modal-left-column .modal-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 3px solid var(--color-secondary);
}
.modal-contact-details {
    display: flex;
    gap: 30px;
    font-size: 1rem;
}
.contact-info-block h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.contact-info-block p {
    color: var(--color-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.contact-info-block p i {
    color: var(--color-secondary);
    margin-right: 12px;
    width: 16px;
    text-align: center;
}

/* Right Column: Form */
.modal-right-column h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}
.modal-right-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 163px;
    height: 3px;
    background-color: var(--color-secondary);
}
.form-group {
    margin-top: 20px;
}
#modal-contact-form input,
#modal-contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-secondary);
    border-radius: 99rem; /* Pill shape */
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
#modal-contact-form textarea {
    border-radius: 20px; /* Rounded rectangle for textarea */
    resize: vertical;
}
#modal-contact-form input:focus,
#modal-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(104, 104, 104, 0.2);
}
.btn-modal-submit {
    width: 100%;
    padding: 15px;
    margin-top: 25px;
    border: 2px solid var(--color-secondary);
    border-radius: 99rem;
    background-color: var(--color-main);
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}
.btn-modal-submit:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    border: 2px solid var(--color-main);
    color: var(--color-main);
}
.btn-modal-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: translateY(0);
}

/* Thank You Modal Specifics */
.thank-you-modal {
    text-align: center;
    max-width: 450px;
}
.thank-you-modal .thank-you-icon {
    font-size: 4rem;
    color: var(--color-secondary); /* Success Green */
    margin-bottom: 20px;
}
.thank-you-modal h2 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.thank-you-modal p {
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 40px 20px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-body {
        grid-template-columns: 1fr;
    }
    .modal-header h2 {
        font-size: 2.2rem;
    }
    .modal-contact-details {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- INTAKE QUESTIONNAIRE MODAL --- */
.intake-modal {
    max-width: 800px;
    background-color: var(--color-background);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 99rem;
    overflow: hidden;
    margin-bottom: 30px;
}
.progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: var(--color-secondary);
    border-radius: 99rem;
    transition: width 0.4s ease-in-out;
}

.form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.form-step.active {
    display: block;
    opacity: 1;
}
/* ADDED: Validation error styling */
.form-group.invalid .selection-grid label,
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid .custom-select-wrapper {
    border-color: #d9534f; /* A standard error red */
    animation: shake 0.5s ease-in-out;
}

.form-group .error-message {
    display: none;
    color: #d9534f;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-group.invalid .error-message {
    display: block;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.step-title {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}
.step-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.selection-grid label {
    display: block;
    background-color: var(--color-white);
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.selection-grid label:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}
/* MODIFIED: This now correctly targets the label after its sibling input */
.selection-grid input[type="radio"]:checked + label,
.selection-grid input[type="checkbox"]:checked + label {
    background-color: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-secondary);
}
.selection-grid input[type="radio"],
.selection-grid input[type="checkbox"] {
    display: none; /* Hide the actual radio button */
}

#intake-form .form-group {
    margin-bottom: 20px;
}
#intake-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}
#intake-form input[type="text"],
#intake-form input[type="email"],
#intake-form input[type="tel"],
#intake-form textarea,
.custom-select-wrapper {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}
#intake-form input:focus,
#intake-form textarea:focus,
#intake-form select:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(71, 10, 20, 0.2);
}
#intake-form textarea {
    resize: vertical;
    min-height: 100px;
}
.step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
    position: relative;
    padding: 0;
}
.custom-select-wrapper select {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
}
.custom-select-wrapper::after {
    content: "\f078"; /* Font Awesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    color: #888;
}

/* ADDED: Input field for "Other" option in dropdowns */
.other-input-container {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease-in-out,
        margin-top 0.4s ease-in-out;
}
.other-input-container.visible {
    max-height: 100px; /* Adjust as needed */
    margin-top: 15px;
}

.disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}
.disclaimer input[type="checkbox"] {
    flex-shrink: 0;
}
/* ADDED: Fix for disclaimer label click */
.disclaimer-label {
    cursor: pointer;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.form-navigation button {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 99rem;
    border: 2px solid var(--color-main);
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-navigation .btn-next,
.form-navigation .btn-submit {
    background-color: var(--color-main);
    color: var(--color-white);
}
.form-navigation .btn-prev {
    background-color: transparent;
    color: var(--color-main);
}
.form-navigation button:hover:not(:disabled) {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}
/* MODIFIED: Clearer disabled state */
.form-navigation button:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.form-navigation .btn-prev:hover {
    background-color: #f1f1f1;
}

/* ADDED: Loading spinner for submit button */
.btn-submit.loading {
    position: relative;
    color: transparent !important;
}
.btn-submit.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .selection-grid,
    .step-grid {
        grid-template-columns: 1fr;
    }
    .intake-modal {
        padding: 20px;
    }
    .step-title {
        font-size: 1.5rem;
    }
}


/* --- CONSENT POP-UP --- */
.consent-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 550px;
    background-color: var(--color-white);
    border: 2px solid var(--color-main);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 25px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 20px;
    
    /* Animation styles */
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s;
}

.consent-popup:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.consent-icon {
    font-size: 2.5rem;
    color: var(--color-main);
}

.consent-text h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.consent-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.consent-text a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: underline;
}

.consent-actions {
    display: flex;
    gap: 10px;
}

/* New button style for secondary actions like 'Decline' */
.btn-outline {
    background-color: transparent;
    color: var(--color-main);
    border: 2px solid var(--color-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 99rem;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Responsive adjustments for the pop-up */
@media (max-width: 600px) {
    .consent-popup {
        flex-direction: column;
        text-align: center;
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: 100%;
    }
    .consent-actions {
        width: 100%;
        justify-content: center;
    }
    .consent-actions .btn-17,
    .consent-actions .btn-outline {
        flex-grow: 1;
        padding: 0.7rem;
    }
}