/* ====================================
   VARIABLES & RESET
   ==================================== */
:root {
    --primary: #60a5fa;
    --primary-light: #93c5fd;
    --primary-dark: #2563eb;
    --secondary: #a78bfa;
    --accent: #fcd34d;
    --text-dark: #f9fafb;
    --text-light: #9ca3af;
    --bg-light: #0f172a;
    --bg-card: #1e293b;
    --white: #ffffff;
    /* Keep for text on buttons/hero */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ====================================
   NAVIGATION
   ==================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    /* Separator from menu */
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    padding: 2px 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.lang-btn.active {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin: 1rem auto;
        justify-content: center;
        width: fit-content;
    }
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center top;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: linear-gradient(rgba(37, 99, 235, 0.7), rgba(139, 92, 246, 0.7)), url('images/bg1.png');
}

.hero-slide:nth-child(2) {
    background-image: linear-gradient(rgba(37, 99, 235, 0.7), rgba(139, 92, 246, 0.7)), url('images/bg2.png');
}

.hero-slide:nth-child(3) {
    background-image: linear-gradient(rgba(37, 99, 235, 0.7), rgba(139, 92, 246, 0.7)), url('images/bg3.png');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px) saturate(1.2);
    -webkit-backdrop-filter: blur(2px) saturate(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 1000px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ====================================
   COMMON SECTION STYLES
   ==================================== */
.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: var(--bg-card);
}

.section:nth-child(odd) {
    background: var(--bg-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}


.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.section-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.section-content p strong {
    color: var(--primary);
    font-weight: 600;
}

.section-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.section-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

/* ====================================
   IMAGE FRAMES WITH DIFFERENT SHAPES
   ==================================== */
.section-image {
    position: relative;
}

.glass-frame {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.glass-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.glass-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Circle Shape */
.image-circle .glass-frame {
    border-radius: 50%;
    width: 450px;
    height: 450px;
}

/* Hexagon Shape */
.image-hexagon .glass-frame {
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    width: 100%;
    aspect-ratio: 1;
}

/* Rounded Rectangle */
.image-rounded .glass-frame {
    border-radius: 50px;
    width: 100%;
    aspect-ratio: 4/3;
}

/* Diamond Shape */
.image-diamond .glass-frame {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    width: 450px;
    height: 450px;
}

/* Octagon Shape */
.image-octagon .glass-frame {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    width: 100%;
    aspect-ratio: 1;
}

/* Pentagon Shape */
.image-pentagon .glass-frame {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    width: 100%;
    aspect-ratio: 1;
}

/* ====================================
   GALLERY SECTION
   ==================================== */
.section-gallery {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.section-gallery .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.section-gallery h2 {
    color: var(--white);
}

.section-gallery p {
    color: rgba(255, 255, 255, 0.85);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.gallery-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.glass-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.gallery-caption p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ====================================
   CRITERIA SECTION
   ==================================== */
.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.criteria-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(37, 99, 235, 0.05);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}

.criteria-item:hover {
    background: rgba(37, 99, 235, 0.08);
    transform: translateX(10px);
}

.criteria-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.criteria-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.criteria-text p {
    font-size: 1rem;
    margin: 0;
}

/* ====================================
   TRANSPARENCY SECTION
   ==================================== */
.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ====================================
   CALL TO ACTION SECTION
   ==================================== */
.section-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
    color: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.cta-text .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.cta-text h2 {
    color: var(--white);
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
}

/* ====================================
   FORM STYLES
   ==================================== */
.glass-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 2.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    display: block;
}

/* ====================================
   FOOTER
   ==================================== */
/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: #020617;
    /* Even darker than body for footer */
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* ====================================
   RESPONSIVENESS
   ==================================== */
@media (max-width: 992px) {

    .section-grid,
    .section-grid.reverse,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr !important;
        /* Force reset direction on mobile */
    }

    .section-grid.reverse>* {
        direction: ltr;
    }

    .section-image {
        order: -1;
        /* Image always on top on mobile */
        display: flex;
        justify-content: center;
    }

    .image-circle .glass-frame,
    .image-diamond .glass-frame,
    .image-rounded .glass-frame,
    .image-hexagon .glass-frame,
    .image-pentagon .glass-frame,
    .image-octagon .glass-frame {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Mobile menu needed */
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section {
        padding: 4rem 0;
    }

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

    .footer-right {
        text-align: center;
    }
}


.footer-left h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-quote {
    font-style: italic;
    color: var(--accent);
}

.footer-cta {
    text-align: center;
}

.footer-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="left"] {
    transform: translateX(-50px);
}

[data-animate="right"] {
    transform: translateX(50px);
}

[data-animate="fade"] {
    transform: scale(0.95);
}

[data-animate].animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1024px) {
    .section-grid {
        gap: 3rem;
    }

    .cta-content {
        gap: 3rem;
    }

    .image-circle .glass-frame,
    .image-diamond .glass-frame {
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .section {
        padding: 4rem 0;
    }

    .section-grid,
    .section-grid.reverse,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .section-grid.reverse>* {
        direction: ltr;
    }

    .image-circle .glass-frame,
    .image-diamond .glass-frame {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1;
        margin: 0 auto;
    }

    .section-image {
        order: -1;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-right {
        text-align: center;
    }
}

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

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

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

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

    .glass-form {
        padding: 1.5rem;
    }
}

/* ====================================
   LANGUAGE MODAL
   ==================================== */
.lang-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lang-modal-overlay.active {
    opacity: 1;
}

.lang-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.lang-modal-overlay.active .lang-modal {
    transform: scale(1);
}

.lang-modal h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.lang-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.lang-option-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
}

.lang-option-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lang-flag {
    font-size: 3rem;
}

.lang-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Prevent body scroll when modal is active */
body.modal-open {
    overflow: hidden !important;
}