/* ============================================
   Clean Wave - Trendy Landing Page
   Modern CSS with Animations & Effects
   ============================================ */

/* CSS Variables */
:root {
    --primary: #113065;
    --primary-light: #1a4a9c;
    --primary-dark: #0a1d3d;
    --accent: #00c6ff;
    --accent-light: #72efff;
    --gradient: linear-gradient(135deg, #113065 0%, #00c6ff 100%);
    --gradient-text: linear-gradient(135deg, #113065 0%, #00a8e8 50%, #00c6ff 100%);
    --gradient-hover: linear-gradient(135deg, #00c6ff 0%, #113065 100%);

    --white: #ffffff;
    --black: #0a0a0a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;

    --font-main: 'Outfit', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;

    --shadow-sm: 0 2px 10px rgba(17, 48, 101, 0.08);
    --shadow-md: 0 8px 30px rgba(17, 48, 101, 0.12);
    --shadow-lg: 0 20px 60px rgba(17, 48, 101, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 198, 255, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 100px;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    cursor: none;
    position: relative;
}

.page-wrapper {
    width: 100%;
    position: relative;
}


@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Page Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Cursor */
.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, opacity 0.15s ease, width 0.2s, height 0.2s;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
}

body:hover .cursor-follower,
body:hover .cursor-dot {
    opacity: 1;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background: rgba(0, 198, 255, 0.1);
}

@media (max-width: 768px) {
    .cursor-follower,
    .cursor-dot {
        display: none !important;
    }
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(17, 48, 101, 0.03) 0%, rgba(0, 198, 255, 0.06) 100%);
    animation: float 20s infinite ease-in-out;
}

.bubble-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bubble-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -100px;
    animation-delay: -5s;
}

.bubble-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

.bubble-4 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 20%;
    animation-delay: -15s;
}

.bubble-5 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 30%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(10px, -10px) rotate(3deg);
    }
}

@media (max-width: 768px) {
    .bubble-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
    }

    .bubble-2 {
        width: 200px;
        height: 200px;
        left: -50px;
    }

    .bubble-3,
    .bubble-4,
    .bubble-5 {
        display: none;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(17, 48, 101, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn {
        cursor: pointer;
    }
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s;
}

.btn:hover .btn-shine {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline:hover svg {
    transform: translateX(5px);
}

.btn-glow {
    background: var(--gradient);
    color: var(--white);
    padding: 12px 24px;
    font-size: 14px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 198, 255, 0.6), 0 0 40px rgba(0, 198, 255, 0.3);
    }
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    max-width: 100%;
    overflow-x: hidden;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin: 24px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-links a {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 992px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 24px 60px;
    position: relative;
    overflow: visible;
    max-width: 100%;
}

.hero-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(17, 48, 101, 0.05);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-text h1 .line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-text h1 .line:nth-child(1) { animation-delay: 0.2s; }
.hero-text h1 .line:nth-child(2) { animation-delay: 0.4s; }
.hero-text h1 .line:nth-child(3) { animation-delay: 0.6s; }

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

.hero-description {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-plus,
.stat-percent {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Hero Features (replacement for stats) */
.hero-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(17, 48, 101, 0.05);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.hero-feature:hover {
    background: rgba(17, 48, 101, 0.1);
    transform: translateY(-2px);
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.hero-feature span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

@media (max-width: 992px) {
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    padding: 20px 40px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    position: relative;
    z-index: 2;
}

.hero-image-card > img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgba(17, 48, 101, 0.2));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 3;
}

.floating-card .card-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(17, 48, 101, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card .card-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

.floating-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: -20px;
    animation-delay: -1.5s;
}

.card-3 {
    bottom: 20%;
    left: 0;
    animation-delay: -3s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 60%;
    left: 10%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 30%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.5;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeIn 1s ease 1.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

.scroll-indicator span {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 16px 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-card > img {
        max-width: 280px;
    }

    .floating-card {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .sparkle {
        display: none;
    }
}

/* Marquee Section */
.marquee-section {
    padding: 30px 0;
    background: var(--primary);
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}

.marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.marquee-content span {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
}

.marquee-content .star {
    color: var(--accent);
    font-size: 16px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-content {
        gap: 30px;
    }

    .marquee-content span {
        font-size: 16px;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 16px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover svg {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 100px 0 120px;
    background: var(--white);
    overflow: visible;
}

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

.about-images {
    position: relative;
}

.image-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.collage-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.collage-item:hover {
    transform: scale(1.03);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-item.item-1 {
    grid-row: span 2;
    height: 350px;
}

.collage-item.item-2 {
    height: 167px;
}

.collage-item.item-3 {
    height: 167px;
}

.collage-item.item-4 {
    grid-column: span 2;
    height: 200px;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: badgePulse 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.exp-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.exp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.exp-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.exp-text {
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-lead {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.about-features {
    margin-bottom: 32px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(17, 48, 101, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature:hover .feature-icon {
    background: var(--gradient);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: var(--transition);
}

.feature:hover .feature-icon svg {
    stroke: var(--white);
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray-500);
}

@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        order: -1;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 20px auto 0;
    }
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    overflow: hidden;
}

.section-header.center {
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.why-card:hover::after {
    opacity: 0.03;
}

.why-card > * {
    position: relative;
    z-index: 1;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(10deg);
}

.why-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.why-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.why-card p {
    font-size: 15px;
    color: var(--gray-600);
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    z-index: -1;
}

.cta-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--gray-100);
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: var(--gradient);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: var(--transition);
}

.contact-item:hover .contact-icon svg {
    stroke: var(--white);
}

.contact-text span {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text a,
.contact-text p {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    display: block;
}

.contact-text a:hover {
    color: var(--primary);
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.social-link:hover svg {
    fill: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px 0 12px;
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--gray-700);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    outline: none;
    transition: var(--transition);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 20px;
    font-size: 16px;
    color: var(--gray-500);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: var(--primary);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.contact-form .btn {
    margin-top: 16px;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 30px;
    }
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 30px;
    color: var(--white);
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a,
.footer-column ul li {
    font-size: 15px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 8px;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    max-width: 420px;
    width: calc(100% - 48px);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 16px 48px rgba(17, 48, 101, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-consent-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-consent-text p {
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-link {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.cookie-consent-link:hover {
    color: var(--accent);
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.cookie-btn-accept {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(17, 48, 101, 0.25);
}

.cookie-btn-accept:hover {
    box-shadow: 0 6px 24px rgba(17, 48, 101, 0.35), var(--shadow-glow);
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.cookie-btn-reject:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 16px;
        left: 16px;
        width: calc(100% - 32px);
        max-width: none;
    }

    .cookie-consent-content {
        padding: 20px;
    }

    .cookie-btn {
        cursor: pointer;
        padding: 11px 16px;
        font-size: 13px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Mobile Overflow Fixes */
@media (max-width: 768px) {
    html, body, .page-wrapper {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    * {
        max-width: 100vw;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .services,
    .about,
    .why-us,
    .contact,
    .cta-section {
        padding: 60px 0;
    }

    .hero-badge {
        padding: 8px 16px;
    }

    .hero-badge span {
        font-size: 12px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .section-header p {
        padding: 0 8px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-top {
        gap: 40px;
    }

    .animated-bg {
        display: none;
    }
}

/* Smooth Scroll Fix for Safari */
@supports (-webkit-overflow-scrolling: touch) {
    html {
        scroll-behavior: auto;
    }
}

/* AOS Animation Overflow Fix */
[data-aos] {
    overflow: hidden;
}

/* Disable problematic AOS animations on mobile */
@media (max-width: 768px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"],
    [data-aos="slide-left"],
    [data-aos="slide-right"] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    [data-aos] {
        pointer-events: auto !important;
    }
}
