/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    /* Colores institucionales */
    --primary-purple: #7F54B3;
    --primary-purple-light: #9B76C8;
    --primary-purple-dark: #6A4598;
    --secondary-blue: #2ea2cc;
    --secondary-blue-light: #4bb5db;
    --gold-accent: #C9A961;

    /* Colores base */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --text-gray: #4A4A4A;
    --text-light: #6B6B6B;

    /* Tipografía */
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-gray);
    background-color: var(--white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* HEADER */
.header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(127, 84, 179, 0.08);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, var(--primary-purple), var(--secondary-blue)) 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-purple), var(--secondary-blue));
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-purple);
}

.main-nav a:hover::after {
    width: 100%;
}

/* DROPDOWN MENU */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 25px 35px;
    min-width: 600px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dropdown-section-title {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-purple);
}

.dropdown-menu a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

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

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.1) 0%, rgba(46, 162, 204, 0.1) 100%);
    color: var(--primary-purple);
    padding-left: 16px;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-purple), var(--secondary-blue));
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 95vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.85) 0%, rgba(46, 162, 204, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.slide-content {
    width: 100%;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide h1 {
    font-family: var(--font-secondary);
    font-size: 52px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.slide h2 {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    letter-spacing: 0.2px;
}

.slide p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-bottom: 40px;
}

.cta-discrete {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

.cta-discrete:hover {
    background: var(--white);
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Slider indicators */
.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    backdrop-filter: blur(8px);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
    border-color: var(--white);
}

.indicator.active {
    background-color: var(--white);
    width: 32px;
    border-radius: 6px;
    border-color: var(--white);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
}

/* SECTIONS */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 38px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 50px;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-purple), var(--secondary-blue));
    border-radius: 2px;
}

/* INSTITUCIÓN */
.section-institutional {
    background-color: var(--white);
    position: relative;
}

.section-institutional::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(127, 84, 179, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.institutional-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.institutional-text {
    position: relative;
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(127, 84, 179, 0.1);
}

.institutional-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-purple), var(--secondary-blue));
    border-radius: 4px;
    transition: height 0.6s ease;
}

.institutional-text.animated::before {
    height: 100%;
}

.institutional-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.institutional-image {
    position: relative;
}

.institutional-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-purple);
    border-radius: 8px;
    z-index: 0;
}

.institutional-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* GALERÍA VANGUARDIA */
.section-gallery {
    background-color: var(--white);
    position: relative;
    padding: 100px 0;
}

.gallery-description {
    text-align: center;
    font-size: 17px;
    color: var(--text-light);
    max-width: 700px;
    margin: -30px auto 60px;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--light-gray);
}

.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.85) 0%, rgba(46, 162, 204, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.gallery-icon {
    color: var(--white);
    transform: scale(0.5) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1) rotate(0deg);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.1);
}

/* Gallery item different heights for masonry effect */
.gallery-item:nth-child(1) {
    grid-row: span 1;
}

.gallery-item:nth-child(2) {
    grid-row: span 1;
}

.gallery-item:nth-child(3) {
    grid-row: span 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 1;
}

.gallery-item:nth-child(5) {
    grid-column: span 1;
}

.gallery-item:nth-child(6) {
    grid-column: span 1;
}

/* Decorative elements */
.section-gallery::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 162, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.section-gallery::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(127, 84, 179, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* OFERTA ACADÉMICA */
.section-academic {
    background: linear-gradient(135deg, #f8f5fc 0%, #f0f9fc 100%);
    position: relative;
    overflow: hidden;
}

.section-academic::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(127, 84, 179, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.section-academic::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 162, 204, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Academic Row Layout */
.academic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
}

.academic-row.reverse {
    margin-top: 100px;
}

.academic-row.reverse .academic-content {
    order: 2;
}

.academic-row.reverse .academic-image {
    order: 1;
}

.academic-content {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(127, 84, 179, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.academic-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-purple), var(--secondary-blue));
    border-radius: 4px;
    transition: height 0.4s ease;
}

.academic-row:hover .academic-content::before {
    height: 100%;
}

.academic-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(127, 84, 179, 0.25);
    transition: transform 0.3s ease;
}

.academic-row:hover .academic-icon {
    transform: scale(1.05);
}

.academic-row:nth-child(3) .academic-icon {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-light) 100%);
    box-shadow: 0 4px 12px rgba(46, 162, 204, 0.25);
}

