/* ============================================
   CRORSO WEBSITE - PROFESSIONAL HIGH-QUALITY STYLING
   ============================================ */

/* Root Variables - Premium Color Scheme */
:root {
    --primary-color: #0f3d8c; /* Deep professional blue */
    --secondary-color: #1a5fb4; /* Brighter blue accent */
    --accent-color: #ff6b35; /* Vibrant orange */
    --accent-purple: #8b5cf6; /* Premium purple */
    --accent-teal: #14b8a6; /* Refined teal */
    --accent-green: #10b981; /* Emerald green */
    --dark-bg: #0f1117;
    --light-bg: #f8fafc; /* Premium light background */
    --card-bg: #ffffff;
    --card-subtle: #f1f5f9;
    --text-dark: #1a202c; /* Darker text for better contrast */
    --text-light: #64748b; /* Softer gray text */
    --text-lighter: #94a3b8; /* Even lighter gray */
    --border-color: #cbd5e1; /* Subtle border */
    --border-light: #e2e8f0;
    --success-color: #10b981;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.2);
    --glow-primary: 0 0 20px rgba(15, 61, 140, 0.2);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --icon-color: #0f3d8c;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(15, 61, 140, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(20, 184, 166, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 107, 53, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
    background-size: 100% 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 56px;
    margin-bottom: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 42px;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 900;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

h3 {
    font-size: 28px;
    margin-bottom: 18px;
    font-weight: 800;
}

h4 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 14px;
    font-weight: 700;
}

p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.75;
    font-weight: 400;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    box-shadow: 0 12px 24px rgba(15, 61, 140, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15, 61, 140, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 61, 140, 0.3);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.8px;
}

.logo-img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown > .nav-link {
    cursor: pointer;
}

.nav-dropdown > .nav-link i {
    font-size: 12px;
    margin-left: 6px;
    transition: var(--transition-fast);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(15, 61, 140, 0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 1000;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: rgba(15, 61, 140, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* ===========================
   HERO SECTION
   =========================== */


.hero {
    /* right-aligned hero image with soft overlay to match provided design */
    background:
        linear-gradient(90deg, rgba(248,250,252,0.96) 0%, rgba(248,250,252,0.80) 50%),
        url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1800&h=1000&q=85&auto=format&fit=crop') center / cover no-repeat;
    background-color: #f8fafc;
    background-attachment: fixed;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* subtle radial vignette to add depth */
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(15, 61, 140, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay {
    display: none;
}

/* Particle Background Effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: var(--primary-color);
    opacity: 0.15;
    animation: particleFloat 8s infinite ease-out;
    box-shadow: 0 0 8px rgba(15, 61, 140, 0.3);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.25;
    }
    50% {
        opacity: 0.35;
    }
    90% {
        opacity: 0.25;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--x-offset, 0)) scale(0.8);
        opacity: 0;
    }
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    text-align: left !important;
    margin-left: 30px;
}

.hero h1 {
    font-size: 64px;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 18px;
    display: block;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero::after {
        width: 100%;
        opacity: 0.05;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center !important;
    }
    
    .hero-buttons {
        justify-content: center !important;
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    padding: 70px 0;
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 61, 140, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.about-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-number {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: var(--card-bg);
    padding: 45px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.about-card img {
    height: 200px !important;
    object-fit: cover;
}

.about-card h3 {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        gap: 30px;
    }
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.division-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 800;
    position: relative;
    letter-spacing: -0.02em;
}

.services-division:nth-of-type(2) {
    margin-top: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.service-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: left !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card img {
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    height: 120px !important;
}

.service-icon {
    font-size: 32px;
    color: var(--icon-color);
    margin-bottom: 15px;
    display: block;
}

.service-card h4 {
    margin-bottom: 12px;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.service-icon i {
    font-size: 44px;
    color: var(--primary-color);
    -webkit-text-stroke: 0.5px var(--primary-color);
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 22px;
}

.service-card p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--text-light);
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: auto;
    transition: var(--transition);
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover::after {
    width: 100%;
}

/* ===========================
   WHY US SECTION
   =========================== */

.why-us {
    padding: 100px 25px;
    background-color: var(--card-bg);
}

.why-us h2 {
    font-size: 36px;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-card {
    background: var(--card-bg);
    padding: 45px 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.why-us-icon {
    font-size: 56px;
    margin-bottom: 18px;
    display: block;
    text-align: center;
}

.why-us-icon i {
    font-size: 42px;
    color: var(--primary-color);
    -webkit-text-stroke: 0.5px var(--primary-color);
}

.why-us-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.why-us-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us h2 {
        font-size: 28px;
    }
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    padding: 70px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-purple) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 48px;
}

.cta-section h2::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 107, 53, 0.9));
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 25px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    padding: 100px 25px;
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    perspective: 1000px;
}

.testimonials-slider {
    position: relative;
    margin: 60px auto 0;
    max-width: 700px;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 80px;
    padding-left: 80px;
    padding-right: 80px;
}

.testimonials-slider .swiper-wrapper {
    display: flex;
}

.testimonials-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
}

/* Swiper Navigation Buttons */
.testimonials-slider .swiper-button-prev,
.testimonials-slider .swiper-button-next {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    border: none;
    font-size: 24px;
    font-weight: bold;
}

.testimonials-slider .swiper-button-prev {
    left: 0;
}

.testimonials-slider .swiper-button-next {
    right: 0;
}

.testimonials-slider .swiper-button-prev:hover,
.testimonials-slider .swiper-button-next:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 5px 20px rgba(26, 95, 180, 0.4);
}

