/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #007BFF;
    /* A vibrant, professional blue */
    --secondary-color: #00A693;
    /* A contrasting teal/green for highlights */
    --dark-color: #1a202c;
    /* A deep charcoal for text and dark backgrounds */
    --body-color: #f7fafc;
    /* A very light grey for the main body */
    --text-color: #4a5568;
    --heading-color: #1a202c;
    --white-color: #ffffff;
    --border-color: #e2e8f0;
    --header-height: 80px;
    --primary-font: 'Poppins', sans-serif;
    --heading-font: 'Rajdhani', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

/* --- Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--body-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-logo img {
    width: 100px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 120px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 20px auto 0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    animation: loading-bar 2s ease-in-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes loading-bar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.header.sticky {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo img {
    height: 60px;
    filter: invert(1);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--heading-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    transition: all var(--transition-speed);
}

.dropdown-menu li a:hover {
    background-color: var(--body-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease-in-out;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: width 0.4s ease-in-out;
    border-radius: 50px;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary::before {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 26px;
}

.btn-secondary:hover {
    color: var(--white-color);
}

.btn-secondary::before {
    background-color: var(--primary-color);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* --- Mobile Menu --- */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    background-color: var(--dark-color);
    height: 3px;
    width: 100%;
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.25s ease-in-out;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -10px;
}

.hamburger::after {
    bottom: -10px;
}

.nav-open .hamburger {
    background: transparent;
}

.nav-open .hamburger::before {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-open .hamburger::after {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white-color);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    background-image: linear-gradient(rgba(26, 32, 44, 0.8), rgba(26, 32, 44, 0.8)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=1740&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: zoom-in 20s ease-in-out infinite alternate;
}

@keyframes zoom-in {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white-color);
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Services Section --- */
.services-section {
    background-color: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.service-card {
    background-color: transparent;
    border-radius: var(--border-radius);
    height: 350px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.service-card-front {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
}

.service-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.service-card-back h3 {
    color: var(--white-color);
}

.service-card-back ul {
    margin-top: 15px;
    margin-bottom: 20px;
    padding-left: 0;
    text-align: left;
}

.service-card-back li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.service-card-back li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}


.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all var(--transition-speed);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* --- Why Choose Us Section --- */
.why-choose-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.wcu-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.wcu-image-container img {
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.wcu-image-container:hover img {
    transform: scale(1.05);
}

.wcu-content .section-title {
    font-size: 2.5rem;
}

.wcu-features {
    margin-top: 30px;
}

.wcu-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.wcu-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all var(--transition-speed);
}

.wcu-feature-item:hover .wcu-feature-icon {
    background-color: var(--secondary-color);
    transform: rotate(15deg) scale(1.1);
}

.wcu-feature-text h3 {
    font-size: 1.25rem;
}

/* --- Stats Section --- */
.stats-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* --- Process Section --- */
.process-section {
    background-color: var(--white-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.process-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-item:nth-child(odd) {
    left: 0;
    padding-right: 70px;
    text-align: right;
}

.process-item:nth-child(even) {
    left: 50%;
    padding-left: 70px;
    text-align: left;
}

.process-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    transition: all var(--transition-speed);
}

.process-item:hover .process-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-50%) scale(1.1);
}

.process-item:nth-child(even) .process-icon {
    left: -30px;
}

.process-content {
    padding: 20px 30px;
    background-color: var(--body-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.process-content h3 {
    color: var(--primary-color);
}


/* --- Testimonials Section --- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform var(--transition-speed);
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 40px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--body-color);
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 60px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.cta-wrapper h2 {
    color: var(--white-color);
    font-size: 2.2rem;
}

.cta-content {
    flex-basis: 60%;
}

.cta-content p {
    opacity: 0.9;
    max-width: 500px;
}

.cta-action {
    flex-basis: 35%;
    text-align: right;
}

.cta-action .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.cta-action .btn-primary::before {
    background-color: var(--dark-color);
}

.cta-action .btn-primary:hover {
    color: var(--white-color);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3 {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-about p {
    margin-bottom: 25px;
}

.footer-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    margin-right: 10px;
    transition: all var(--transition-speed);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed);
}

.footer-links ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li a:hover {
    color: var(--white-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* --- Scroll Animations --- */
[data-animation] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animation="fade-up"] {
    transform: translateY(50px);
}

[data-animation="fade-down"] {
    transform: translateY(-50px);
}

[data-animation="fade-left"] {
    transform: translateX(50px);
}

[data-animation="fade-right"] {
    transform: translateX(-50px);
}

[data-animation="zoom-in"] {
    transform: scale(0.9);
}

[data-animation].is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* --- Inner Pages (Contact, Legal) --- */
.page-header {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    background: var(--dark-color);
    color: var(--white-color);
    text-align: center;
}

.page-header h1 {
    color: var(--white-color);
}

.breadcrumbs a {
    color: var(--white-color);
    opacity: 0.8;
}

.breadcrumbs span {
    color: var(--primary-color);
}

.breadcrumbs a:hover {
    opacity: 1;
}

.main-content {
    padding: 80px 0;
}

.page-content {
    background-color: var(--white-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

/* --- Contact Page Specifics --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.contact-form-container {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-title {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--primary-font);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.btn-full {
    width: 100%;
    padding: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all var(--transition-speed);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-details p {
    margin: 0;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform var(--transition-speed);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.popup-content h3 {
    margin-bottom: 10px;
}

/* Legal Pages Content */
.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--primary-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 100px;
        transition: right 0.4s ease;
    }

    .nav.nav-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 30px;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 45px;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown .fa-chevron-down {
        transition: transform var(--transition-speed);
    }

    .dropdown:hover .fa-chevron-down {
        transform: rotate(180deg);
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .why-choose-us-wrapper {
        grid-template-columns: 1fr;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }

    .process-item:nth-child(even),
    .process-item:nth-child(odd) {
        left: 0;
        padding-left: 80px;
        text-align: left;
    }

    .process-icon {
        left: 0;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .cta-content,
    .cta-action {
        flex-basis: 100%;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        min-height: 600px;
        height: auto;
        padding: 150px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .logo a span {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        margin-left: -20px;
    }

    .footer-contact ul li {
        justify-content: center;
    }
}