/* ========== GLOBAL STYLES & RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --primary-color: #0066FF;
    --primary-light: #00D4FF;
    --secondary-color: #F0F4FF;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #495057;
    --border-radius: 16px;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow-soft: 0 10px 30px rgba(0, 102, 255, 0.1);
    --box-shadow-medium: 0 20px 50px rgba(0, 102, 255, 0.15);
    /* navbar height used to offset fixed header */
    --navbar-height: 72px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

html {
    scroll-behavior: smooth;
    /* slightly smaller base font for a more modern, compact feel */
    font-size: 15px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== SPLASH SCREEN ANIMATIONS ========== */
@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.4)) drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 60px rgba(0, 102, 255, 0.6));
    }
}

@keyframes splashFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading and Letter Animations */
@keyframes loadingBlink {
    0%, 49%, 100% {
        opacity: 1;
    }
    50%, 99% {
        opacity: 0.3;
    }
}

@keyframes letterFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes letterFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Shake Animation for startup */
@keyframes logoShake {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    10% {
        transform: translateX(-5px) scale(1.02);
    }
    20% {
        transform: translateX(5px) scale(0.98);
    }
    30% {
        transform: translateX(-3px) scale(1.01);
    }
    40% {
        transform: translateX(3px) scale(0.99);
    }
    50% {
        transform: translateX(-2px) scale(1);
    }
    60% {
        transform: translateX(2px) scale(1);
    }
    70% {
        transform: translateX(-1px) scale(1);
    }
    80% {
        transform: translateX(1px) scale(1);
    }
    90% {
        transform: translateX(0) scale(1);
    }
}

/* Pulse Animation */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Float Animation */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    visibility: visible;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: splashFadeIn 0.8s ease-out, splashGlow 2s ease-in-out infinite, logoPulse 2.5s ease-in-out infinite, logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 80px rgba(0, 212, 255, 0.4)) drop-shadow(0 0 120px rgba(0, 212, 255, 0.2));
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10;
    transform-origin: center;
}

.splash-logo svg,
.splash-logo .fallback-logo {
    width: 100%;
    height: 100%;
    animation: splashFadeIn 1s ease-out, splashGlow 2s ease-in-out infinite, logoShake 1.5s ease-in-out 1.2s;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 80px rgba(0, 212, 255, 0.4));
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.splash-logo .logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Loading Text */
.loading-text {
    margin-top: 60px;
    text-align: center;
    opacity: 0.8;
}

.loading-word {
    font-size: 16px;
    font-weight: 600;
    color: white;
    letter-spacing: 4px;
    animation: loadingBlink 1.5s ease-in-out infinite;
    display: inline-block;
}

/* Brand Letters Animation - Hidden for cleaner look */
.brand-letters {
    display: none;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
}

.letter {
    font-size: 20px;
    font-weight: 700;
    color: white;
    opacity: 0;
    animation: letterFadeIn 0.6s ease-out forwards, letterFloat 2s ease-in-out infinite, logoShake 1.5s ease-in-out 1.2s;
    animation-delay: 0.3s;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.main-content {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    /* ensure content is not hidden under the fixed navbar */
    padding-top: calc(var(--navbar-height) + 8px);
}

@media (max-width: 1024px) {
    :root { --navbar-height: 64px; }
}

@media (max-width: 768px) {
    :root { --navbar-height: 56px; }
    .main-content { padding-top: calc(var(--navbar-height) + 6px); }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo a:hover {
    transform: scale(1.05);
}

/* ========== LANGUAGE SWITCHER ========== */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-right: 1rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Improved nav link pill style for better fit and visibility */
.nav-link {
    padding: 0.5rem 0.6rem;
    border-radius: 999px;
    font-size: 0.98rem;
    white-space: nowrap;
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
    background: linear-gradient(90deg, rgba(0,102,255,0.12), rgba(0,212,255,0.08));
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,102,255,0.06);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== MOBILE NAVIGATION ========== */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease, padding 0.28s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        align-items: stretch;
    }

    .nav-menu.active {
        max-height: 520px;
        padding: 1rem 0.75rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
        display: block;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ========== CONTAINERS & LAYOUT ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ========== TYPOGRAPHY ========== */
.section-title {
    font-size: 2.4rem; /* reduced for cleaner look */
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem; /* slightly smaller subtitle */
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

/* tone down h3 headings for subtitle-level sections */
h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 0.75rem 1.5rem; /* more compact buttons */
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollSlideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-animate {
    opacity: 0;
    animation: scrollFadeIn 0.6s ease-out forwards;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.gradient-blur-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.gradient-blur-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

.hero-content {
    flex: 1;
    position: relative; /* ensure z-index applies */
    z-index: 10; /* keep text above decorative elements */
}

.hero-title {
    font-size: 3.5rem; /* toned down for modern feel */
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem; /* slightly smaller */
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 255, 0.2);
    box-shadow: var(--box-shadow-soft);
    animation: float 6s ease-in-out infinite;

    /* reduce visual prominence so it doesn't cover hero text */
    z-index: 1;
    opacity: 0.6;
    pointer-events: none; /* avoid intercepting clicks */
}

.card-1 {
    width: 160px; /* reduced size */
    height: 200px;
    top: 30px;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    width: 150px; /* reduced size */
    height: 180px;
    bottom: 40px;
    right: 120px;
    animation-delay: 1s;
}

.card-3 {
    width: 120px; /* reduced size */
    height: 140px;
    bottom: 80px;
    right: 40px;
    animation-delay: 2s;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 6rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 4rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    /* language switcher mobile improvements */
    .language-switcher {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
        order: -1; /* appear above the menu toggle */
    }

    .lang-btn {
        flex: 1;
        margin: 0.25rem;
    }
}

/* ========== ABOUT SECTION ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 212, 255, 0.05));
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: var(--box-shadow-soft);
}

.mission-card h3,
.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        display: none;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }
}

/* ========== SERVICES SECTION ========== */
.services {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(0, 212, 255, 0.02));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 212, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-medium);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-light);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
    background: white;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gray-medium);
    background: white;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    color: var(--text-dark);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: transparent;
    color: white;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.portfolio-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: none;
    transition: var(--transition-smooth);
}

