* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #6B2C3E;
    --burgundy-dark: #4A1F2E;
    --burgundy-light: #8B3A52;
    --burgundy-lighter: #A85A6A;
    --cream: #F5F1ED;
    --cream-dark: #E8E3DE;
    --cream-darker: #D9D1C8;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #5A5A5A;
    --accent-gold: #D4AF37;
    --accent-gold-light: #E8C547;
    --success: #27AE60;
    --error: #E74C3C;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(107, 44, 62, 0.8) 0%, rgba(74, 31, 46, 0.8) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Trebuchet MS, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--burgundy);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--burgundy);
}

h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--burgundy-light);
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--burgundy);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    .section {
        padding: 3rem 0;
    }
}

/* ======== NAVIGATION ======== */
nav {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--burgundy);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 0.375rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 4px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--burgundy);
    transform: translateY(-3px);
}

.nav-menu a:hover::after {
    width: 100%;
    box-shadow: 0 4px 12px rgba(107, 44, 62, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 0;
    }

    .nav-menu {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--cream-dark);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--cream-dark);
    }

    .nav-menu a {
        padding: 0 1.5rem;
        display: block;
        margin: 0;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        transform: none;
        color: var(--burgundy);
    }

    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 40px;
    }

    .brand-text {
        font-size: 1.25rem;
    }
}

/* ======== ANIMATIONS ======== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

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

@keyframes globeEnter {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes globeRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scroll-based animation classes */
.fade-in-up {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-in-up.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-down {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-in-down.animate {
    animation: fadeInDown 0.8s ease forwards;
}

/* ======== HERO SECTION ======== */
.hero {
    background: linear-gradient(
        135deg,
        #8B3A52 0%,
        #6B2C3E 15%,
        #4A1F2E 35%,
        #2A1118 50%,
        #4A1F2E 65%,
        #6B2C3E 85%,
        #8B3A52 100%
    );
    background-size: 200% 200%;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    animation: gradientShift 12s ease-in-out infinite;
}

.hero > .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-globe {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: globeEnter 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.globe-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.trust-badge {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.trust-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
    .hero-globe {
        width: 200px;
        height: 200px;
        right: 2%;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trust-badge {
        gap: 1.5rem;
        flex-direction: column;
    }

    .hero-globe {
        display: none;
    }
}

/* ======== ABOUT SECTION ======== */
.about {
    background: var(--gradient-secondary);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.about-content {
    opacity: 0;
}

.about-content.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.about-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-image {
    position: relative;
    opacity: 0;
}

.about-image.animate {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
    background: var(--cream-darker);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.5s;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    color: var(--white);
    padding: 1rem;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.gallery-item:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}


.about-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-stat {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(107, 44, 62, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 0.75rem;
    border-left: 4px solid var(--burgundy);
    transition: all 0.3s ease;
}

.about-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.about-stat h4 {
    color: var(--burgundy);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-stat p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 60%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }

    .gallery-item {
        aspect-ratio: 16 / 9;
    }

    .about-highlight {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }
}

/* ======== SERVICES SECTION ======== */
.services {
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
}

.section-title.animate {
    animation: fadeInDown 0.8s ease forwards;
}

.section-title p {
    color: var(--burgundy);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--burgundy);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.card:hover::before {
    transform: scaleX(1);
}

.card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1).animate {
    animation-delay: 0.1s;
}

.card:nth-child(2).animate {
    animation-delay: 0.2s;
}

.card:nth-child(3).animate {
    animation-delay: 0.3s;
}

.card:nth-child(4).animate {
    animation-delay: 0.4s;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--burgundy);
    font-size: 1.25rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: var(--burgundy);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card:hover .card-link {
    gap: 0.8rem;
}

.card:hover .card-link::after {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .grid {
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }
}

/* ======== LOCATIONS SECTION ======== */
.locations {
    background: var(--white);
}

/* ======== PROCESS SECTION ======== */
.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    position: relative;
    padding: 2rem;
    text-align: center;
    background: var(--white);
    border-radius: 1rem;
    border: 2px solid var(--cream-darker);
    transition: all 0.3s ease;
    opacity: 0;
}

.step.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.step:nth-child(1).animate {
    animation-delay: 0.1s;
}

.step:nth-child(2).animate {
    animation-delay: 0.2s;
}

.step:nth-child(3).animate {
    animation-delay: 0.3s;
}

.step:nth-child(4).animate {
    animation-delay: 0.4s;
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--burgundy);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.step h4 {
    color: var(--burgundy);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.step::after {
    content: '→';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--burgundy);
    font-weight: 300;
}

.step:last-child::after {
    display: none;
}

@media (max-width: 1024px) {
    .step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-steps {
        gap: 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }
}

/* ======== CONTACT SECTION ======== */
.contact {
    background: linear-gradient(135deg, var(--cream) 0%, #F0EBE6 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.contact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-item:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-gold);
    color: var(--burgundy);
    transform: translateY(-3px);
}

/* ======== FORM ======== */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.contact-form h3 {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--cream-darker);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(107, 44, 62, 0.1);
}

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

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
    animation: slideInDown 0.3s ease;
}

.form-message.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    color: var(--error);
    border: 2px solid var(--error);
    display: block;
}

.form-message.success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
    color: var(--success);
    border: 2px solid var(--success);
    display: block;
}

