/* 
  Netra Jyoti Center - Ultra-Premium Modern Theme
  Vibrant Aquamarine with Polish & Refinement
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Vibrant Color Palette */
    --primary: #00CED1;
    --primary-light: #5EEAD4;
    --primary-dark: #0891B2;
    --primary-glow: rgba(0, 206, 209, 0.35);

    --secondary: #0F172A;
    --accent: #F59E0B;
    --accent-light: #FCD34D;

    --success: #10B981;
    --white: #FFFFFF;
    --off-white: #F8FFFE;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00CED1 0%, #5EEAD4 50%, #2DD4BF 100%);
    --gradient-hero: linear-gradient(135deg, #E0F7F6 0%, #F0FDFA 50%, #FFFFFF 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-glow: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);

    /* Text Colors */
    --text-dark: #0F172A;
    --text-body: #475569;
    --text-muted: #94A3B8;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 8px 32px var(--primary-glow);
    --shadow-card: 0 8px 32px rgba(0, 206, 209, 0.15);

    /* Sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease);
    --transition-slow: all 0.5s var(--ease);
    /* Semantic Colors */
    --bg-body: var(--white);
    --bg-surface: var(--off-white);
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-input: #F8FAFC;

    --text-main: var(--text-dark);
    --text-sec: var(--text-body);
    --border-color: rgba(148, 163, 184, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    --bg-body: #0F172A;
    --bg-surface: #1E293B;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-input: #334155;

    --text-main: #F1F5F9;
    --text-sec: #CBD5E1;
    --text-muted: #94A3B8;

    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);

    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-sec);
    background: var(--bg-body);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px var(--primary-glow);
}

.btn-outline {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 206, 209, 0.1);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: var(--shadow-glow);
    }

    50% {
        box-shadow: 0 8px 40px rgba(0, 206, 209, 0.5);
    }
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
}

.logo-text span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--primary-glow);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 900px;
    height: 900px;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(80px);
    animation: float-glow 10s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float-glow 12s ease-in-out infinite reverse;
}

@keyframes float-glow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1) translate(0, 0);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.1) translate(20px, -20px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.12) 0%, rgba(94, 234, 212, 0.08) 100%);
    border: 1px solid rgba(0, 206, 209, 0.25);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    animation: fade-in-up 0.8s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge i {
    color: var(--accent);
    font-size: 14px;
}

.hero-badge span {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

.hero-title {
    font-size: clamp(44px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    animation: fade-in-up 0.8s ease-out 0.1s backwards;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 40px;
    animation: fade-in-up 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    animation: fade-in-up 0.8s ease-out 0.3s backwards;
}

.hero-features {
    display: flex;
    gap: 36px;
    animation: fade-in-up 0.8s ease-out 0.4s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
}

.hero-feature i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fade-in-up 1s ease-out 0.2s backwards;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    z-index: 10;
}

.hero-image {
    width: 100%;
    height: 580px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 206, 209, 0.15) 100%);
    pointer-events: none;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    padding: 18px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(0, 206, 209, 0.1);
}

.floating-card-1 {
    top: 12%;
    left: -70px;
}

.floating-card-2 {
    bottom: 18%;
    right: -50px;
    animation-delay: -3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow-glow);
}

.floating-icon.accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.floating-card-text {
    font-family: 'Outfit', sans-serif;
}

.floating-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.floating-card-subtitle {
    font-size: 13px;
    color: var(--text-sec);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.12) 0%, rgba(94, 234, 212, 0.08) 100%);
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-sec);
    line-height: 1.7;
}

/* ===== SERVICES - FIXED LAYOUT ===== */
.services {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(0, 206, 209, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.12) 0%, rgba(94, 234, 212, 0.08) 100%);
    border-radius: var(--radius-xl);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 28px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-link i {
    font-size: 12px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Featured Service Card */
.service-card.featured {
    background: var(--gradient-primary);
    border: none;
}

.service-card.featured::before {
    display: none;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card.featured:hover .service-icon {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured .service-link {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: var(--radius-full);
}

.service-card.featured .service-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* Service Card List for Featured */
.service-features {
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    margin-bottom: 10px;
}

.service-features li i {
    color: var(--accent-light);
    font-size: 12px;
}

/* ===== TECHNOLOGY ===== */
.technology {
    background: var(--bg-body);
    position: relative;
}

.technology::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.tech-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(0, 206, 209, 0.1);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.tech-img-wrapper {
    height: 200px;
    background: linear-gradient(135deg, #F0FDFA 0%, #E0F7F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.tech-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
}

.tech-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.tech-card:hover .tech-img {
    transform: scale(1.1);
}

.tech-content {
    padding: 28px;
}

.tech-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tech-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    z-index: 10;
}

.about-image-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 240px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-image-accent img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 50px;
    left: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-glow);
    min-width: 160px;
    white-space: nowrap;
}

.about-badge-value {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.about-badge-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    white-space: normal;
}

.about-content .section-label,
.about-content .section-title {
    text-align: left;
}

.about-content .section-subtitle {
    text-align: left;
    margin-bottom: 40px;
}

.value-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 206, 209, 0.1);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
    transform: translateX(8px);
}

.value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.12) 0%, rgba(94, 234, 212, 0.08) 100%);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.value-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 206, 209, 0.3);
    transform: translateX(5px);
}

/* Fixed contact-icon nesting */
.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.contact-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.65;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: auto;
    border: 1px solid rgba(0, 206, 209, 0.1);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 25px -5px var(--shadow-color), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 18px 22px;
    font-size: 15px;
    color: var(--text-main);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 206, 209, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.form-disclaimer i {
    color: var(--success);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .nav-logo {
    margin-bottom: 24px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 28px;
}

.footer ul li {
    margin-bottom: 16px;
}

.footer ul a {
    font-size: 14px;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        order: -1;
    }

    .floating-card {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-image-accent,
    .about-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 85%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        padding: 60px;
        gap: 36px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        overflow-y: auto;
        visibility: hidden;
        /* Allow scrolling inside menu if content is tall */
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-link {
        font-size: 22px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 420px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 0;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip for WhatsApp */
.whatsapp-float::before {
    content: "Book on WhatsApp";
    position: absolute;
    right: 75px;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 100px;
    left: 30px;
    z-index: 9999;
}

.theme-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    cursor: pointer;
    font-size: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .whatsapp-float::before {
        display: none;
    }
}