.academic-row:nth-child(4) .academic-icon {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
    box-shadow: 0 4px 12px rgba(127, 84, 179, 0.25);
}

.academic-row:nth-child(5) .academic-icon {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    box-shadow: 0 4px 12px rgba(106, 69, 152, 0.25);
}

.academic-content h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.academic-content h4 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 25px;
}

.academic-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-top: 20px;
}

.academic-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(127, 84, 179, 0.15);
}

.academic-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.1) 0%, rgba(46, 162, 204, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.academic-row:hover .academic-image::before {
    opacity: 1;
}

.academic-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.academic-row:hover .academic-image img {
    transform: scale(1.05);
}

.specialty-list,
.continuing-list {
    list-style: none;
    margin-bottom: 20px;
}

.specialty-list li,
.continuing-list li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.specialty-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(127, 84, 179, 0.3);
}

.specialty-list li a,
.academic-content h4 a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.specialty-list li a:hover,
.academic-content h4 a:hover {
    color: var(--primary-purple);
}

.continuing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(46, 162, 204, 0.3);
}

/* DUBAI SECTION */
.section-dubai {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.dubai-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dubai-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.7) 0%, rgba(201, 169, 97, 0.6) 100%);
}

.dubai-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-dubai .container {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 120px;
}

.dubai-content-wrapper {
    max-width: 800px;
}

.dubai-accent {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--gold-accent), rgba(201, 169, 97, 0.3));
    margin-bottom: 30px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
}

.section-dubai .section-title {
    color: var(--white);
}

.section-dubai .section-title::after {
    background: var(--gold-accent);
}

.dubai-content p {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
}

.dubai-content .cta-discrete {
    margin-top: 20px;
    border-color: var(--gold-accent);
    color: var(--gold-accent);
}

.dubai-content .cta-discrete:hover {
    background: var(--gold-accent);
    color: var(--white);
}

/* PRESENCIA INTERNACIONAL */
.section-international {
    background-color: var(--off-white);
    position: relative;
}

.international-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 900px;
}

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

.country-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(127, 84, 179, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-purple), var(--secondary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(127, 84, 179, 0.15);
    border-color: var(--primary-purple);
}

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

.country-flag {
    font-size: 64px;
    margin-bottom: 20px;
}

.country-card h4 {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-gray);
}

/* CERTIFICACIONES */
.section-certifications {
    background-color: var(--white);
    position: relative;
}

.section-certifications::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 162, 204, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.certifications-content {
    max-width: 900px;
}

.certifications-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.cert-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.cert-list li {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    padding: 20px 25px;
    position: relative;
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.05) 0%, rgba(46, 162, 204, 0.05) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.cert-list li:nth-child(2) {
    border-left-color: var(--secondary-blue);
}

.cert-list li:nth-child(3) {
    border-left-color: var(--primary-purple-dark);
}

.cert-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(127, 84, 179, 0.15);
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #3a2858 0%, #2a4a5c 100%);
    padding: 80px 0 30px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-text p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-contact h4,
