/**
 * Rise Studio - Main Stylesheet
 * Digital Marketing & IT Services Company - Bathinda, Punjab, India
 * Color Palette:
 * Primary Teal: #0FA3B1
 * Secondary Blue: #B5E2FA
 * Off-White: #F9F7F3
 * Cream/Gold: #EDDEA4
 * Coral/Orange: #F7A072
 * Dark Navy: #1a1a2e
 */
/* Emergency AOS Fix */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
}
/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-teal: #0FA3B1;
    --primary-teal-dark: #0d8a96;
    --secondary-blue: #B5E2FA;
    --off-white: #F9F7F3;
    --cream-gold: #EDDEA4;
    --coral-orange: #F7A072;
    --coral-dark: #e88d5e;
    --dark-navy: #1a1a2e;
    --dark-navy-light: #252542;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

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

a:hover {
    color: var(--primary-teal);
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-teal { color: var(--primary-teal) !important; }
.text-coral { color: var(--coral-orange) !important; }
.text-blue { color: var(--secondary-blue) !important; }
.text-cream { color: var(--cream-gold) !important; }
.text-navy { color: var(--dark-navy) !important; }

.bg-teal { background-color: var(--primary-teal) !important; }
.bg-coral { background-color: var(--coral-orange) !important; }
.bg-blue { background-color: var(--secondary-blue) !important; }
.bg-cream { background-color: var(--cream-gold) !important; }
.bg-navy { background-color: var(--dark-navy) !important; }
.bg-off-white { background-color: var(--off-white) !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.btn-teal:hover {
    background-color: var(--primary-teal-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-coral:hover {
    background-color: var(--coral-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Pulse Animation for CTA */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 160, 114, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(247, 160, 114, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 160, 114, 0);
    }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--coral-orange));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    width: 10px;
    height: 10px;
    background-color: var(--primary-teal);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.custom-cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-teal);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
}

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

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 1rem 0;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.main-header.scrolled .nav-link {
    color: var(--text-dark);
}

.main-header.scrolled .logo-text {
    color: var(--text-dark);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    padding: 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.main-header.scrolled .logo-text {
    color: var(--dark-navy);
}

.logo-text .text-teal {
    color: var(--primary-teal);
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--white);
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

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

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

/* Mega Dropdown */
.mega-dropdown {
    position: static;
}

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 2rem 0;
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    background: var(--white);
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown.show .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    margin-bottom: 0.5rem;
}

.mega-menu-item:hover {
    background-color: var(--off-white);
    transform: translateX(5px);
}

.mega-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.mega-content h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.mega-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.mega-footer {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-toggler-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-normal);
}

.main-header.scrolled .navbar-toggler-icon span {
    background-color: var(--text-dark);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--coral-orange) 100%);
    padding-top: 80px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -50px;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    padding: 3rem 0;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--cream-gold);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.trust-badge i {
    color: var(--cream-gold);
}

/* Hero 3D Frame */
.hero-frame-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3d-frame {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.frame-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.frame-face video,
.frame-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-front {
    transform: translateZ(200px);
}

.frame-back {
    transform: translateZ(-200px) rotateY(180deg);
}

.frame-right {
    transform: translateX(200px) rotateY(90deg);
    width: 400px;
}

.frame-left {
    transform: translateX(-200px) rotateY(-90deg);
    width: 400px;
}

/* Hero Video Slider Alternative */
.hero-video-slider {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: scale(1.1);
}

.hero-video-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-video-slide video,
.hero-video-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   CLIENT LOGO MARQUEE
   ============================================ */
.client-marquee-section {
    padding: 3rem 0;
    background: var(--off-white);
    overflow: hidden;
}

.marquee-header {
    text-align: center;
    margin-bottom: 2rem;
}

.marquee-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-container {
    position: relative;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

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

.marquee-item {
    flex-shrink: 0;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-normal);
}

.marquee-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.marquee-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, transparent 100%);
    opacity: 0.3;
    border-radius: 0 0 0 200px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-features {
    margin: 2rem 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-feature-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.about-feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Video Frame */
.video-frame {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-frame video,
.video-frame img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-teal);
}

