:root {
    --primary: #0d47a1;
    --accent: #00bcd4;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f8fbff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 40px rgba(13, 71, 161, 0.1);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.language-ready {
    opacity: 1;
}

h1,
h2,
h3,
h4,
.btn {
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 110px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 120px;
    width: auto;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li a {
    padding: 10px 20px;
    display: block;
    color: var(--primary);
    font-weight: 500;
}

.dropdown-content li a:hover {
    background: #f0f4f8;
}

/* Phone Bubble */
.phone-bubble {
    background: #fff;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--primary);
    transition: 0.3s;
}

.phone-bubble:hover {
    background: var(--primary);
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(13, 71, 161, 0.4)), url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
    transition: background-image 1s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    max-width: 700px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    font-size: 1.1rem;
}

.btn.primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.btn.primary:hover {
    transform: translateY(-3px);
    background: #4dd0e1;
}

.btn.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Features */
.features {
    padding: 100px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
}

.team-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Mobile Bar */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    padding: 15px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    justify-content: space-around;
    z-index: 1001;
}

.mobile-bar a {
    text-decoration: none;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    gap: 5px;
}

.mobile-bar a.active {
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Fun Welcome Animation */
@keyframes bounce-soft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.fun-welcome {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 15px;
    animation: bounce-soft 2s infinite ease-in-out;
    width: 100%;
}

/* Unified Section Headers */
.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    display: block;
    margin-bottom: 10px;
    animation: bounce-soft 3s infinite ease-in-out;
}

.section-title {
    font-size: 2.5rem;
    margin: 0 0 40px;
    color: var(--primary);
    text-align: center;
}

/* Wave Divider */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -50px;
    /* Overlap slightly */
    z-index: 1;
    position: relative;
    background: white;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 100px;
    transform: rotate(180deg);
}

.wave-divider .shape-fill {
    fill: #f8fbff;
    /* Match testimonial bg */
}


/* Language Toggle Button */
.lang-toggle-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.lang-toggle-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

/* iPad and Tablet Responsive (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .glass-nav {
        height: 80px;
    }
    
    .glass-nav .container {
        padding: 0 12px;
    }
    
    .logo img {
        height: 55px;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .nav-cta {
        gap: 6px !important;
    }
    
    .nav-cta span {
        font-size: 0.7rem !important;
        white-space: nowrap;
    }
    
    .phone-bubble {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .lang-toggle-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .dropdown-content {
        min-width: 160px;
    }
    
    .dropdown-content li a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

/* Mobile Responsive - Now includes iPad for better UX */
@media (max-width: 1024px) {

    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .glass-nav .container {
        justify-content: center;
    }
    
    .glass-nav {
        height: 70px;
    }
    
    .logo img {
        height: 50px;
    }

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

    .mobile-bar {
        display: flex;
    }
}

/* Contact Form Styles */
.contact-section {
    padding: 100px 0;
    position: relative;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: #f8fbff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.1);
}

.contact-info-box {
    margin-bottom: 30px;
}

.contact-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-value {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 800px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* FAQ Section Styles - Compact 2-Column Layout */
.faq-section {
    padding: 60px 0 40px;
    background: white;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item {
    background: #f8fbff;
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(13, 71, 161, 0.1);
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Compact 2-Column FAQ Layout */
.faq-container-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item-compact {
    background: #f8fbff;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: box-shadow 0.3s ease;
}

.faq-item-compact:hover {
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.1);
}

.faq-item-compact h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.faq-item-compact p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item-compact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.faq-item-compact a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .faq-container-compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .faq-item p {
        font-size: 1rem;
    }
    
    .faq-item-compact {
        padding: 20px;
    }
    
    .faq-item-compact h3 {
        font-size: 1rem;
    }
    
    .faq-item-compact p {
        font-size: 0.9rem;
    }
}