.testimonials-slider .swiper-button-prev::after,
.testimonials-slider .swiper-button-next::after {
    content: '' !important;
}

.testimonials-slider .swiper-button-prev::before {
    content: '❮' !important;
    font-size: 24px;
    font-weight: bold;
}

.testimonials-slider .swiper-button-next::before {
    content: '❯' !important;
    font-size: 24px;
    font-weight: bold;
}

/* Pagination Dots */
.testimonials-slider .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.testimonials-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Mobile slider view - Grid */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        padding-bottom: 70px;
        padding-left: 65px;
        padding-right: 65px;
    }
    
    .testimonials-slider .swiper-button-prev,
    .testimonials-slider .swiper-button-next {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Extra small devices */
@media (max-width: 640px) {
    .testimonials-slider {
        padding-left: 55px;
        padding-right: 55px;
        padding-bottom: 70px;
    }
    
    .testimonials-slider .swiper-button-prev,
    .testimonials-slider .swiper-button-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 45px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.testimonial-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    flex-shrink: 0;
}

.placeholder-avatar {
    background: linear-gradient(135deg, rgba(15, 76, 139, 0.2), rgba(0, 212, 212, 0.2));
    color: var(--primary-color);
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.client-company {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.rating {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 2px;
}

/* ===========================
   TEAM SECTION
   =========================== */

.team {
    padding: 80px 25px;
    background-color: var(--light-bg);\n}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 900px;
    margin: 30px auto 0;
}

.team-card {
    text-align: center;
    transition: var(--transition);
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 8px solid var(--light-bg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-card h4 {
    margin-bottom: 10px;
    font-size: 26px;
    color: var(--text-dark);
    font-weight: 800;
}

.team-role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

/* ===========================
   TECHNOLOGY SECTION
   =========================== */

.technology {
    padding: 70px 25px;
    background-color: var(--light-bg);
}

.tech-division {
    margin-bottom: 60px;
}

.tech-division h3 {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-light);
    display: inline-block;
    width: 100%;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tech-item {
    background: var(--card-bg);
    padding: 35px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
}

.tech-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.tech-item h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.tech-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 15px;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    padding: 140px 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-purple) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact h2,
.contact .contact-subtitle {
    color: white;
    text-align: center;
}

.contact h2::after {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-teal));
}

.contact-subtitle {
    font-size: 18px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper h3,
.contact-info h3 {
    color: white;
    margin-bottom: 30px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(15, 76, 139, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
    cursor: pointer;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.error-message.show {
    display: block;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3b73 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    box-shadow: var(--shadow-md);
    display: block;
    margin: 0 auto;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 76, 139, 0.3);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 15px;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
    border: 1px solid #c3e6cb;
}

.form-success h4 {
    color: #155724;
    margin-bottom: 10px;
}

.contact-info {
    color: white;
}

.contact-detail {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-detail:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-detail h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    margin: 0 0 15px 0;
    display: block;
}

.contact-detail p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    margin: 0;
    line-height: 1.2;
    display: block;
    width: 100%;
}

.contact-detail a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.contact-detail a:hover {
    color: white;
    text-decoration: underline;
}

.contact-detail a.whatsapp-link {
    background: linear-gradient(135deg, #4ed964 0%, #34c759 100%) !important;
    color: white !important;
}

.whatsapp-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 32px !important;
    background: linear-gradient(135deg, #4ed964 0%, #34c759 100%) !important;
    color: white !important;
    border-radius: 10px !important;
    margin-top: 12px !important;
    transition: var(--transition) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    width: 100% !important;
    display: flex !important;
    font-size: 16px !important;
    letter-spacing: 0.6px !important;
    box-shadow: 0 4px 15px rgba(78, 217, 100, 0.3) !important;
    border: none !important;
    line-height: 1.2 !important;
}

.whatsapp-link:hover {
    background: linear-gradient(135deg, #34c759 0%, #30b550 100%) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(78, 217, 100, 0.5) !important;
    color: white !important;
}

.contact-detail a.linkedin-link {
    background: linear-gradient(135deg, #0a84ff 0%, #0068ff 100%) !important;
    color: white !important;
}

.linkedin-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 32px !important;
    background: linear-gradient(135deg, #0a84ff 0%, #0068ff 100%) !important;
    color: white !important;
    border-radius: 10px !important;
    margin-top: 12px !important;
    transition: var(--transition) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    width: 100% !important;
    display: flex !important;
    font-size: 16px !important;
    letter-spacing: 0.6px !important;
    box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3) !important;
    border: none !important;
    line-height: 1.2 !important;
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #0068ff 0%, #0051d5 100%) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(10, 132, 255, 0.5) !important;
    color: white !important;
}


@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px;
    }
}

/* ===========================
   NEWSLETTER SECTION
   =========================== */

.newsletter {
    padding: 70px 25px;
    background: linear-gradient(135deg, rgba(15, 61, 140, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    text-align: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.newsletter h2 {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.newsletter p {
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 40px auto;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(15, 76, 139, 0.1);
}

.newsletter-form .btn {
    min-width: 150px;
}

.newsletter-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
}

.newsletter-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #c3e6cb;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: linear-gradient(135deg, #0a0f1a 0%, var(--primary-color) 50%, var(--accent-purple) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 25px 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 40px;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .social-links {
        gap: 60px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 25px;
    }
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    text-decoration: none;
    font-size: 18px;
}

.social-links a i {
    color: white !important;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    color: white !important;
}

.footer-bottom {
    text-align: center;
    padding: 40px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0,0,0,0.2);
    color: #94a3b8;
}

.footer-bottom p {
    color: #94a3b8 !important;
    margin-bottom: 8px;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* ===========================
   SCROLL TO TOP BUTTON
   =========================== */

.scroll-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 26px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(15, 61, 140, 0.5);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .btn {
        padding: 14px 32px;
        font-size: 15px;
    }

    .about,
    .services,
    .contact,
    .newsletter,
    .team {
        padding: 80px 20px;
    }

    h2 {
        margin-bottom: 15px;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .hero {
        padding: 60px 15px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .nav-menu {
        gap: 0;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card,
.about-card,
.testimonial-card,
.team-card,
.tech-item {
    animation: slideInUp 0.6s ease-out backwards;
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }


/* ===========================
   FEATURED / CTA SECTION STYLING
   =========================== */

.cta-content h2 {
    color: white;
    text-align: center;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-align: center;
    font-style: italic;
    margin-bottom: 40px;
}

.cta-why-section {
    max-width: 900px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.cta-why-section h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.cta-why-description {
    font-size: 16px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-benefit-highlight {
    font-size: 18px;
    font-weight: 600;
    color: #2ecc71;
    margin-bottom: 40px;
}

.cta-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.cta-feature-card h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
}

.cta-feature-card p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 14px;
}

.cta-works-section {
    max-width: 900px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-works-section h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.cta-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cta-works-item {
    text-align: center;
    padding: 15px;
}

.cta-works-item p {
    font-size: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* ===========================
   ACCESSIBILITY
   =========================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Legal Pages Styling */
.legal-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.legal-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 20px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.legal-section h2::after {
    display: none;
}

.legal-section h3 {
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

.legal-section h4 {
    color: var(--text-dark);
    margin-top: 15px;
    margin-bottom: 10px;
}

.legal-content {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content ol li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-content a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px;
    }

    .legal-section h1 {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 22px;
    }
}

/* ============================================
   PREMIUM ANIMATIONS & INTERACTIONS
   ============================================ */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(26, 95, 180, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(26, 95, 180, 0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(26, 95, 180, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(26, 95, 180, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

/* Animate-In Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards !important;
}

.service-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.why-us-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out backwards;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.testimonial-card.active {
    opacity: 1;
    animation: scaleIn 0.5s ease-out;
}

.team-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.tech-item {
    animation: scaleIn 0.6s ease-out backwards;
}

/* Hero Section Animations */
.hero-content h1 {
    animation: slideInLeft 0.8s ease-out;
}

.hero-content .hero-subtitle {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.hero-content .hero-description {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Enhanced Card Hover Effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(26, 95, 180, 0.2);
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-card img {
    transition: transform 0.5s ease;
}

/* About Stats Animation */
.about-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: slideInUp 0.6s ease-out backwards;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    animation: bounce 0.6s ease-out;
}

/* Why Us Cards Enhanced */
.why-us-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border: 1px solid var(--border-color);
}

.why-us-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(26, 95, 180, 0.15);
    border-color: var(--primary-color);
}

.why-us-icon {
    font-size: 48px;
    display: inline-block;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.why-us-card:hover .why-us-icon {
    animation: float 1.5s ease-in-out infinite;
}

/* Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    animation: slideDown 0.6s ease-out;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(26, 95, 180, 0.3);
}

/* Form Input Animations */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
    transform: translateY(-2px);
}

/* Testimonial Slider */
.testimonials-grid {
    position: relative;
    perspective: 1000px;
    min-height: 350px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.slider-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.2);
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(26, 95, 180, 0.4);
}

.slider-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.dot:hover,
.dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
}

/* Parallax Effect for Hero */
.hero-overlay {
    animation: float 6s ease-in-out infinite;
}

/* Page Load Animation */
body {
    animation: fadeInUp 0.6s ease-out;
}

/* Link Hover Animations */
a {
    position: relative;
    text-decoration: none;
}

.nav-link {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Section Animations */
.cta-section {
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.cta-buttons {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Loading Animation */
.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Enhanced Team Cards */
.team-card {
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 95, 180, 0.2);
}

.team-image {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.team-image img {
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

/* Text Animations */
@keyframes textColor {
    0%, 100% {
        color: var(--primary-color);
    }
    50% {
        color: var(--secondary-color);
    }
}

.section-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Smooth Section Transitions */
section {
    scroll-behavior: smooth;
}

/* Enhanced Newsletter Section */
.newsletter-form {
    animation: slideInUp 0.6s ease-out;
}

.newsletter-form input {
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    box-shadow: 0 0 20px rgba(26, 95, 180, 0.2);
}

/* Icon Animations */
.service-icon,
.why-us-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    animation: rotateIn 0.5s ease-out;
    transform: scale(1.2) rotate(10deg);
}

/* Enhanced Footer Hover Effects */
.footer-section a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section a:hover::before {
    width: 100%;
}

/* Stagger Animation for Grid Items */
.services-grid > div:nth-child(1) { animation-delay: 0.1s; }
.services-grid > div:nth-child(2) { animation-delay: 0.2s; }
.services-grid > div:nth-child(3) { animation-delay: 0.3s; }
.services-grid > div:nth-child(4) { animation-delay: 0.4s; }

.why-us-grid > div:nth-child(1) { animation-delay: 0.1s; }
.why-us-grid > div:nth-child(2) { animation-delay: 0.2s; }
.why-us-grid > div:nth-child(3) { animation-delay: 0.3s; }
.why-us-grid > div:nth-child(4) { animation-delay: 0.4s; }
.why-us-grid > div:nth-child(5) { animation-delay: 0.5s; }
.why-us-grid > div:nth-child(6) { animation-delay: 0.6s; }

/* Smooth Color Transitions */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media print {
    .navbar,
    .scroll-to-top,
    .hero-buttons,
    .contact-form,
    .newsletter-form {
        display: none;
    }
}