.play-button:hover i {
    color: var(--white);
}

.play-button i {
    font-size: 1.5rem;
    color: var(--primary-teal);
    margin-left: 5px;
    transition: var(--transition-normal);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--secondary-blue) 0%, var(--white) 100%);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--coral-orange));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link i {
    transition: var(--transition-normal);
}

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

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-section {
    padding: 5rem 0;
    background: var(--white);
}

.feature-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.feature-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--coral-orange), var(--cream-gold));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Stats Counter */
.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ============================================
   REELS SECTION
   ============================================ */
.reels-section {
    padding: 5rem 0;
    background: var(--dark-navy);
}

.reels-section .section-title,
.reels-section .section-description {
    color: var(--white);
}

.reels-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reel-card {
    flex-shrink: 0;
    width: 280px;
    aspect-ratio: 9/16;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.reel-card:hover {
    transform: scale(1.02);
}

.reel-card video,
.reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.reel-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.reel-views {
    font-size: 0.8rem;
    opacity: 0.8;
}

.reel-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.reel-card:hover .reel-play-icon {
    background: var(--primary-teal);
}

.reel-play-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    padding: 5rem 0;
    background: var(--off-white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.95));
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay .category {
    color: var(--primary-teal);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.portfolio-overlay .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-slider {
    padding: 2rem 0;
}

.testimonial-slide {
    padding: 2rem;
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.swiper-slide-active .testimonial-card {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-teal);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author .designation {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-author .company {
    font-size: 0.8rem;
    color: var(--primary-teal);
    font-weight: 600;
}

/* ============================================
   TECHNOLOGY STACK
   ============================================ */
.tech-stack-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    overflow: hidden;
}

.tech-categories {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tech-category {
    text-align: center;
}

.tech-category h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition-normal);
    animation: floatTech 4s ease-in-out infinite;
}

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

.tech-icon i {
    font-size: 2rem;
    color: var(--primary-teal);
}

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

/* Stagger animations */
.tech-icon:nth-child(1) { animation-delay: 0s; }
.tech-icon:nth-child(2) { animation-delay: 0.5s; }
.tech-icon:nth-child(3) { animation-delay: 1s; }
.tech-icon:nth-child(4) { animation-delay: 1.5s; }
.tech-icon:nth-child(5) { animation-delay: 2s; }

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    padding: 5rem 0;
    background: var(--white);
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-normal);
    height: 100%;
}

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

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-teal);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--text-dark);
}

.blog-content h3 a:hover {
    color: var(--primary-teal);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-meta i {
    margin-right: 0.25rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--coral-orange) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
}

.cta-form .input-group {
    background: var(--white);
    border-radius: var(--border-radius-full);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.cta-form .form-control {
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.cta-form .form-control:focus {
    box-shadow: none;
}

.cta-form .btn {
    border-radius: var(--border-radius-full);
    padding: 0.75rem 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--dark-navy);
    color: var(--white);
}

.footer-top {
    padding: 4rem 0 2rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-about {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-teal);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.7rem;
    color: var(--primary-teal);
}

.newsletter-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    padding: 0.75rem 1rem;
}

.privacy-note {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.privacy-note i {
    margin-right: 0.25rem;
}

.footer-contact {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-teal);
    width: 20px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    margin: 0;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--primary-teal);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-5px);
}

/* ============================================
   MODALS
   ============================================ */
.video-modal .modal-content {
    background: var(--dark-navy);
}

.reel-modal .modal-dialog {
    max-width: 400px;
}

.reel-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.reel-container video {
    width: 100%;
    display: block;
}

.portfolio-modal .modal-content {
    border-radius: var(--border-radius-lg);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}