.footer-links h4,
.footer-social h4 {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-contact strong {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: block;
}

.footer-links a:hover {
    color: var(--primary-purple-light);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.social-links a svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links a:hover svg {
    transform: scale(1.15);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: var(--white);
    transition: all 0.3s ease;
    z-index: 1001;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .main-nav {
        gap: 25px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .dropdown-menu {
        min-width: 480px;
        gap: 20px;
        padding: 20px 25px;
    }

    .dropdown-section-title {
        font-size: 13px;
    }

    .dropdown-menu a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .slide h1 {
        font-size: 42px;
    }

    .slide h2 {
        font-size: 20px;
    }

    .slide p {
        font-size: 16px;
    }

    section {
        padding: 90px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .institutional-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .institutional-text {
        padding: 40px;
    }

    .academic-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 60px;
    }

    .academic-row.reverse {
        margin-top: 60px;
    }

    .academic-row.reverse .academic-content {
        order: 1;
    }

    .academic-row.reverse .academic-image {
        order: 2;
    }

    .academic-content {
        padding: 40px;
    }

    .academic-image img {
        height: 350px;
    }

    .country-cards {
        grid-template-columns: 1fr;
    }

    .cert-list {
        grid-template-columns: 1fr;
    }

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

    .section-gallery {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide and transform nav menu */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 25px 30px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        width: 100%;
        color: var(--white);
        font-size: 16px;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .main-nav a:hover {
        color: var(--white);
        padding-left: 10px;
        background: rgba(255, 255, 255, 0.1);
    }

    /* Dropdown mobile styles */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        color: var(--white);
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        left: auto !important;
        margin-top: 0;
        width: 100%;
        min-width: auto;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 8px;
        padding: 12px;
        grid-template-columns: 1fr;
        gap: 12px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 600px;
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
        margin-bottom: 10px;
        transform: none !important;
    }

    .nav-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-section {
        gap: 8px;
    }

    .dropdown-section-title {
        color: var(--white);
        font-size: 12px;
        border-color: rgba(255, 255, 255, 0.3);
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 13px;
        padding: 8px 10px;
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        padding-left: 14px;
    }

    /* Keep hero slider visible */
    .hero-slider {
        height: 85vh;
        min-height: 600px;
    }

    .slide h1 {
        font-size: 32px;
    }

    .slide h2 {
        font-size: 18px;
    }

    .slide p {
        font-size: 15px;
    }

    .slider-indicators {
        bottom: 30px;
        padding: 10px 16px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 26px;
    }

    section {
        padding: 70px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .institutional-image::before {
        top: -10px;
        right: -10px;
    }

    /* Overlay for mobile menu */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }

    body.menu-open::after {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-slider {
        height: 80vh;
        min-height: 550px;
    }

    .slide h1 {
        font-size: 26px;
    }

    .slide h2 {
        font-size: 16px;
    }

    .slide p {
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .academic-block {
        padding: 30px 25px;
    }

    .slider-indicators {
        bottom: 20px;
        padding: 8px 14px;
    }

    .main-nav {
        width: 100%;
        right: -100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-gallery {
        padding: 60px 0;
    }

    .gallery-description {
        font-size: 15px;
        margin: -20px auto 40px;
    }

    .academic-row {
        margin-top: 50px;
    }

    .academic-content {
        padding: 30px;
    }

    .academic-content h3 {
        font-size: 24px;
    }

    .academic-image img {
        height: 300px;
    }

    .institutional-text {
        padding: 30px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        z-index: 1002 !important;
    }

    /* Fix any potential overflow issues */
    .section-gallery::before,
    .section-gallery::after,
    .section-academic::before,
    .section-academic::after,
    .section-institutional::before,
    .section-certifications::before {
        display: none;
    }
}

/* ============================================
   SUBPAGES STYLES - Programs Pages
   ============================================ */

/* BREADCRUMB */
.breadcrumb {
    padding: 20px 0;
    background: transparent;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-blue);
}

.breadcrumb-item.active {
    color: var(--text-gray);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--medium-gray);
}

/* PROGRAM HERO */
.program-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
}

.program-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%237F54B3" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.program-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.85) 0%, rgba(46, 162, 204, 0.85) 100%);
}

.program-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.program-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.program-hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.program-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* PROGRAM INFO CARDS */
.program-info {
    padding: 60px 0;
    background: var(--white);
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.program-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(127, 84, 179, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(127, 84, 179, 0.15);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    color: var(--white);
}

.info-card h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-purple);
}

/* PROGRAM CONTENT */
.program-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 80px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-purple), var(--secondary-blue));
    border-radius: 2px;
}

.content-section h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.objective-box {
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.05) 0%, rgba(46, 162, 204, 0.05) 100%);
    padding: 40px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-purple);
    position: relative;
}

.objective-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ACCORDION - Plan de Estudios */
.accordion {
    margin-top: 30px;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(127, 84, 179, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 6px 20px rgba(127, 84, 179, 0.12);
}

.accordion-header {
    padding: 25px 30px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: var(--light-gray);
}

.accordion-header.active {
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.05) 0%, rgba(46, 162, 204, 0.05) 100%);
}

.accordion-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    gap: 15px;
}

.accordion-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.accordion-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-toggle {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 2000px;
}

.accordion-body {
    padding: 0 30px 25px;
}

.subject-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subject-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 1rem;
}

.subject-list li:last-child {
    border-bottom: none;
}

.subject-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

/* REQUIREMENTS SECTION */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.requirement-item:hover {
    background: linear-gradient(135deg, rgba(127, 84, 179, 0.05) 0%, rgba(46, 162, 204, 0.05) 100%);
    transform: translateX(5px);
}

.requirement-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-purple);
}

.requirement-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

/* CTA SECTION */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content h2::after {
    display: none;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--white);
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: var(--off-white);
}

