/* ============================================
   RAYS DIGITAL - COMPLETELY NEW DESIGN
   Modern Glassmorphism with Dark/Light Mode
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors from Old Website */
    --primary-red: #A31F2A;
    --primary-blue: #104373;
    
    /* Colors - Light Mode (matching old website) */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.8);
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: rgba(0, 0, 0, 0.1);
    --accent-primary: #A31F2A;
    --accent-secondary: #104373;
    --accent-gradient: linear-gradient(135deg, #A31F2A 0%, #104373 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --backdrop-blur: blur(20px) saturate(180%);
}

[data-theme="dark"] {
    /* Brand Colors remain the same */
    --primary-red: #A31F2A;
    --primary-blue: #104373;
    
    /* Dark Theme (matching old website) */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glass-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f7fafc;
    --text-secondary: #cbd5e0;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-primary: #A31F2A;
    --accent-secondary: #104373;
    --accent-gradient: linear-gradient(135deg, #A31F2A 0%, #104373 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

/* Responsive Images - Global Rule */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[class*="hero"],
img[class*="about"],
img[class*="media"] {
    width: 100%;
    object-fit: contain;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Background Pattern from Old Website */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

[data-theme="dark"] body::before {
    opacity: 0.4;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: none;
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled::before {
    opacity: 0.3;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 70px;
    gap: 2rem;
    position: relative;
    overflow: visible;
}

.nav-brand {
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 240px;
    height: auto;
    object-fit: contain;
}

/* Light mode: Show light logo, hide dark logo */
.brand-logo-light {
    display: block !important;
}

.brand-logo-dark {
    display: none !important;
}

/* Dark mode: Hide light logo, show dark logo */
[data-theme="dark"] .brand-logo-light {
    display: none !important;
}

[data-theme="dark"] .brand-logo-dark {
    display: block !important;
}

.nav-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E91E63 0%, #A31F2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    letter-spacing: -0.5px;
}

.nav-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E91E63 0%, #A31F2A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.brand-subtext {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-top: -2px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.brand-link:hover .brand-text {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: fit-content;
    justify-self: center;
}

[data-theme="dark"] .nav-menu {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-menu > li {
    position: relative;
}

/* Bridge the gap between nav item and mega menu to prevent closing on hover */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 25px;
    white-space: nowrap;
}

.nav-link,
.nav-link * {
    color: inherit;
    text-decoration: none;
}

[data-theme="dark"] .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link.has-dropdown {
    padding-right: 1.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(163, 31, 42, 0.08);
}

.nav-link.active {
    color: #ffffff;
    background: var(--accent-gradient);
    font-weight: 600;
}

[data-theme="dark"] .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-link.active {
    background: var(--accent-gradient);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1201;
    margin-left: auto;
}

.nav-cta-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #E91E63 0%, #A31F2A 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    white-space: nowrap;
    border: none;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
    background: linear-gradient(135deg, #F50057 0%, #C2185B 100%);
}

.nav-cta-btn i {
    transition: transform 0.3s ease;
}

.nav-cta-btn:hover i {
    transform: translateX(4px);
}

.theme-switcher {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-switcher:hover {
    background: var(--bg-glass-hover);
    transform: rotate(15deg);
}

.theme-icon {
    position: absolute;
    font-size: 1.1rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: var(--bg-glass-hover);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* Mega Menu Styles */
.nav-item-dropdown {
    position: static;
    overflow: visible;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    width: min(1000px, calc(100vw - 4rem));
    max-width: calc(100vw - 4rem);
    transform: translate(-50%, 0);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1300;
    max-height: 0;
    overflow: hidden;
    margin-left: 0;
    transition: 0.5s !important;
    margin-right: 0;
}
.mega-menu.active
{
        transition: 0.5s !important;

}
/* Dark mode mega menu - MUST come first for proper override */
body[data-theme="dark"] .mega-menu,
[data-theme="dark"] .mega-menu {
    background: var(--bg-secondary) !important;
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Ensure dark mode mega menu content is also dark */
body[data-theme="dark"] .mega-menu-content,
[data-theme="dark"] .mega-menu-content {
    background: transparent !important;
}

/* Light mode mega menu */
body[data-theme="light"] .mega-menu,
[data-theme="light"] .mega-menu,
body:not([data-theme="dark"]) .mega-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.15) !important;
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 10px);
    pointer-events: all;
    max-height: 1200px;
    overflow: visible;
}

/* Force dark mode colors when dark theme is active */
body[data-theme="dark"] .nav-item-dropdown:hover .mega-menu,
[data-theme="dark"] .nav-item-dropdown:hover .mega-menu,
body[data-theme="dark"] .nav-item-dropdown.active .mega-menu,
[data-theme="dark"] .nav-item-dropdown.active .mega-menu {
    background: var(--bg-secondary) !important;
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    width: min(1000px, calc(100vw - 4rem)) !important;
    max-width: calc(100vw - 4rem) !important;
}

/* Packages mega menu specific - prevent right overflow */
.nav-item-dropdown:hover .mega-menu:has(.mega-menu-package),
.nav-item-dropdown.active .mega-menu:has(.mega-menu-package) {
    width: min(850px, calc(100vw - 4rem)) !important;
    max-width: calc(100vw - 4rem) !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 10px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body[data-theme="dark"] .nav-item-dropdown:hover .mega-menu:has(.mega-menu-package),
[data-theme="dark"] .nav-item-dropdown:hover .mega-menu:has(.mega-menu-package),
body[data-theme="dark"] .nav-item-dropdown.active .mega-menu:has(.mega-menu-package),
[data-theme="dark"] .nav-item-dropdown.active .mega-menu:has(.mega-menu-package) {
    width: min(850px, calc(100vw - 4rem)) !important;
    max-width: calc(100vw - 4rem) !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 10px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: var(--bg-secondary) !important;
    background-color: var(--bg-secondary) !important;
}

/* Dark mode mega menu - remove duplicate, already handled above */

.mega-menu-content {
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem !important;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mega-menu-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.mega-menu-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mega-menu-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive grid for large screens */
@media (min-width: 768px) {
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Center packages mega menu content - when grid contains package items */
.mega-menu-content:has(.mega-menu-package) .mega-menu-grid {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure packages mega menu doesn't overflow - smaller width and proper centering */
.mega-menu:has(.mega-menu-package) {
    width: min(850px, calc(100vw - 4rem)) !important;
    max-width: calc(100vw - 4rem) !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 0) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
}

/* Light mode - ensure light colors */
body[data-theme="light"] .mega-menu-item,
[data-theme="light"] .mega-menu-item,
body:not([data-theme="dark"]) .mega-menu-item {
    background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Dark mode mega menu items - MUST come AFTER light mode to override - Force dark colors */
body[data-theme="dark"] .mega-menu-item,
[data-theme="dark"] .mega-menu-item,
body[data-theme="dark"] .mega-menu-package,
[data-theme="dark"] .mega-menu-package,
body[data-theme="dark"] .mega-menu .mega-menu-item,
[data-theme="dark"] .mega-menu .mega-menu-item,
body[data-theme="dark"] .mega-menu .mega-menu-package,
[data-theme="dark"] .mega-menu .mega-menu-package {
    background: rgba(30, 30, 30, 0.9) !important;
    background-color: rgba(30, 30, 30, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body[data-theme="dark"] .mega-menu-item:hover,
[data-theme="dark"] .mega-menu-item:hover,
body[data-theme="dark"] .mega-menu-package:hover,
[data-theme="dark"] .mega-menu-package:hover,
body[data-theme="dark"] .mega-menu .mega-menu-item:hover,
[data-theme="dark"] .mega-menu .mega-menu-item:hover,
body[data-theme="dark"] .mega-menu .mega-menu-package:hover,
[data-theme="dark"] .mega-menu .mega-menu-package:hover {
    background: rgba(40, 40, 40, 0.95) !important;
    background-color: rgba(40, 40, 40, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Light mode mega menu items - already defined above, this is redundant but kept for specificity */

.mega-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mega-menu-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.mega-menu-item:hover::before {
    transform: scaleY(1);
}

.mega-menu-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.mega-menu-item:hover .mega-menu-icon {
    transform: scale(1.1) rotate(5deg);
}

.mega-menu-text {
    flex: 1;
    min-width: 0;
    overflow: visible !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.mega-menu-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.3 !important;
    box-sizing: border-box;
}

/* Add padding to package titles to prevent badge overlap */
.mega-menu-package .mega-menu-text h4 {
    padding-right: 5.5rem;
}

.mega-menu-item:hover .mega-menu-text h4 {
    color: var(--accent-primary);
}

.mega-menu-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.mega-menu-package {
    flex-direction: column;
    align-items: stretch;
    position: relative;
    overflow: visible;
}

.mega-menu-package-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    z-index: 10;
    white-space: nowrap;
    line-height: 1.2;
}

.mega-menu-package-badge.featured {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
}

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

.mega-menu-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--accent-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(163, 31, 42, 0.2);
}

.mega-menu-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 31, 42, 0.3);
}

.mega-menu-view-all i {
    transition: transform 0.3s ease;
}

.mega-menu-view-all:hover i {
    transform: translateX(4px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: var(--bg-primary);
  
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.2;
    animation: float 15s ease-in-out infinite;
}

@media (max-width: 768px) {
    .gradient-orb {
        opacity: 0.1;
        filter: blur(80px);
    }
    
    .orb-1,
    .orb-2,
    .orb-3,
    .orb-4 {
        opacity: 0.08;
    }
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: linear-gradient(135deg, #A31F2A, #104373);
    top: -240px;
    left: -240px;
    animation-delay: 0s;
    animation-name: float, pulse;
    animation-duration: 15s, 4s;
    animation-iteration-count: infinite, infinite;
}

.orb-2 {
    width: 430px;
    height: 430px;
    background: linear-gradient(135deg, #A31F2A, #8B1A2A);
    bottom: -160px;
    right: -160px;
    animation-delay: 3s;
    animation-name: float, pulse;
    animation-duration: 18s, 5s;
    animation-iteration-count: infinite, infinite;
}

.orb-3 {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle at 30% 30%, rgba(163, 31, 42, 0.9), rgba(16, 67, 115, 0.8));
    top: 12%;
    left: 48%;
    transform: translateX(-50%);
    animation-delay: 6s;
    animation-name: float, pulse;
    animation-duration: 20s, 6s;
    animation-iteration-count: infinite, infinite;
}

.orb-4 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 70% 70%, rgba(16, 67, 115, 0.8), rgba(163, 31, 42, 0.7));
    bottom: 18%;
    left: 22%;
    animation-delay: 9s;
    animation-name: float, pulse;
    animation-duration: 16s, 4.5s;
    animation-iteration-count: infinite, infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(40px, -40px) scale(1.15) rotate(90deg); }
    50% { transform: translate(-30px, 30px) scale(0.95) rotate(180deg); }
    75% { transform: translate(20px, -20px) scale(1.05) rotate(270deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 120px !important;
}

/* Animated Particles Background */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
@media (max-width: 1500px) {
    
    .hero-container
    {
        padding-top:150px !important;
    }
}

@media (max-width: 768px) {
    .particles {
        opacity: 0.3;
    }
    
    .particles::before,
    .particles::after {
        opacity: 0.2;
    }
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: particlesFloat 20s linear infinite;
    opacity: 0.6;
}

.particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        200px 300px 0 var(--accent-primary),
        400px 100px 0 var(--accent-secondary),
        600px 500px 0 var(--accent-primary),
        800px 200px 0 var(--accent-secondary),
        1000px 400px 0 var(--accent-primary);
}

.particles::after {
    top: 60%;
    left: 20%;
    animation-delay: 10s;
    box-shadow: 
        150px 250px 0 var(--accent-secondary),
        350px 150px 0 var(--accent-primary),
        550px 350px 0 var(--accent-secondary),
        750px 250px 0 var(--accent-primary),
        950px 450px 0 var(--accent-secondary);
}

@keyframes particlesFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-100px) translateX(50px); opacity: 1; }
    100% { transform: translateY(-200px) translateX(100px); opacity: 0; }
}

.hero-content {
    animation: slideInLeft 1s ease;
    z-index: 10;
    padding-right: 2rem;
    position: relative;
    order: 1;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(163, 31, 42, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-social-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

.hero-social-proof:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

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

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.social-proof-icon {
    font-size: 1rem;
    color: var(--accent-primary);
}

.social-proof-emoji {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease 0.4s both;
    position: relative;
}

.hero-title .highlighted-text,
.hero-title .gradient-text {
    display: inline-block;
    animation: textReveal 1s ease 0.6s both;
}

.highlighted-text {
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 30px rgba(163, 31, 42, 0.3);
}

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

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.8s both;
    position: relative;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-actions .btn {
    position: relative;
    overflow: hidden;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: auto;
    max-width: fit-content;
}

.hero-actions .btn::before {
    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;
}

.hero-actions .btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: auto;
    max-width: fit-content;
}

.btn-video i {
    color: var(--accent-primary);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-video:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(163, 31, 42, 0.2);
}

.btn-video:hover i {
    transform: scale(1.2);
}

/* Hero Image Section with Floating Cards */
.hero-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 700px;
    animation: slideInRight 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    width: 100%;
    order: 2;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-main-image {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-person-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 30px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
    object-fit: contain;
    animation: imageFloat 6s ease-in-out infinite;
    transition: transform 0.3s ease;
    /* Responsive image */
    max-width: 100%;
    display: block;
}

.hero-person-img:hover {
    transform: scale(1.02);
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(163, 31, 42, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(50px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-glass);
    -webkit-backdrop-filter: var(--backdrop-blur);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: float 6s ease-in-out infinite, cardPulse 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: auto;
    min-height: auto;
    max-height: none;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.08);
    background: var(--bg-glass-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating-card:hover::before {
    opacity: 1;
}

/* Animations removed for about-floating-card - static positioning only */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(2deg);
    }
}

@keyframes cardPulse {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }
    50% {
        box-shadow: 0 15px 50px rgba(163, 31, 42, 0.2);
    }
}

/* Disable animations for about-floating-card - static positioning only */
.about-floating-card {
    animation: none !important;
}

/* Desktop positioning - only applies on large screens */
@media (min-width: 1025px) {
/* Desktop positioning - only applies on large screens */
@media (min-width: 1025px) {
    .floating-card-1 {
        top: 8%;
        left: -8%;
        width: 200px;
        animation-delay: 0s;
    }
    
    .floating-card-2 {
        top: 3%;
        right: -5%;
        width: 150px;
        animation-delay: 1s;
    }
    
    .floating-card-3 {
        bottom: 25%;
        right: -8%;
        width: 180px;
        animation-delay: 2s;
    }
    
    .floating-card-4 {
        bottom: 10%;
        left: -5%;
        width: 170px;
        animation-delay: 1.5s;
    }
}
    
    .floating-social-1 {
        top: 15%;
        right: -3%;
        animation-delay: 0.5s;
    }
    
    .floating-social-2 {
        bottom: 20%;
        right: -3%;
        animation-delay: 1.5s;
    }
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: white;
    font-size: 1.1rem;
}

.floating-card-icon-small {
    width: 35px;
    height: 35px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: white;
    font-size: 0.9rem;
}

.floating-card-badge {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: white;
    font-size: 1.5rem;
}

.floating-card-content {
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: auto;
    height: auto;
}

.floating-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.floating-card-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.floating-card-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.floating-card-avatars {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.5rem;
    align-items: center;
    height: auto;
}

.avatar {
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.floating-card-avatars .team-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    flex-shrink: 0;
}

.floating-card-avatars .team-avatar:hover {
    transform: scale(1.15);
    border-color: var(--accent-secondary);
    box-shadow: 0 4px 12px rgba(163, 31, 42, 0.3);
    z-index: 1;
    position: relative;
}

.floating-card-stars {
    display: flex;
    gap: 0.2rem;
    margin-top: 0.5rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

.floating-social {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 6s ease-in-out infinite, socialPulse 2s ease-in-out infinite;
    cursor: pointer;
}

.floating-social::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.floating-social:hover {
    background: var(--accent-gradient);
    transform: translateY(-8px) scale(1.15) rotate(360deg);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(163, 31, 42, 0.4);
}

.floating-social:hover::before {
    opacity: 1;
}

@keyframes socialPulse {
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: 0 8px 25px rgba(163, 31, 42, 0.3);
    }
}

.floating-social a {
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.floating-social:hover a {
    color: white;
}

/* Desktop positioning for social icons */
@media (min-width: 1025px) {
    .floating-social-1 {
        top: 15%;
        right: -3%;
        animation-delay: 0.5s;
    }
    
    .floating-social-2 {
        bottom: 20%;
        right: -3%;
        animation-delay: 1.5s;
    }
}

.hero-badge i {
    color: var(--accent-primary);
    font-size: 1rem;
}


.gradient-accent {
    background: linear-gradient(135deg, #A31F2A 0%, #104373 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item .stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-glass-hover);
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Glass Card Effect */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Trust Companies Section */
.trust-companies-section {
    background: var(--bg-primary);
    padding: 80px 0;
    overflow: hidden;
}

.trust-companies-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
}

.trust-companies-wrapper::before,
.trust-companies-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.trust-companies-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.trust-companies-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.trust-companies-track {
    display: flex;
    gap: 2rem;
    animation: scrollLogos 30s linear infinite;
    width: fit-content;
}

.trust-companies-wrapper:hover .trust-companies-track {
    animation-play-state: paused;
}

.trust-company-logo {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 120px;
    min-width: 180px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.trust-company-logo::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;
}

.trust-company-logo:hover::before {
    left: 100%;
}

.trust-company-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
}

.trust-company-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.trust-company-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* Dark mode - ensure logos show with original colors, no filters */
[data-theme="dark"] .trust-company-logo img,
body[data-theme="dark"] .trust-company-logo img {
    filter: none !important;
    opacity: 1 !important;
    brightness: 1 !important;
}

[data-theme="dark"] .trust-company-logo:hover img,
body[data-theme="dark"] .trust-company-logo:hover img {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.05);
}

.company-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
    filter: none;
    transition: all 0.3s ease;
}

.trust-company-logo:hover .company-placeholder {
    filter: none;
    color: var(--accent-primary);
}

/* Dark mode - no filters on placeholders */
[data-theme="dark"] .company-placeholder,
body[data-theme="dark"] .company-placeholder {
    filter: none !important;
}

/* Testimonials Section V2 - Animated Scrolling Columns */
.testimonials-section-v2 {
    background: transparent;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section-v2 .section-intro {
    max-width: 540px;
    margin: 0 auto 4rem;
}

.testimonials-section-v2 .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.testimonials-section-v2 .section-description {
    text-align: center;
    max-width: 24rem;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.75;
}

.testimonials-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.testimonials-badge .section-tag {
    border: 1px solid var(--border-color);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-glass);
    transition: all 0.3s ease;
}

[data-theme="dark"] .testimonials-badge .section-tag {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.testimonials-columns-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-height: 740px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.testimonials-column {
    display: flex;
    flex-direction: column;
    max-width: 320px;
    width: 100%;
}

.testimonials-column-md {
    display: none;
}

.testimonials-column-lg {
    display: none;
}

@media (min-width: 768px) {
    .testimonials-column-md {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .testimonials-column-lg {
    display: flex;
    }
}

.testimonials-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    animation: scrollTestimonials 15s linear infinite;
}

.testimonials-column[data-column="2"] .testimonials-list {
    animation-duration: 19s;
}

.testimonials-column[data-column="3"] .testimonials-list {
    animation-duration: 17s;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.testimonial-item {
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 320px;
    width: 100%;
    background: var(--bg-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    user-select: none;
    position: relative;
}

[data-theme="dark"] .testimonial-item {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.testimonial-item:hover,
.testimonial-item:focus {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .testimonial-item:hover,
[data-theme="dark"] .testimonial-item:focus {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

.testimonial-item:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.testimonial-blockquote {
    margin: 0;
    padding: 0;
}

.testimonial-text-v2 {
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

[data-theme="dark"] .testimonial-text-v2 {
    color: rgba(255, 255, 255, 0.6);
}

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

.testimonial-avatar-v2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .testimonial-avatar-v2 {
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-item:hover .testimonial-avatar-v2 {
    border-color: var(--accent-primary);
    opacity: 0.8;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name-v2 {
    font-weight: 600;
    font-style: normal;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

[data-theme="dark"] .testimonial-name-v2 {
    color: #ffffff;
}

.testimonial-role-v2 {
    font-size: 0.875rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--text-muted);
    margin-top: 0.125rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .testimonial-role-v2 {
    color: rgba(255, 255, 255, 0.5);
}

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

/* About Section */
.about-section {
    background: var(--bg-primary);
}

/* Media Section - Redesigned */
.media-section {
    background: var(--bg-primary);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

@media (max-width: 1024px) {
    .about-flex {
        overflow: visible;
        gap: 3rem;
    }
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    overflow: visible;
    min-height: 500px;
}

.about-image-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 20px;
    /* Responsive */
    box-sizing: border-box;
    overflow: visible;
    min-height: 400px;
}

.about-main-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 32px;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4)) contrast(1.1) saturate(1.15);
    position: relative;
    z-index: 2;
    object-fit: contain;
    animation: imageFloat 6s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    display: block;
    background: transparent;
    /* Responsive image */
    max-width: 100%;
    height: auto;
    /* Gradient mask for smooth bottom fade - Photoshop-like feather effect */
    -webkit-mask-image: linear-gradient(to bottom, 
        black 0%, 
        black 65%, 
        rgba(0, 0, 0, 0.95) 72%, 
        rgba(0, 0, 0, 0.85) 78%, 
        rgba(0, 0, 0, 0.65) 85%, 
        rgba(0, 0, 0, 0.35) 92%, 
        rgba(0, 0, 0, 0.1) 97%, 
        transparent 100%);
    mask-image: linear-gradient(to bottom, 
        black 0%, 
        black 65%, 
        rgba(0, 0, 0, 0.95) 72%, 
        rgba(0, 0, 0, 0.85) 78%, 
        rgba(0, 0, 0, 0.65) 85%, 
        rgba(0, 0, 0, 0.35) 92%, 
        rgba(0, 0, 0, 0.1) 97%, 
        transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.about-main-img:hover {
    transform: scale(1.03) translateY(-5px);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)) contrast(1.15) saturate(1.2);
}

/* Brush Stroke Effects */
.brush-stroke {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: normal;
}

.brush-stroke-2 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 200px;
    background: 
        linear-gradient(to top, 
            var(--bg-primary) 0%, 
            var(--bg-primary) 35%, 
            var(--bg-primary) 55%, 
            transparent 100%);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    -webkit-filter: blur(35px);
    filter: blur(35px);
    animation: brushFloat2 8s ease-in-out infinite;
    transform-origin: center bottom;
    transform: translateX(-50%) translateY(0) scaleY(1);
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

@keyframes brushFloat2 {
    0%, 100% { transform: translateX(-50%) translateY(0) scaleY(1); opacity: 1; }
    50% { transform: translateX(-50%) translateY(-8px) scaleY(1.08); opacity: 1; }
}

/* Brush Decoration Elements */
.brush-decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    mix-blend-mode: normal;
}

.brush-bottom-left {
    bottom: 0;
    left: 10%;
    width: 160px;
    height: 100px;
    background: radial-gradient(ellipse 160px 100px at center, var(--bg-primary) 0%, transparent 75%);
    border-radius: 50%;
    -webkit-filter: blur(30px);
    filter: blur(30px);
    animation: brushPulse 6s ease-in-out infinite 1s;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.brush-bottom-right {
    bottom: 0;
    right: 10%;
    width: 160px;
    height: 100px;
    background: radial-gradient(ellipse 160px 100px at center, var(--bg-primary) 0%, transparent 75%);
    border-radius: 50%;
    -webkit-filter: blur(30px);
    filter: blur(30px);
    animation: brushPulse 5.5s ease-in-out infinite 1.5s;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

@keyframes brushPulse {
    0%, 100% { opacity: 1; transform: scale(1) translateY(0); }
    50% { opacity: 1; transform: scale(1.08) translateY(-5px); }
}

.about-image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(163, 31, 42, 0.4) 0%, rgba(16, 67, 115, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    -webkit-filter: blur(50px);
    filter: blur(50px);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.7;
}

/* About Section Floating Cards */
.about-floating-card {
    position: absolute;
    background: var(--bg-glass);
    -webkit-backdrop-filter: var(--backdrop-blur);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-width: 140px;
    max-width: 180px;
    box-sizing: border-box;
}

.about-floating-card::before {
    display: none;
}

.about-floating-card:hover {
    transform: translateY(-10px) scale(1.08);
    background: var(--bg-glass-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-floating-card-1 {
    top: 8%;
    bottom: auto;
    left: 3%;
    right: auto;
    max-width: 150px;
    display: block;
    animation: none !important;
}

.about-floating-card-2 {
    top: auto;
    bottom: 3%;
    right: 3%;
    left: auto;
    max-width: 150px;
    display: block;
    animation: none !important;
}

.about-floating-card-3 {
    top: auto;
    bottom: 3%;
    left: 3%;
    right: auto;
    max-width: 150px;
    display: block;
    animation: none !important;
}

/* Hide mobile cards container on desktop */
.about-floating-cards-container {
    display: none;
}

/* Show desktop floating cards on desktop */
@media (min-width: 769px) {
    .about-image-card > .about-floating-card {
        display: block !important;
        position: absolute !important;
    }
    
    .about-floating-cards-container {
        display: none !important;
    }
}

/* Prevent overflow on smaller screens */
@media (max-width: 1200px) {
    .about-floating-card-1 {
        top: 6%;
        left: 2%;
        max-width: 145px;
    }
    
    .about-floating-card-2 {
        bottom: 2%;
        right: 2%;
        max-width: 145px;
    }
    
    .about-floating-card-3 {
        bottom: 2%;
        left: 2%;
        max-width: 145px;
    }
}

@media (max-width: 1024px) {
    .about-floating-card {
        min-width: 120px;
        max-width: 140px;
        padding: 0.85rem;
    }
    
    .about-floating-card-1 {
        top: 5%;
        left: 2%;
        max-width: 135px;
    }
    
    .about-floating-card-2 {
        bottom: 2%;
        right: 2%;
        max-width: 135px;
    }
    
    .about-floating-card-3 {
        bottom: 2%;
        left: 2%;
        max-width: 135px;
    }
}

.about-floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: white;
    font-size: 18px;
}

.about-floating-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.about-floating-card-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.about-floating-note {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.3rem;
    border-radius: 50px;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: all 0.3s ease;
}

.about-floating-note:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-block;
    flex-shrink: 0;
}

.badge-dot.small {
    width: 8px;
    height: 8px;
}

.about-text {
    animation: fadeInLeft 0.8s ease;
    padding-left: 1rem;
}

.about-text .section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-text .section-tag:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.about-text .section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.75;
    margin: 0 0 1.25rem 0;
    font-weight: 500;
    opacity: 0.95;
}

.about-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-pill:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(163, 31, 42, 0.2);
}

.about-pill i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.about-pill:nth-child(1) i {
    color: #fbbf24;
}

.about-pill:nth-child(2) i {
    color: #10b981;
}

.about-pill:nth-child(3) i {
    color: var(--accent-primary);
}

.about-pill:hover i {
    transform: scale(1.15);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    padding: 1.25rem;
    background: var(--accent-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
    font-size: 1.75rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* CSS Custom Properties for Glowing Shadow Effect */
@supports (background: paint(something)) {
    @property --hue {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
    @property --rotate {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
    @property --bg-y {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
    @property --bg-x {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
    @property --glow-translate-y {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
    @property --bg-size {
        syntax: "<number>";
        inherits: true;
        initial-value: 1;
    }
    @property --glow-opacity {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
    @property --glow-blur {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
    @property --glow-scale {
        syntax: "<number>";
        inherits: true;
        initial-value: 2;
    }
    @property --glow-radius {
        syntax: "<number>";
        inherits: true;
        initial-value: 2;
    }
    @property --white-shadow {
        syntax: "<number>";
        inherits: true;
        initial-value: 0;
    }
}

/* Why Choose Section - Clean Design */
.why-choose-section {
    background: var(--bg-primary);
    padding: 100px 0;
    position: relative;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.why-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.why-card:hover {
    border-color: var(--accent-primary);
}

.why-card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    min-height: 280px;
}

.why-card-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.why-card-icon {
    font-size: 1.75rem;
    color: var(--accent-primary);
}

.why-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.why-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

/* Services Section */
.services-section {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    font-size: 2rem;
}

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

.service-card {
    overflow: visible !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.3 !important;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    gap: 0.75rem;
    color: var(--accent-secondary);
}

.service-card-link i {
    transition: transform 0.3s ease;
}

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

/* Products Section */
.products-section {
    background: var(--bg-primary);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}

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

.product-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(163, 31, 42, 0.3);
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(163, 31, 42, 0.4);
}

.product-status-badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.product-status-badge.available {
    background: rgba(163, 31, 42, 0.15);
    color: #A31F2A;
    border: 1px solid rgba(163, 31, 42, 0.3);
}

.product-status-badge.coming_soon {
    background: rgba(16, 67, 115, 0.15);
    color: #104373;
    border: 1px solid rgba(16, 67, 115, 0.3);
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex: 1;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 12px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.product-feature i {
    color: var(--accent-primary);
    font-size: 0.75rem;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(163, 31, 42, 0.2);
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 31, 42, 0.3);
    gap: 0.75rem;
}

.product-btn i {
    transition: transform 0.3s ease;
}

.product-btn:hover i {
    transform: translateX(4px);
}

/* Packages Section */
.packages-section {
    background: var(--bg-primary);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.package-card {
    padding: 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
}

.package-card.featured {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

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

.package-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.package-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.6;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

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

.package-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-info-card {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-info-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-info-text a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-form-container {
    flex: 1;
}

.required {
    color: var(--accent-primary);
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-form {
    padding: 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(163, 31, 42, 0.1);
    background: var(--bg-glass-hover);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-block {
    width: 100%;
    display: flex;
}
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(163, 31, 42, 0.4);
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary.success {
    background: linear-gradient(135deg, #104373, #0A2F4A);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

/* Footer V2 - 4 Column Design */
.footer-v2 {
    background: var(--bg-secondary);
    margin-top: 4rem;
    width: 100%;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}

[data-theme="dark"] .footer-v2 {
    background: rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem 1.5rem;
}

@media (min-width: 640px) {
    .footer-container {
        padding: 4rem 1.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 6rem 2rem 1.5rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
    }
}

/* Company Info Column */
.footer-company {
    text-align: center;
}

@media (min-width: 640px) {
    .footer-company {
        text-align: left;
    }
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .footer-logo-section {
        justify-content: flex-start;
    }
}

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

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 100%;
    text-align: center;
    line-height: 1.75;
    font-size: 0.95rem;
}

@media (min-width: 640px) {
    .footer-description {
        max-width: 20rem;
        text-align: left;
    }
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

@media (min-width: 640px) {
    .footer-social-links {
        justify-content: flex-start;
        gap: 1.2rem;
    }
}

.footer-social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.footer-social-link i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* Hover Effects */
.footer-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-social-link:hover::before {
    opacity: 1;
}

.footer-social-link:hover i {
    transform: scale(1.2) rotate(5deg);
    color: white;
}

/* Platform-specific colors on hover */
.footer-social-link[aria-label="Facebook"]:hover {
    background: linear-gradient(135deg, #1877F2 0%, #0A5FBD 100%);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.footer-social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
    box-shadow: 0 8px 25px rgba(227, 64, 95, 0.4);
}

.footer-social-link[aria-label="Twitter"]:hover {
    background: linear-gradient(135deg, #1DA1F2 0%, #0D8BD9 100%);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.footer-social-link[aria-label="LinkedIn"]:hover {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.footer-social-link[aria-label="YouTube"]:hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Active/Pressed State */
.footer-social-link:active {
    transform: translateY(-2px) scale(1.05);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer Column */
.footer-column {
    text-align: center;
}

@media (min-width: 640px) {
    .footer-column {
        text-align: left;
    }
}

.footer-column-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 2rem 0;
}

.footer-column-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-link-with-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

@media (min-width: 640px) {
    .footer-link-with-indicator {
        justify-content: flex-start;
    }
}

.footer-indicator {
    position: relative;
    display: flex;
    width: 0.5rem;
    height: 0.5rem;
}

.footer-indicator-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: footerPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

.footer-indicator-dot {
    position: relative;
    display: inline-flex;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-primary);
}

@keyframes footerPing {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Contact Links */
.footer-contact-links {
    gap: 1rem;
}

.footer-contact-link {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.375rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

@media (min-width: 640px) {
    .footer-contact-link {
        justify-content: flex-start;
    }
}

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

.footer-contact-icon {
    color: var(--accent-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-address {
    color: var(--text-muted);
    font-style: normal;
    flex: 1;
    transition: color 0.3s ease;
    margin: 0;
    line-height: 1.5;
}

.footer-contact-link:hover .footer-address {
    color: var(--text-primary);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: center;
        text-align: center;
        gap: 1.5rem;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    margin: 0;
    color: var(--text-muted);
}

.footer-copyright-text {
    display: block;
}

@media (min-width: 640px) {
    .footer-copyright-text {
        display: inline;
    }
}

.footer-rights {
    font-size: 0.875rem;
    margin: 0;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

@media (min-width: 640px) {
    .footer-rights {
        order: 0;
    }
}

.footer-rights-text {
    display: block;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .footer-rights-text {
        display: inline;
        margin-top: 0;
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Responsive - Tablet and Below */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        padding: 0.5rem 1.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-cards {
        margin-top: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: left !important;
        padding-right: 0;
        padding-left: 0;
        order: 1;
    }
    
    .hero-title {
        text-align: left !important;
    }
    
    .hero-description {
        text-align: left !important;
    }
    
    .hero-social-proof {
        justify-content: flex-start !important;
        margin-left: 0;
    }
    
    .hero-actions {
        justify-content: flex-start !important;
    }
    
    .hero-section {
        padding-top: 100px !important;
        background: var(--bg-primary) !important;
    }
    
    .hero-background {
        background: var(--bg-primary) !important;
    }
    
    /* Reduce background effects on tablet */
    .gradient-orb {
        opacity: 0.08 !important;
    }
    
    .particles {
        opacity: 0.15 !important;
    }
    
    .hero-image-wrapper {
        order: 2;
        min-height: 500px;
        margin-top: 2rem;
        margin-bottom: 0;
        overflow: hidden;
    }
    
    .trust-companies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* Media Section - About Flex */
    .about-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-image-card {
        max-width: 100%;
        padding: 15px;
    }
    
    .about-main-img {
        max-width: 100%;
        width: 100%;
    }
    
    .brush-stroke-2 {
        max-width: 100%;
        height: 150px;
    }
    
    .media-section {
        padding: 80px 0;
    }
    
    .media-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .media-text {
        order: 2;
    }
    
    .media-image {
        order: 1;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Products Section */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Packages Section */
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Why Choose Section */
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-actions .btn {
        width: auto;
        max-width: fit-content;
    }
    
    .hero-main-image {
        max-width: 100%;
        padding: 0;
    }
    
    .hero-person-img {
        max-width: 90%;
        width: 90%;
        margin: 0 auto;
        display: block;
        border-radius: 20px;
    }
    
    .hero-main-image {
        max-width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Keep cards absolutely positioned but scale them down */
    .floating-card {
        transform: scale(0.75);
        padding: 0.8rem;
        animation: none;
    }
    
    /* Hide top two cards on tablet to show person's face */
    .floating-card-1,
    .floating-card-2 {
        display: none;
    }
    
    .floating-card-3 {
        right: 2%;
        bottom: 25%;
        width: 150px !important;
    }
    
    .floating-card-4 {
        left: 2%;
        bottom: 10%;
        width: 140px !important;
    }
    
    .floating-card-title {
        font-size: 0.75rem;
    }
    
    .floating-card-number {
        font-size: 1.2rem;
    }
    
    .floating-card-label {
        font-size: 0.65rem;
    }
    
    .floating-social {
        transform: scale(0.7);
        width: 40px;
        height: 40px;
    }
    
    .floating-social i {
        font-size: 18px;
    }
    
    .hero-image-glow {
        width: 80%;
        height: 80%;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
        min-height: 70px;
        gap: 1rem;
        grid-template-columns: auto 1fr auto;
    }
    
    .nav-brand .brand-text {
        font-size: 1.3rem;
    }
    
    .theme-switcher {
        width: 40px;
        height: 40px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 70px);
        background: var(--bg-secondary) !important;
        background-color: var(--bg-secondary) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-image: none !important;
        flex-direction: column;
        padding: 2rem 1.5rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 1199;
        border-radius: 0;
        margin: 0;
        justify-self: auto;
        width: 100%;
        max-width: 400px;
    }
    
    [data-theme="dark"] .nav-menu {
        background: #111827 !important;
        background-color: #111827 !important;
        background-image: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    [data-theme="dark"] .nav-menu ul,
    [data-theme="dark"] .nav-menu li {
        background: #111827 !important;
        background-color: #111827 !important;
    }
    
    [data-theme="dark"] .nav-link:not(.active) {
        color: #f7fafc !important;
    }
    
    [data-theme="dark"] .nav-link:not(.active) span,
    [data-theme="dark"] .nav-link:not(.active) i,
    [data-theme="dark"] .nav-link:not(.active) .dropdown-arrow {
        color: #f7fafc !important;
    }
    
    [data-theme="light"] .nav-menu {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    [data-theme="light"] .nav-menu ul,
    [data-theme="light"] .nav-menu li {
        background: #ffffff !important;
        background-color: #ffffff !important;
    }
    
    [data-theme="light"] .nav-link:not(.active) {
        color: #1a1a1a !important;
    }
    
    [data-theme="light"] .nav-link:not(.active) span,
    [data-theme="light"] .nav-link:not(.active) i,
    [data-theme="light"] .nav-link:not(.active) .dropdown-arrow {
        color: #1a1a1a !important;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        font-size: 1rem !important;
        font-weight: 500 !important;
        transition: all 0.3s ease;
        color: var(--text-primary) !important;
        background: transparent !important;
        border: none;
        text-align: left !important;
        min-height: 48px;
        position: relative;
        white-space: nowrap;
        overflow: visible;
    }
    
    [data-theme="dark"] .nav-link {
        color: #f7fafc !important;
    }
    
    [data-theme="dark"] .nav-link span {
        color: #f7fafc !important;
    }
    
    [data-theme="dark"] .nav-link i {
        color: #f7fafc !important;
    }
    
    [data-theme="light"] .nav-link {
        color: #1a1a1a !important;
    }
    
    [data-theme="light"] .nav-link span {
        color: #1a1a1a !important;
    }
    
    [data-theme="light"] .nav-link i {
        color: #1a1a1a !important;
    }
    
    /* Ensure text node is visible */
    .nav-link:not(.has-dropdown) {
        justify-content: flex-start !important;
    }
    
    /* Make sure text content displays */
    .nav-menu li a:not(.has-dropdown)::before,
    .nav-menu li a:not(.has-dropdown)::after {
        display: none !important;
        content: none !important;
    }
    
    .nav-link span,
    .nav-link:not(.has-dropdown),
    .nav-link i,
    .nav-link .dropdown-arrow {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    [data-theme="dark"] .nav-link span,
    [data-theme="dark"] .nav-link i,
    [data-theme="dark"] .nav-link .dropdown-arrow {
        color: #f7fafc !important;
    }
    
    [data-theme="light"] .nav-link span,
    [data-theme="light"] .nav-link i,
    [data-theme="light"] .nav-link .dropdown-arrow {
        color: #1a1a1a !important;
    }
    
    .nav-link:hover {
        background: rgba(163, 31, 42, 0.1) !important;
        transform: translateX(5px);
        color: var(--accent-primary) !important;
    }
    
    [data-theme="dark"] .nav-link:hover {
        background: rgba(163, 31, 42, 0.2) !important;
        color: #ffffff !important;
    }
    
    [data-theme="dark"] .nav-link:hover span {
        color: #ffffff !important;
    }
    
    [data-theme="dark"] .nav-link:hover i {
        color: #ffffff !important;
    }
    
    [data-theme="light"] .nav-link:hover {
        background: rgba(163, 31, 42, 0.1) !important;
        color: #A31F2A !important;
    }
    
    [data-theme="light"] .nav-link:hover span {
        color: #A31F2A !important;
    }
    
    [data-theme="light"] .nav-link:hover i {
        color: #A31F2A !important;
    }
    
    .nav-link.has-dropdown {
        padding-right: 1.5rem;
    }
    
    .nav-link.has-dropdown::after {
        display: none;
    }
    
    .nav-menu > li {
        width: 100%;
        display: block;
        list-style: none;
    }
    
    .nav-menu > li > a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        text-decoration: none;
    }
    
    /* Ensure text is visible and properly displayed */
    .nav-link {
        color: var(--text-primary) !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-decoration: none !important;
    }
    
    .nav-link::before,
    .nav-link::after {
        display: none !important;
        content: none !important;
    }
    
    /* Fix menu item text display - ensure text is visible */
    .nav-menu li {
        display: block;
        list-style: none;
        width: 100%;
    }
    
    .nav-menu li a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    
    /* Ensure text content is visible */
    .nav-link {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        white-space: normal !important;
    }
    
    /* Force text to be visible - remove any hiding */
    .nav-menu li a,
    .nav-menu li a * {
        visibility: visible !important;
        opacity: 1 !important;
        display: inline-block !important;
    }
    
    .nav-menu li a {
        display: flex !important;
    }
    
    /* Ensure menu item text nodes are visible */
    .nav-link:not(:empty) {
        color: var(--text-primary) !important;
    }
    
    /* Fix for text that might be hidden */
    .nav-menu > li > a {
        font-size: 1rem !important;
        color: var(--text-primary) !important;
    }
    
    .nav-link i.fa-chevron-down,
    .nav-link .dropdown-arrow {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: auto;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure dropdown arrow is visible */
    .nav-item-dropdown .nav-link .dropdown-arrow {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, #A31F2A 0%, #104373 100%) !important;
        color: #ffffff !important;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(163, 31, 42, 0.3);
    }
    
    .nav-link.active:hover {
        background: linear-gradient(135deg, #B82E3D 0%, #1A5A8A 100%) !important;
        color: #ffffff !important;
    }
    
    .dropdown-arrow {
        font-size: 0.75rem;
        color: var(--text-secondary);
        transition: transform 0.3s ease, color 0.3s ease;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
        color: var(--text-primary);
    }
    
    .nav-link.active .dropdown-arrow {
        color: #ffffff !important;
    }
    
    .nav-item-dropdown.active .nav-link .dropdown-arrow {
        color: var(--text-primary);
    }
    
    .nav-item-dropdown.active .nav-link.active .dropdown-arrow {
        color: #ffffff !important;
    }
    
    .mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        margin-left: 1.5rem;
        margin-top: 0.5rem;
        margin-right: 0 !important;
        padding: 0 !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border-radius: 0 !important;
    }
    
    /* Light mode mega menu in mobile */
    [data-theme="light"] .mega-menu,
    body:not([data-theme="dark"]) .mega-menu {
        background: transparent !important;
    }
    
    .nav-item-dropdown.active .mega-menu {
        max-height: 2000px !important;
        margin-top: 0.75rem;
        margin-bottom: 1rem;
        padding: 0 !important;
    }
    
    /* Dark mode mega menu in mobile - must have dark background */
    [data-theme="dark"] .mega-menu {
        background: var(--bg-secondary) !important;
        background-color: var(--bg-secondary) !important;
        border: 1px solid var(--border-color) !important;
    }
    
    .nav-item-dropdown.active .nav-link {
        background: rgba(163, 31, 42, 0.1);
        border-left: 3px solid var(--accent-primary);
    }
    
    [data-theme="dark"] .nav-item-dropdown.active .nav-link {
        background: rgba(163, 31, 42, 0.2) !important;
        color: #ffffff !important;
    }
    
    [data-theme="dark"] .nav-item-dropdown.active .nav-link span,
    [data-theme="dark"] .nav-item-dropdown.active .nav-link i {
        color: #ffffff !important;
    }
    
    [data-theme="light"] .nav-item-dropdown.active .nav-link {
        background: rgba(163, 31, 42, 0.1) !important;
        color: #A31F2A !important;
    }
    
    [data-theme="light"] .nav-item-dropdown.active .nav-link span,
    [data-theme="light"] .nav-item-dropdown.active .nav-link i {
        color: #A31F2A !important;
    }
    
    .mega-menu-content {
        padding: 0.5rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .mega-menu-header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mega-menu-header h3 {
        font-size: 1.1rem !important;
        color: var(--text-primary) !important;
        font-weight: 700 !important;
    }
    
    [data-theme="dark"] .mega-menu-header h3 {
        color: var(--text-primary) !important;
    }
    
    .mega-menu-header p {
        font-size: 0.85rem !important;
        color: var(--text-secondary) !important;
        margin-top: 0.25rem !important;
    }
    
    [data-theme="dark"] .mega-menu-header p {
        color: var(--text-secondary) !important;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .mega-menu-item {
        padding: 1.25rem !important;
        border-radius: 12px;
        transition: all 0.3s ease;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: flex-start;
        gap: 1rem;
        text-decoration: none;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: nowrap !important;
    }
    
    [data-theme="dark"] .mega-menu-item,
    [data-theme="dark"] .mega-menu-package {
        background: rgba(30, 30, 30, 0.9) !important;
        background-color: rgba(30, 30, 30, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    [data-theme="dark"] .mega-menu-item:hover,
    [data-theme="dark"] .mega-menu-package:hover {
        background: rgba(40, 40, 40, 0.95) !important;
        background-color: rgba(40, 40, 40, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    [data-theme="light"] .mega-menu-item {
        background: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .mega-menu-item:hover {
        transform: translateX(8px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    [data-theme="dark"] .mega-menu-item:hover {
        background: rgba(30, 30, 30, 0.85) !important;
        border-color: rgba(163, 31, 42, 0.5) !important;
    }
    
    [data-theme="light"] .mega-menu-item:hover {
        background: rgba(255, 255, 255, 0.95) !important;
        border-color: rgba(163, 31, 42, 0.3) !important;
    }
    
    .mega-menu-icon {
        background: linear-gradient(135deg, #A31F2A 0%, #104373 100%);
        flex-shrink: 0;
    }
    
    .mega-menu-text {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: visible !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        width: auto !important;
        max-width: calc(100% - 60px) !important;
    }
    
    .mega-menu-text h4 {
        font-weight: 600;
        margin: 0 0 0.25rem 0;
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        line-height: 1.3 !important;
    }
    
    .mega-menu-text p {
        color: var(--text-secondary) !important;
        margin: 0;
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .mega-menu-item:hover .mega-menu-text h4 {
        color: var(--accent-primary) !important;
    }
    
    [data-theme="dark"] .mega-menu-text h4 {
        color: #f7fafc !important;
    }
    
    [data-theme="dark"] .mega-menu-text p {
        color: #cbd5e0 !important;
    }
    
    [data-theme="light"] .mega-menu-text h4 {
        color: #1a1a1a !important;
    }
    
    [data-theme="light"] .mega-menu-text p {
        color: #4a5568 !important;
    }
    
    .mega-menu-footer {
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
    }
    
    .mega-menu-view-all {
        background: linear-gradient(135deg, #A31F2A 0%, #104373 100%);
        color: #ffffff;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .mega-menu-view-all:hover {
        background: linear-gradient(135deg, #B82E3D 0%, #1A5A8A 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(163, 31, 42, 0.4);
    }
    
    .nav-cta-btn {
        display: none !important;
    }
    
    .navbar {
        background: var(--bg-glass);
        backdrop-filter: var(--backdrop-blur);
        -webkit-backdrop-filter: var(--backdrop-blur);
        padding: 0.5rem 0;
    }
    
    /* Add overlay behind menu when open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1201;
        position: relative;
    }
    
    .mobile-toggle span {
        background: var(--text-primary);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        width: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-content {
        order: 1;
        text-align: left !important;
        padding-right: 0;
        padding-left: 0;
    }
    
    .hero-image-wrapper {
        order: 2;
        overflow: hidden;
        min-height: 400px;
        margin-top: 2rem;
        margin-bottom: 0;
    }
    
    /* Hide top two floating cards on mobile to show person's face */
    .floating-card-1,
    .floating-card-2 {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        height: auto;
        padding-top: 100px !important;
        padding-bottom: 40px;
        background: var(--bg-primary) !important;
    }
    
    .hero-background {
        background: var(--bg-primary) !important;
    }
    
    /* Reduce background chaos on mobile */
    .gradient-orb {
        opacity: 0.05 !important;
    }
    
    .orb-1,
    .orb-2,
    .orb-3,
    .orb-4 {
        opacity: 0.05 !important;
    }
    
    .particles {
        opacity: 0.1 !important;
    }
    
    .particles::before,
    .particles::after {
        opacity: 0.1 !important;
    }
    
    .hero-container {
        padding: 2rem 1.5rem 2rem 1.5rem;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: left !important;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        text-align: left !important;
        max-width: 100%;
    }
    
    .hero-social-proof {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
        display: inline-flex;
        justify-content: flex-start !important;
        margin-left: 0;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 0.75rem;
        margin-bottom: 2rem;
        justify-content: flex-start !important;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: auto;
        max-width: fit-content;
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        flex: 0 1 auto;
    }
    
    .hero-actions .btn-video {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
        flex: 0 1 auto;
    }
    
    .hero-person-img {
        max-width: 90%;
        width: 90%;
        margin: 0 auto;
        display: block;
    }
    
    .hero-main-image {
        max-width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid,
    .products-section {
        padding: 80px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .product-card {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-features {
        padding: 0.8rem;
    }
    
    .product-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-card,
    .package-card {
        padding: 2rem 1.5rem;
    }
    
    .trust-companies-wrapper {
        padding: 1.5rem 0;
    }
    
    .trust-companies-track {
        gap: 1.5rem;
        animation-duration: 25s;
    }
    
    .trust-company-logo {
        padding: 1.5rem;
        min-height: 100px;
        min-width: 150px;
    }
    
    .trust-companies-wrapper::before,
    .trust-companies-wrapper::after {
        width: 50px;
    }
    
    .testimonials-columns-wrapper {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .testimonials-column {
        max-width: 100%;
    }
    
    .testimonial-item {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    /* Media Section */
    .media-section {
        padding: 60px 0;
    }
    
    .about-flex {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-image-card {
        padding: 10px;
        max-width: 100%;
    }
    
    .about-main-img {
        max-width: 100%;
        width: 100%;
        border-radius: 24px;
    }
    
    .brush-stroke-2 {
        height: 120px;
        max-width: 100%;
    }
    
    .brush-bottom-left,
    .brush-bottom-right {
        width: 100px;
        height: 60px;
    }
    
    /* Media Section - Stack cards below image on mobile */
    .about-visual {
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        position: relative;
    }
    
    .about-image-card {
        overflow: visible;
        margin-bottom: 0;
        order: 1;
        width: 100%;
        max-width: 100%;
        position: relative;
        padding-bottom: 0;
    }
    
    /* Keep floating cards over image on mobile - like hero section */
    .about-image-card > .about-floating-card {
        display: block !important;
        position: absolute !important;
        animation: none !important;
    }
    
    /* Hide mobile cards container */
    .about-floating-cards-container {
        display: none !important;
    }
    
    /* Cards stay over image on mobile - like hero section, NO animation */
    .about-image-card > .about-floating-card {
        position: absolute !important;
        display: block !important;
        animation: none !important;
    }
    
    .about-floating-card {
        min-width: 120px;
        max-width: 140px;
        padding: 0.9rem !important;
        background: var(--bg-glass) !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: var(--shadow-lg) !important;
    }
    
    .about-floating-card:hover {
        transform: translateY(-10px) scale(1.08) !important;
        background: var(--bg-glass-hover) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    }
    
    .about-floating-card-1 {
        top: 5% !important;
        bottom: auto !important;
        left: 2% !important;
        right: auto !important;
        max-width: 130px !important;
    }
    
    .about-floating-card-2 {
        bottom: 2% !important;
        right: 2% !important;
        left: auto !important;
        top: auto !important;
        max-width: 130px !important;
    }
    
    .about-floating-card-3 {
        bottom: 2% !important;
        left: 2% !important;
        right: auto !important;
        top: auto !important;
        max-width: 130px !important;
        display: block !important;
    }
    
    .about-floating-card-icon {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 0.7rem;
    }
    
    .about-floating-card-title {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
        color: var(--text-primary) !important;
    }
    
    .about-floating-card-text {
        font-size: 0.75rem;
        line-height: 1.4;
        color: var(--text-secondary) !important;
    }
    
    .media-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .media-text {
        order: 2;
    }
    
    .media-image {
        order: 1;
    }
    
    /* Services, Products, Packages */
    .services-grid,
    .products-grid,
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .product-card,
    .package-card {
        padding: 2rem 1.5rem;
    }
    
    /* Why Choose */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Stats */
    .stats-grid,
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item,
    .stat-card {
        padding: 1.5rem;
    }
    
    .testimonials-columns-wrapper {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .testimonials-column {
        max-width: 100%;
    }
    
    .testimonial-item {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .testimonial-item {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        padding: 3rem 1.5rem 1.5rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-social-links {
        gap: 0.8rem !important;
        justify-content: center !important;
    }
    
    .footer-social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer-social-link i {
        font-size: 1.2rem;
    }
    
    .mega-menu {
        width: calc(100% - 3rem) !important;
        left: 1.5rem !important;
        right: 1.5rem !important;
        transform: translate(0, 10px) !important;
        max-width: calc(100vw - 3rem) !important;
    }
    
    .mega-menu-content {
        padding: 1.5rem !important;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .mega-menu-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    section {
        padding: 2.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-intro {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 100px !important;
        padding-bottom: 30px;
        background: var(--bg-primary) !important;
    }
    
    .hero-background {
        background: var(--bg-primary) !important;
    }
    
    /* Further reduce background chaos on small mobile */
    .gradient-orb {
        opacity: 0.03 !important;
        display: none;
    }
    
    .particles {
        opacity: 0.05 !important;
    }
    
    .particles::before,
    .particles::after {
        opacity: 0.05 !important;
    }
    
    .hero-container {
        padding: 2rem 1rem 2rem 1rem;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: left !important;
        padding-left: 0;
    }
    
    .hero-image-wrapper {
        min-height: 300px;
        margin-top: 1rem;
    }
    
    .hero-person-img {
        max-width: 90%;
        width: 90%;
        margin: 0 auto;
        display: block;
    }
    
    .hero-main-image {
        max-width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        text-align: left !important;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        text-align: left !important;
        max-width: 100%;
    }
    
    .hero-social-proof {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
        display: inline-flex;
        justify-content: flex-start !important;
        margin-left: 0;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: nowrap;
        margin-bottom: 1.5rem;
        justify-content: flex-start !important;
    }
    
    .hero-actions .btn {
        width: auto;
        flex: 0 1 auto;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        min-width: auto;
    }
    
    .hero-actions .btn-video {
        padding: 0.55rem 0.95rem;
        font-size: 0.75rem;
        flex: 0 1 auto;
    }
    
    /* Media Section */
    .media-section {
        padding: 40px 0;
    }
    
    .about-flex {
        gap: 1.5rem;
    }
    
    .about-image-card {
        padding: 8px;
    }
    
    .about-main-img {
        border-radius: 20px;
    }
    
    /* Media Section Cards - Positioned at edges, not covering person */
    .about-floating-card {
        min-width: 110px !important;
        max-width: 120px !important;
        padding: 0.75rem !important;
        background: var(--bg-glass) !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: var(--shadow-lg) !important;
    }
    
    .about-floating-card:hover {
        transform: translateY(-10px) scale(1.08) !important;
        background: var(--bg-glass-hover) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    }
    
    .about-floating-card-title {
        color: var(--text-primary) !important;
    }
    
    .about-floating-card-text {
        color: var(--text-secondary) !important;
    }
    
    .about-floating-card-icon {
        background: var(--accent-gradient) !important;
    }
    
    .about-floating-card-1 {
        top: 3% !important;
        bottom: auto !important;
        left: 1% !important;
        right: auto !important;
        max-width: 120px !important;
    }
    
    .about-floating-card-2 {
        bottom: 1% !important;
        right: 1% !important;
        left: auto !important;
        top: auto !important;
        max-width: 120px !important;
    }
    
    .about-floating-card-3 {
        bottom: 1% !important;
        left: 1% !important;
        right: auto !important;
        top: auto !important;
        max-width: 120px !important;
        display: block !important;
    }
    
    .about-floating-card-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 15px !important;
        margin-bottom: 0.5rem !important;
    }
    
    .about-floating-card-title {
        font-size: 0.8rem !important;
        margin-bottom: 0.15rem !important;
    }
    
    .about-floating-card-text {
        font-size: 0.65rem !important;
    }
    
    .brush-stroke-2 {
        height: 100px;
    }
    
    .brush-bottom-left,
    .brush-bottom-right {
        width: 80px;
        height: 50px;
    }
    
    /* Services, Products, Packages */
    .services-section,
    .products-section,
    .packages-section {
        padding: 40px 0;
    }
    
    .service-card,
    .product-card,
    .package-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .product-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .product-title,
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    /* Stats */
    .stats-grid,
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item,
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-value,
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Why Choose */
    .why-choose-section {
        padding: 40px 0;
    }
    
    .why-card-content {
        padding: 1.5rem 1rem;
    }
    
    .why-card-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .why-card-icon {
        font-size: 1.5rem;
    }
    
    .why-card-title {
        font-size: 1.1rem;
    }
    
    /* Trust Companies */
    .trust-companies-section {
        padding: 40px 0;
    }
    
    .trust-company-logo {
        padding: 1rem;
        min-height: 80px;
        min-width: 120px;
    }
    
    /* Testimonials */
    .testimonials-section-v2 {
        padding: 40px 0;
    }
    
    .testimonial-item {
        padding: 1.25rem;
    }
    
    /* Contact */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    /* Footer */
    .footer-container {
        padding: 2rem 1rem 1rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-company {
        text-align: center !important;
    }
    
    .footer-logo-section {
        justify-content: center !important;
    }
    
    .footer-description {
        text-align: center !important;
        max-width: 100% !important;
        margin-top: 1rem !important;
    }
    
    .footer-social-links {
        gap: 0.6rem !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        margin-top: 1.5rem !important;
    }
    
    .footer-social-link {
        width: 42px !important;
        height: 42px !important;
    }
    
    .footer-social-link i {
        font-size: 1.1rem !important;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .footer-column {
        text-align: center !important;
    }
    
    .footer-column-title {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .footer-column-links {
        align-items: center !important;
        gap: 0.75rem !important;
    }
    
    .footer-link {
        text-align: center !important;
        display: block !important;
    }
    
    .footer-link-with-indicator {
        justify-content: center !important;
    }
    
    .footer-contact-link {
        justify-content: center !important;
        text-align: center !important;
        flex-wrap: wrap !important;
    }
    
    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.75rem !important;
    }
    
    .footer-copyright-text {
        display: block !important;
    }
    
    .footer-rights-text {
        display: block !important;
        margin-top: 0.5rem !important;
    }
    
    /* About Text */
    .about-text .section-title {
        font-size: 1.75rem;
    }
    
    .about-lead {
        font-size: 1rem;
    }
    
    .about-body {
        font-size: 0.95rem;
    }
    
    .about-pill {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #A31F2A, #104373);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #104373, #A31F2A);
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

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

.go-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.go-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .go-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

    .about-flex {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        order: -1;
    }

    /* About/Media Section Images */
    .about-main-img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 24px;
        /* Maintain gradient mask on mobile with slightly adjusted fade */
        -webkit-mask-image: linear-gradient(to bottom, 
            black 0%, 
            black 60%, 
            rgba(0, 0, 0, 0.95) 68%, 
            rgba(0, 0, 0, 0.8) 75%, 
            rgba(0, 0, 0, 0.6) 82%, 
            rgba(0, 0, 0, 0.3) 90%, 
            rgba(0, 0, 0, 0.1) 96%, 
            transparent 100%);
        mask-image: linear-gradient(to bottom, 
            black 0%, 
            black 60%, 
            rgba(0, 0, 0, 0.95) 68%, 
            rgba(0, 0, 0, 0.8) 75%, 
            rgba(0, 0, 0, 0.6) 82%, 
            rgba(0, 0, 0, 0.3) 90%, 
            rgba(0, 0, 0, 0.1) 96%, 
            transparent 100%);
    }
    
    .about-image-card {
        padding: 10px;
        max-width: 100%;
    }
    
    .brush-stroke-2 {
        height: 120px;
        -webkit-filter: blur(25px);
        filter: blur(25px);
        max-width: 100%;
        opacity: 0.8;
    }
    
    .brush-bottom-left,
    .brush-bottom-right {
        width: 100px;
        height: 60px;
        opacity: 0.7;
    }
    
    .brush-decoration {
        width: 120px;
        height: 70px;
        opacity: 0.9;
        bottom: 0;
    }
    
    .brush-bottom-left {
        left: 5%;
    }
    
    .brush-bottom-right {
        right: 5%;
    }
    
    .about-floating-card {
        position: relative;
        transform: none;
        min-width: auto;
        max-width: 100%;
        padding: 0.8rem;
        margin-bottom: 1rem;
        animation: none;
        display: block;
        width: 100%;
    }
    
    .about-floating-card-1,
    .about-floating-card-2,
    .about-floating-card-3 {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        display: block;
        margin: 0 auto 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .about-visual {
        overflow: visible;
        min-height: auto;
    }
    
    .about-image-card {
        overflow: visible;
        margin-bottom: 2rem;
        min-height: auto;
    }
    
    .about-floating-card-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-bottom: 0.5rem;
    }
    
    .about-floating-card-title {
        font-size: 0.7rem;
    }
    
    .about-floating-card-text {
        font-size: 0.65rem;
    }
    
    .about-text .section-title {
        font-size: 1.75rem;
    }
    
    .about-lead {
        font-size: 1rem;
    }
    
    .about-body {
        font-size: 0.95rem;
    }
    
    .about-pill {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .about-floating-note {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Hero Section */
.about-hero-section {
    background: var(--bg-primary);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.about-hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
}

/* About Story Section */
.about-story-section {
    background: var(--bg-primary);
    padding: 120px 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-story-content {
    animation: fadeInLeft 0.8s ease;
}

.about-story-text {
    margin-top: 2rem;
}

.about-story-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-story-paragraph:last-child {
    margin-bottom: 0;
}

.about-story-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.about-story-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.about-story-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.about-story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(163, 31, 42, 0.1) 0%, rgba(16, 67, 115, 0.1) 100%);
    border-radius: 24px;
    pointer-events: none;
}

/* Mission & Vision Section */
.about-mission-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card,
.vision-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: var(--backdrop-blur);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mission-card:hover::before,
.vision-card:hover::before {
    transform: scaleX(1);
}

.mission-icon,
.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(163, 31, 42, 0.3);
    transition: all 0.3s ease;
}

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

.mission-title,
.vision-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-description,
.vision-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Values Section */
.about-values-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: var(--backdrop-blur);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

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

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* About Stats Section */
.about-stats-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

/* About Why Section */
.about-why-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

/* Our Team Section */
.about-team-section {
    padding: 100px 0;
    background: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: var(--backdrop-blur);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    border-radius: 24px;
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(163, 31, 42, 0.25);
    border-color: var(--accent-primary);
}

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

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

.team-card:hover .team-name {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 5px solid var(--bg-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1);
}

.team-avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    filter: blur(20px);
    transition: all 0.5s ease;
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(163, 31, 42, 0.4);
}

.team-card:hover .team-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.team-card:hover .team-avatar-glow {
    opacity: 0.6;
    width: 180px;
    height: 180px;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Floating animation for team cards */
.team-card:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.team-card:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.team-card:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.team-card:nth-child(4) {
    animation: fadeInUp 0.6s ease 0.4s both;
}

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

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-nickname {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.team-card:hover .team-nickname {
    color: var(--accent-secondary);
}

.team-role {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.team-card:hover .team-role {
    color: var(--text-primary);
}

/* Responsive Styles for About Page */
@media (max-width: 1024px) {
    .about-story-grid {
        gap: 3rem;
    }
    
    .mission-vision-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 120px 0 80px;
    }
    
    .about-hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .about-hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-story-section {
        padding: 80px 0;
    }
    
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-story-image {
        order: -1;
    }
    
    .about-mission-section {
        padding: 80px 0;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-values-section,
    .about-stats-section,
    .about-why-section {
        padding: 80px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-team-section {
        padding: 80px 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .about-hero-description {
        font-size: 0.95rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .value-card {
        padding: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 2rem;
    }
    
    .team-avatar-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .team-avatar {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }
    
    .team-avatar-glow {
        width: 140px;
        height: 140px;
    }
    
    .team-card:hover .team-avatar-glow {
        width: 160px;
        height: 160px;
    }
}