.submit-btn {
    width: 100%;
    position: relative;
    background: var(--gradient-primary);
    color: var(--white);
}

.submit-btn.loading {
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.6s linear infinite;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }
}

/* ======== FOOTER ======== */
footer {
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-divider p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-divider a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-divider {
        flex-direction: column;
        text-align: center;
    }
}

/* ======== UTILITY CLASSES ======== */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-dark);
}

/* ======== MODAL ======== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInUp 0.4s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--burgundy);
}

#modalTitle {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.schools-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.school-item {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(107, 44, 62, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid var(--burgundy);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.school-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(107, 44, 62, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.school-name {
    font-weight: 600;
    color: var(--burgundy);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.school-link {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.school-link:hover {
    color: var(--burgundy);
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    #modalTitle {
        font-size: 1.4rem;
    }

    .school-item {
        padding: 1rem;
    }
}

/* ========== İletişim bağlantıları ========== */
.contact-item a { color: inherit; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; }
.social-icon svg { display: block; }
.form-message a { color: inherit; font-weight: 600; }

/* ========== Ülke kartları: "Okulları Görün" butonu ========== */
.locations .card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.locations .card p {
    flex-grow: 1;              /* butonlar tüm kartlarda aynı hizada */
}

.school-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem 0.7rem 1.6rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--burgundy);
    background: transparent;
    border: 1.5px solid var(--burgundy);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease, transform 0.35s ease;
}