/* DROPDOWN MENU STYLES */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 10px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-gray);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-purple);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-item::after {
    content: '›';
    float: right;
    margin-left: 10px;
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown-submenu:hover .submenu,
.dropdown-submenu.active .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-gray);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
}

.submenu-item:hover {
    background: var(--light-gray);
    color: var(--primary-purple);
}

/* RESPONSIVE - SUBPAGES */
@media screen and (max-width: 968px) {
    .program-hero h1 {
        font-size: 2.5rem;
    }

    .program-hero-subtitle {
        font-size: 1.1rem;
    }

    .program-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .accordion-icon {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    /* Mobile menu dropdowns */
    .dropdown-menu,
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-menu,
    .dropdown-submenu.active .submenu {
        max-height: 1000px;
        padding: 10px 0;
    }

    .dropdown-item,
    .submenu-item {
        padding: 10px 15px;
    }

    .submenu-item {
        padding-left: 30px;
    }
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        /* margin-top: 70px; */
    }

    .program-hero {
        height: 50vh;
        min-height: 350px;
    }

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

    .program-content {
        padding: 60px 0;
    }

    .content-section {
        margin-bottom: 60px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .program-hero h1 {
        font-size: 1.75rem;
    }

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

    .accordion-header {
        padding: 20px 15px;
    }

    .accordion-body {
        padding: 0 15px 20px;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-locations {
    padding: 80px 0;
    background: var(--off-white);
}

.location-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 8px 30px rgba(127, 84, 179, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(127, 84, 179, 0.12);
}

.location-card:last-child {
    margin-bottom: 0;
}

.location-card.reverse {
    direction: rtl;
}

.location-card.reverse .location-content,
.location-card.reverse .location-map {
    direction: ltr;
}

.location-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.location-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 500;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item svg {
    flex-shrink: 0;
    color: var(--primary-purple);
    margin-top: 2px;
}

.info-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

.info-item a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-purple);
}

.location-map {
    position: relative;
    min-height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Responsive Contact Page */
@media screen and (max-width: 968px) {
    .location-card {
        grid-template-columns: 1fr;
    }

    .location-card.reverse {
        direction: ltr;
    }

    .location-content {
        padding: 40px 30px;
    }

    .location-content h2 {
        font-size: 2rem;
    }

    .location-map {
        min-height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .contact-locations {
        padding: 60px 0;
    }

    .location-card {
        margin-bottom: 40px;
        border-radius: 16px;
    }

    .location-content {
        padding: 30px 20px;
    }

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

    .info-item {
        gap: 12px;
    }

    .info-item p {
        font-size: 0.95rem;
    }

    .location-map {
        min-height: 300px;
    }
}

/* ===================================
   PRIVACY PAGE STYLES
   =================================== */

.privacy-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    text-align: center;
}

.privacy-hero h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.privacy-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.privacy-content {
    padding: 80px 0;
    background: var(--off-white);
}

.privacy-box {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 8px 30px rgba(127, 84, 179, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.privacy-box h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-purple);
}

.privacy-box h2:first-of-type {
    margin-top: 30px;
}

.privacy-box h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-top: 35px;
    margin-bottom: 20px;
}

.privacy-box strong {
    color: var(--primary-purple);
    font-weight: 600;
}

.privacy-box a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-box a:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.privacy-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.privacy-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Privacy Page */
@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 2rem;
    }

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

    .privacy-box {
        padding: 40px 25px;
    }

    .privacy-box h2 {
        font-size: 1.6rem;
        margin-top: 35px;
    }

    .privacy-box h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 60px 0 40px;
    }

    .privacy-hero h1 {
        font-size: 1.6rem;
    }

    .privacy-box {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .privacy-box h2 {
        font-size: 1.4rem;
    }

    .privacy-list li {
        padding-left: 25px;
        font-size: 0.95rem;
    }
}

/* ===================================
   CONTACT FORM STYLES
   =================================== */

.contact-form-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--off-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(127, 84, 179, 0.08);
}

.contact-form-wrapper h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-form .form-group.required label::after {
    content: " *";
    color: #e74c3c;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(127, 84, 179, 0.1);
}

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

.contact-form .small-text {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.contact-form .main-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--heading-font);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-form .main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 84, 179, 0.3);
}

.contact-form .main-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 40px 25px;
    }

    .contact-form-wrapper h2 {
        font-size: 2rem;
    }

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

    .contact-form .form-control {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .contact-form-wrapper h2 {
        font-size: 1.6rem;
    }

    .contact-form .main-btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
}
