@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Plus+Jakarta+Sans:wght@300;400;500;700&family=Noto+Sans+Sinhala:wght@400;600;700&family=Abhaya+Libre:wght@400;700;800&display=swap');

:root {
    --primary: #004aad; /* Royal Blue */
    --secondary: #ff007f; /* Magenta */
    --accent: #ff8c00; /* Orange/Gold */
    --cyan: #0ea5e9;
    --dark: #f8fafc;
    --light: #0f172a;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 74, 173, 0.1);
    --card-bg: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 8vw, 4.8rem);
    line-height: 1.1;
}

h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    line-height: 1.2;
}

h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout Elements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: clamp(60px, 10vw, 120px) 0;
    position: relative;
}

/* Background Gradients */
.bg-glow {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.05) 0%, transparent 70%);
}

.glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.05) 0%, transparent 70%);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    nav {
        background: #ffffff;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
}

/* Language Toggle */
.lang-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    transition: var(--transition);
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-toggle:hover {
    background: var(--primary);
    color: #fff;
}

.lang-toggle span.active {
    color: var(--secondary);
}

.nav-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
}

[lang="si"] {
    font-family: 'Noto Sans Sinhala', sans-serif;
    line-height: 1.6;
}

[lang="si"] h1, [lang="si"] h2, [lang="si"] h3 {
    font-family: 'Abhaya Libre', serif;
    font-weight: 800;
    line-height: 1.3;
}

[lang="si"] .badge {
    font-size: 0.75rem;
    letter-spacing: 0;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--glass-border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.logo img {
    height: 55px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 800;
}

.logo-text small {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--cyan);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 800;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        width: 100%;
        text-align: center;
    }

    .nav-links .nav-cta {
        width: auto;
        justify-content: center;
    }
}

.nav-cta {
    background: #25D366;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    transition: var(--transition);
}

.nav-cta.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .nav-cta.desktop-only {
        display: none;
    }

    .nav-cta.mobile-only {
        display: flex;
        margin-top: 1rem;
    }
}

.nav-cta:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.7)), url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-left {
    flex: 1.2;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-badge-group {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.badge-outline {
    background: transparent !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Floating Image Animation */
.hero-image-wrapper {
    position: relative;
    padding: 20px 20px 60px 20px;
    display: flex;
    justify-content: center;
}

.floating-image {
    width: 100%;
    height: auto;
    border-radius: 40px;
    position: relative;
    z-index: 1;
    border: 8px solid #fff;
    box-shadow: 0 30px 60px rgba(0, 74, 173, 0.15);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--glass-border);
    animation: floatCentered 6s ease-in-out infinite;
    z-index: 2;
    white-space: nowrap;
}

@keyframes floatCentered {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-20px); }
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .hero-flex { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 3.5rem; }
    .hero p { margin: 0 auto 3rem; }
    .hero-btns { justify-content: center; }
    .hero-badge-group { justify-content: center; }
    .experience-badge { left: 0; bottom: -5%; }
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0061ff);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.4);
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-5px);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.section-header p {
    color: var(--text-muted);
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 74, 173, 0.02));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 74, 173, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

form {
    display: grid;
    gap: 1.5rem;
}

.input-group {
    display: grid;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light);
}

input, textarea {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 12px;
    color: var(--light);
    font-family: inherit;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.05);
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 74, 173, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #f1f5f9;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: #64748b;
    font-size: 0.9rem;
}

/* Feature Section (Israel Success) */
.feature-section {
    background: linear-gradient(rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.9)), url('assets/israel_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
}

.feature-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.feature-content {
    flex: 1.2;
}

.feature-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-checklist {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1.2rem;
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--light);
}

.feature-checklist i {
    color: var(--primary);
    font-size: 1.4rem;
}

.feature-image {
    flex: 1;
}

.image-stack {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.success-badge {
    position: absolute;
    bottom: -30px;
    left: 10%;
    background: linear-gradient(135deg, var(--primary), #0061ff);
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.3);
}

.success-badge i {
    font-size: 2rem;
    color: var(--accent);
}

.success-badge span {
    font-weight: 800;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .feature-flex { flex-direction: column; text-align: center; }
    .feature-checklist { justify-items: center; }
    .success-badge { left: 50%; transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-flex, .feature-flex, .about-flex {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-flex, .feature-flex, .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .info-item {
        justify-content: center;
        text-align: left;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-left, .feature-content, .about-content {
        order: 1;
    }

    .hero-right, .feature-image, .about-image {
        order: 2;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-btns, .hero-badge-group, .feature-checklist {
        justify-content: center;
    }

    .feature-checklist {
        text-align: left;
        max-width: 400px;
        margin: 2rem auto 0;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }

    .success-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: max-content;
        padding: 1rem 1.5rem;
    }
    .nav-actions {
        gap: 0.8rem;
    }

    .lang-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-col .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col .input-group {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .success-badge {
        width: 90%;
        padding: 1rem;
        font-size: 0.9rem;
    }
}
