/* ========================================
   PATRA SOLUTIONS HUB - MAIN STYLE SHEET
   Modern, Clean, Professional Design
   ======================================== */

/* CSS Variables - Design System */
:root {
    /* Primary Colors */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;
    
    /* Secondary Colors - Teal */
    --secondary-50: #f0fdfa;
    --secondary-100: #ccfbf1;
    --secondary-200: #99f6e4;
    --secondary-300: #5eead4;
    --secondary-400: #2dd4bf;
    --secondary-500: #14b8a6;
    --secondary-600: #0d9488;
    --secondary-700: #0f766e;
    --secondary-800: #115e59;
    --secondary-900: #134e4a;
    
    /* Neutral Colors */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* Accent Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #4f46e5);
    --gradient-secondary: linear-gradient(135deg, #14b8a6, #0d9488);
    --gradient-accent: linear-gradient(135deg, #8b5cf6, #6366f1);
    --gradient-dark: linear-gradient(135deg, #1e293b, #0f172a);
    --gradient-light: linear-gradient(135deg, #f8fafc, #ffffff);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container */
    --container-max-width: 1280px;
    --container-padding: 2rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--gradient-light);
    color: var(--neutral-700);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

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

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

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

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

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

p {
    color: var(--neutral-600);
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
}

.btn i {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

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

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

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

.btn-secondary {
    background: white;
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    color: var(--neutral-600);
    border: 2px solid var(--neutral-200);
}

.btn-login:hover {
    background: var(--neutral-100);
    color: var(--neutral-800);
}

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

.btn-quote:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: white;
}

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

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-500);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: white;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Header Top Bar */
.header-top {
    background: var(--neutral-800);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--neutral-700);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.contact-info {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-300);
}

.contact-info i {
    color: var(--primary-400);
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--neutral-300);
    transition: all var(--transition-fast);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.social-name {
    font-size: 0.8rem;
}

.portal-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.portal-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid var(--neutral-200);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neutral-800);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.02);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex: 1;
    justify-content: flex-end;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    color: var(--neutral-600);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-link i {
    font-size: 1rem;
    color: var(--primary-500);
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-link.active {
    color: var(--primary-600);
    background: var(--primary-50);
    font-weight: 600;
}

.nav-link.active i {
    color: var(--primary-600);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i:last-child {
    font-size: 0.8rem;
    margin-left: 0.2rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 240px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 100;
    border: 1px solid var(--neutral-200);
}

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

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--neutral-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    padding-left: 1.5rem;
}

.nav-secondary {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--neutral-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

/* ========================================
   HERO SECTIONS
   ======================================== */

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel {
    width: 100%;
    height: 100%;
}

.hero-carousel .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: white;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

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

.hero-buttons .btn-primary:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-600);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--neutral-500);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========================================
   CARDS & GRIDS
   ======================================== */

/* Feature Cards */
.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-600);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    margin-bottom: var(--space-md);
    color: var(--neutral-800);
}

.feature-card p {
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
    flex: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    margin-top: auto;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.feature-link:hover {
    gap: 0.75rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.service-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.service-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--neutral-800);
}

.service-description {
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    flex: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
}

.service-feature-tag {
    background: var(--neutral-100);
    color: var(--neutral-600);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--neutral-200);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.service-price small {
    font-size: 0.8rem;
    color: var(--neutral-500);
    font-weight: 400;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

.service-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

.service-btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.service-btn-outline:hover {
    background: var(--primary-50);
}

/* Portfolio Cards */
.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    height: 100%;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(5px);
}

.portfolio-content {
    padding: var(--space-lg);
}

.portfolio-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--neutral-800);
}

.portfolio-content p {
    color: var(--neutral-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.portfolio-tag {
    background: var(--primary-50);
    color: var(--primary-600);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.portfolio-meta {
    display: flex;
    gap: var(--space-md);
    color: var(--neutral-500);
    font-size: 0.9rem;
}

.portfolio-meta i {
    margin-right: 0.3rem;
    color: var(--primary-500);
}

/* System Cards */
.system-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.system-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.system-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.system-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--gradient-secondary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.system-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.system-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--neutral-800);
}

.system-description {
    color: var(--neutral-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    flex: 1;
}

.system-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.system-feature {
    background: var(--secondary-50);
    color: var(--secondary-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.system-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--neutral-200);
}

.system-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-600);
}

.system-price span {
    font-size: 0.8rem;
    color: var(--neutral-500);
    font-weight: 400;
}

.system-actions {
    display: flex;
    gap: 0.5rem;
}

.system-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