/* allow real images inside portfolio cards */
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========== PROMO CAROUSEL ========== */
.promo-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16/5; /* keep a wide, banner-like shape */
    max-height: 380px;
    height: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--gray-light);
}

/* Portfolio slider styles (used for branding sections) */
.portfolio-slider {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: none;
}

.ps-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: translateY(6px);
}

.ps-slide.active {
    opacity: 1;
    z-index: 2;
    transform: translateY(0);
}

.portfolio-slider-controls {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .portfolio-slider {
        height: 250px;
    }
}

/* Portfolio card visuals and responsive image handling */
.portfolio-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--box-shadow-soft);
    transform-origin: center;
    will-change: transform, box-shadow;
}

.portfolio-card .portfolio-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* avoid cropping images */
    display: block;
    background: var(--gray-light);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Footer credit (bottom-right) */
.site-credit {
    position: fixed;
    right: 16px;
    bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    background: rgba(255,255,255,0.92);
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 2000;
}

@media (max-width: 768px) {
    .site-credit { right: 10px; bottom: 8px; font-size: 0.8rem; padding: 5px 8px; }
}

.promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-slide.active {
    opacity: 1;
    z-index: 2;
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* show full image without cropping */
    object-position: center;
    display: block;
    background: var(--gray-light);
}
.promo-controls {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .promo-carousel {
        height: 220px;
    }
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0;
    pointer-events: none;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        height: 250px;
    }
}

/* ========== WHY US SECTION ========== */
.why-us {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(0, 212, 255, 0.02));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--gray-medium);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-soft);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-suffix {
    font-size: 1.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
    transition: var(--transition-smooth);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-medium);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== BOOKING SECTION ========== */
.booking {
    background: white;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.booking-form {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(0, 212, 255, 0.02));
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.booking-info {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.booking-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-list {
    list-style: none;
    margin-bottom: 2rem;
}

.info-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-quick {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-quick h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-quick p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Success Popup */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.success-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-popup h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-popup p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-form,
    .booking-info {
        padding: 2rem 1rem;
    }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(0, 212, 255, 0.02));
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    animation: slideFadeOut 0.6s ease-out;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    animation: slideFadeIn 0.6s ease-out;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-height: auto;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(0, 212, 255, 0.02));
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 212, 255, 0.05));
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow-soft);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.info-card a:hover {
    color: var(--primary-light);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-soft);
}

.map-container iframe {
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: white;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
    align-items: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
}

.social-link svg {
    width: 22px;
    height: 22px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: rgba(0, 102, 255, 0.3);
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 102, 255, 0.3);
}

.social-link.facebook-icon:hover {
    background: rgba(59, 89, 152, 0.4);
    border-color: #3b5998;
    box-shadow: 0 8px 16px rgba(59, 89, 152, 0.3);
}

.social-link.twitter-icon:hover {
    background: rgba(29, 161, 242, 0.4);
    border-color: #1da1f2;
    box-shadow: 0 8px 16px rgba(29, 161, 242, 0.3);
}

.social-link.instagram-icon:hover {
    background: linear-gradient(45deg, rgba(245, 40, 145, 0.4), rgba(255, 0, 120, 0.4));
    border-color: #e1306c;
    box-shadow: 0 8px 16px rgba(225, 48, 108, 0.3);
}

.social-link.linkedin-icon:hover {
    background: rgba(0, 119, 181, 0.4);
    border-color: #0077b5;
    box-shadow: 0 8px 16px rgba(0, 119, 181, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.footer-bottom-right {
    text-align: right;
    padding-left: 2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom a:hover {
    color: white;
}

/* ========== UTILITY CLASSES ========== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-bottom-left {
        flex: none;
        width: 100%;
    }

    .footer-bottom-right {
        text-align: left;
        padding-left: 0;
        width: 100%;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .splash-screen,
    .hero-buttons,
    .booking-section,
    .footer {
        display: none;
    }
}