/* Soldan sağa dolan bordo zemin */
.school-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Ok: daire içinde, hover'da kayar */
.school-btn::after {
    content: '→';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    font-size: 0.85rem;
    background: rgba(107, 44, 62, 0.08);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.card:hover .school-btn {
    box-shadow: 0 6px 18px rgba(107, 44, 62, 0.18);
}

.school-btn:hover,
.school-btn:focus-visible {
    color: var(--white);
    border-color: var(--burgundy-dark);
    box-shadow: 0 10px 24px rgba(74, 31, 46, 0.28);
    transform: translateY(-2px);
}

.school-btn:hover::before,
.school-btn:focus-visible::before {
    transform: scaleX(1);
}

.school-btn:hover::after,
.school-btn:focus-visible::after {
    transform: translateX(4px);
    background: var(--accent-gold);
    color: var(--burgundy-dark);
}

.school-btn:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

.school-btn:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

/* Dokunmatik ekranlarda hover olmadığı için buton dolu gelir */
@media (hover: none) {
    .school-btn {
        color: var(--white);
        border-color: var(--burgundy);
    }
    .school-btn::before { transform: scaleX(1); }
    .school-btn::after {
        background: var(--accent-gold);
        color: var(--burgundy-dark);
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-btn,
    .school-btn::before,
    .school-btn::after {
        transition: none;
    }
}

/* ========== Form: ad/soyad satırı ve KVKK onayı ========== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}
.form-group .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    cursor: pointer;
}
.form-group .consent-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--burgundy);
    cursor: pointer;
    padding: 0;
    border: none;
    box-shadow: none;
}


/* ========== Ülkeler: Malta öne çıkan, şehirler, talebe göre ========== */
.section-sub { color: var(--text-light); margin-top: 0.5rem; }
.malta-feature {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    background: var(--gradient-primary); color: var(--white);
    border-radius: 1rem; padding: 2rem 2.25rem; margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
}
.malta-feature h3 { color: var(--white); font-size: 1.6rem; margin: 0.5rem 0; }
.malta-feature p { color: rgba(255,255,255,0.88); margin-bottom: 1rem; }
.malta-badge {
    display: inline-block; background: var(--accent-gold); color: var(--burgundy-dark);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.25rem 0.7rem; border-radius: 999px;
}
.malta-schools { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.malta-schools li {
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
    padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.9rem;
}
.malta-feature .btn { background: var(--white); color: var(--burgundy); white-space: nowrap; flex-shrink: 0; text-decoration: none; }
.malta-feature .btn:hover { background: var(--accent-gold); color: var(--burgundy-dark); }
.country-cities { font-size: 0.88rem !important; color: var(--burgundy) !important; margin-top: -0.75rem; }
.on-request {
    margin-top: 2rem; padding: 1.1rem 1.4rem; border-radius: 0.75rem;
    background: var(--cream); border-left: 4px solid var(--accent-gold);
    color: var(--text-light); font-size: 0.95rem; line-height: 1.6;
}
.on-request a { color: var(--burgundy); font-weight: 600; }
.schools-title { margin-top: 4rem; }
.school-card { text-align: left; display: flex; flex-direction: column; }
.school-card p:last-of-type { flex-grow: 1; }
.school-card .school-btn { align-self: flex-start; text-decoration: none; }
.school-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.88rem !important; color: var(--burgundy) !important; margin-bottom: 0.75rem !important; }
@media (max-width: 768px) {
    .malta-feature { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}

/* ========== Sözleşme notları ========== */
.contract-note {
    margin: 2.5rem auto 0; max-width: 760px; text-align: center;
    padding: 1rem 1.25rem; border-radius: 0.75rem;
    background: var(--cream); color: var(--text-dark); font-size: 0.98rem;
}
.form-note { font-size: 0.85rem; color: var(--text-light); margin: 0 0 1rem; }
.optional { font-weight: 400; color: var(--text-light); font-size: 0.85em; }

/* ========== Sabit WhatsApp butonu ========== */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 1500;
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25D366; color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.wa-float:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 3px; }
@media (max-width: 480px) { .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } }

/* Okul kartı butonu: uzun metin için tam genişlik */
.school-card .school-btn { align-self: stretch; font-size: 0.88rem; line-height: 1.3; text-align: center; padding: 0.7rem 1rem; }

/* Hizmet detay pop-up */
.card > button.school-btn { font-family: inherit; border: none; cursor: pointer; }
.service-modal .modal-content { max-width: 680px; max-height: 88vh; padding: 2.25rem; }
.svc-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; padding-right: 2.5rem; }
.svc-icon { font-size: 2rem; width: 3.25rem; height: 3.25rem; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); }
.svc-head h2 { color: var(--burgundy); font-size: 1.55rem; line-height: 1.25; margin: 0; }
.svc-intro { color: var(--text-light); line-height: 1.6; margin: 0 0 1.25rem; }
.svc-sub { color: var(--burgundy-dark); font-size: 1.05rem; margin: 1.25rem 0 0.7rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--cream-dark); }
.svc-scope { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.svc-scope li { position: relative; padding-left: 1.75rem; line-height: 1.5; color: var(--text-dark); }
.svc-scope li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--accent-gold); color: var(--burgundy-dark); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.svc-steps { list-style: none; padding: 0; margin: 0; counter-reset: svc; }
.svc-steps li { counter-increment: svc; position: relative; padding: 0 0 1rem 3rem; }
.svc-steps li::before { content: counter(svc); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--burgundy); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.svc-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.1rem; bottom: 0.1rem; width: 2px; background: var(--cream-darker); }
.svc-steps strong { display: block; color: var(--burgundy); margin-bottom: 0.15rem; }
.svc-steps span { color: var(--text-light); line-height: 1.5; font-size: 0.95rem; }
.svc-note { background: var(--cream); border-left: 4px solid var(--accent-gold); padding: 0.75rem 1rem; border-radius: 0.4rem; font-size: 0.9rem; color: var(--text-dark); margin: 0.5rem 0 1.25rem; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.svc-actions .btn { flex: 1 1 200px; text-align: center; }
.svc-wa { flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.25rem; border-radius: 50px; border: 2px solid #25D366; color: #128C4A; font-weight: 600; text-decoration: none; transition: background 0.25s ease, color 0.25s ease; }
.svc-wa:hover, .svc-wa:focus-visible { background: #25D366; color: var(--white); }
@media (max-width: 480px) {
    .service-modal .modal-content { padding: 1.5rem 1.25rem; max-height: 90vh; }
    .svc-head h2 { font-size: 1.25rem; }
    .svc-icon { width: 2.75rem; height: 2.75rem; font-size: 1.6rem; }
}

/* Logo bağlantısı */
a.nav-brand { text-decoration: none; }
/* Menü: orta ekran genişliklerinde sığdırma */
@media (max-width: 1200px) and (min-width: 769px) {
    .nav-menu { gap: 1.4rem; }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu { gap: 0.9rem; }
    .nav-menu a { font-size: 0.85rem; }
    .nav-brand { gap: 0.6rem; font-size: 1.25rem; }
    .logo-img { height: 38px; }
}
@media (max-width: 900px) and (min-width: 769px) {
    .brand-text { display: none; }
}

/* Hero: "Hizmetlerimizi İnceleyin" altın çerçeveli buton */
.hero-buttons .btn-secondary {
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    font-weight: 700;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.hero-buttons .btn-secondary::after {
    content: "→";
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}
.hero-buttons .btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-secondary:focus-visible {
    background: var(--gradient-gold);
    color: var(--burgundy-dark);
    border-color: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
}
.hero-buttons .btn-secondary:hover::after,
.hero-buttons .btn-secondary:focus-visible::after { transform: translateX(5px); }
.hero-buttons .btn-secondary:hover::before,
.hero-buttons .btn-secondary:focus-visible::before { left: 125%; }
.hero-buttons .btn-secondary:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