.system-btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.system-btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-200);
    color: var(--secondary-600);
}

.system-btn-outline:hover {
    background: var(--secondary-50);
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.team-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: bottom var(--transition-base);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.team-info {
    padding: var(--space-lg);
}

.team-info h3 {
    margin-bottom: 0.25rem;
    color: var(--neutral-800);
}

.team-position {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.team-bio {
    color: var(--neutral-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    color: var(--primary-100);
    font-family: serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-content {
    margin-bottom: var(--space-lg);
    color: var(--neutral-600);
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-100);
}

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

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    color: var(--neutral-800);
}

.testimonial-info p {
    color: var(--neutral-500);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    text-align: center;
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-600);
    transition: all var(--transition-base);
}

.stat-card:hover .stat-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neutral-800);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--neutral-600);
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   SKELETON LOADING
   ======================================== */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--neutral-200) 25%,
        var(--neutral-300) 50%,
        var(--neutral-200) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

.skeleton-image {
    height: 200px;
    background: linear-gradient(
        90deg,
        var(--neutral-200) 25%,
        var(--neutral-300) 50%,
        var(--neutral-200) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-content {
    padding: var(--space-lg);
}

.skeleton-text {
    height: 20px;
    background: var(--neutral-200);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
    background: linear-gradient(
        90deg,
        var(--neutral-200) 25%,
        var(--neutral-300) 50%,
        var(--neutral-200) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-text.short { width: 40%; }
.skeleton-text.medium { width: 70%; }

.skeleton-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--neutral-200);
    margin: 0 auto;
}

.skeleton-tag {
    width: 60px;
    height: 24px;
    background: var(--neutral-200);
    border-radius: var(--radius-full);
}

/* ========================================
   MODALS
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    max-height: 85vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    z-index: 100001;
}

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

.modal-header {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--neutral-800);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--neutral-400);
    transition: all var(--transition-fast);
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--error);
    background: var(--neutral-100);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--space-xl);
}

/* ========================================
   NOTIFICATIONS
   ======================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    max-width: 450px;
    z-index: 1000000;
    transform: translateX(100%);
    opacity: 0;
    transition: all var(--transition-base);
    border-left: 4px solid var(--primary-500);
    border-radius: var(--radius-lg);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success { border-left-color: var(--success); }
.notification.error { border-left-color: var(--error); }
.notification.warning { border-left-color: var(--warning); }
.notification.info { border-left-color: var(--info); }

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-content i {
    font-size: 1.5rem;
}

.notification.success i { color: var(--success); }
.notification.error i { color: var(--error); }
.notification.warning i { color: var(--warning); }
.notification.info i { color: var(--info); }

.notification-message {
    flex: 1;
    color: var(--neutral-700);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: var(--neutral-400);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
    transition: color var(--transition-fast);
}

.notification-close:hover {
    color: var(--neutral-700);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   FOOTER
   ======================================== */

.main-footer {
    background: var(--neutral-900);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: auto;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-section p {
    color: var(--neutral-400);
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--neutral-400);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a i {
    width: 20px;
    color: var(--primary-500);
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: var(--space-lg);
}

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

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: var(--neutral-500);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--neutral-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

@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);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

.fade-in-left {
    animation: fadeInLeft 1s ease;
}

.fade-in-right {
    animation: fadeInRight 1s ease;
}

.scale-in {
    animation: scaleIn 0.5s ease;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Delay Classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop Large */
@media (max-width: 1400px) {
    :root {
        --container-padding: 1.5rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .nav-main {
        gap: var(--space-sm);
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    :root {
        --space-3xl: 3rem;
    }
    
    .header-top .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info {
        width: 100%;
        justify-content: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        transition: right var(--transition-base);
        z-index: 9999;
        box-shadow: var(--shadow-2xl);
        overflow-y: auto;
        justify-content: flex-start;
        gap: var(--space-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-main {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 2rem;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-secondary {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-secondary .btn {
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --space-2xl: 2rem;
        --space-xl: 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-name {
        display: none;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 576px) {
    :root {
        --container-padding: 0.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        width: 280px;
    }
    
    .portal-badge span {
        display: none;
    }
    
    .portal-badge i {
        margin: 0;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .notification {
        min-width: 280px;
        max-width: 320px;
    }
}

/* Print Styles */
@media print {
    .header-top,
    .nav-menu,
    .mobile-menu-btn,
    .nav-overlay,
    .back-to-top,
    .hero-buttons,
    .cta-section,
    .footer-social {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.flex-center { 
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex-column {
    display: flex;
    flex-direction: column;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }