/* 
 * Pace Security Services - Main Stylesheet
 * Modern, Professional Security Company Website
 * Inspired by luxholia.com design aesthetics
 */

/* ========================================
   CSS Variables & Root Styles
======================================== */
:root {
    /* Primary Colors - Security Blue Theme */
    --primary-color: #1a3a5c;
    --primary-dark: #0d2137;
    --primary-light: #2d5a8a;
    --secondary-color: #c9a227;
    --accent-color: #00b4d8;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Typography */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* 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), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-max: 1400px;
    --container-padding: 1.5rem;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

main {
    padding-top: 0;
    margin-top: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Preloader - DISABLED
======================================== */
#preloader {
    display: none !important;
}

.loader {
    text-align: center;
    position: relative;
}

.loader img {
    width: 100px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

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

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

.section {
    padding: var(--spacing-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
}

h1 { font-size: 2rem; font-weight: 500; }
h2 { font-size: 1.75rem; font-weight: 500; }
h3 { font-size: 1.5rem; font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p {
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

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

.btn-gold {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d4af37 100%);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4af37 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
}

/* ========================================
   Header
======================================== */
.header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

/* Top header scrolls normally */
.header-top {
    position: relative;
}

/* Navbar always fixed at top - always visible */
.header .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 80px;
}

.header-top {
    background: var(--primary-dark);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}

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

.header-contact-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.header-contact-info a,
.header-contact-info span {
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.header-contact-info a:hover {
    color: var(--secondary-color);
}

.header-contact-info i {
    color: var(--secondary-color);
}

.header-social {
    display: flex;
    gap: var(--spacing-md);
}

.header-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.header-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Navbar - Fixed at top */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .logo-main {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.50rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-text .logo-sub {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

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

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary-color);
}

.nav-menu > li > a i {
    font-size: 0.625rem;
    transition: transform var(--transition-fast);
}

.nav-menu > li:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 100;
}

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

.dropdown li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-dark);
    transition: all var(--transition-fast);
}

.nav-cta {
    margin-left: var(--spacing-md);
}

/* ========================================
   Hero Slider with Globe Animation
======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
}

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

#globe-canvas {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(13, 33, 55, 0.9) 0%,
        rgba(13, 33, 55, 0.7) 50%,
        rgba(13, 33, 55, 0.4) 100%
    );
    z-index: 2;
}

.hero-slider {
    position: relative;
    height: 100%;
    z-index: 3;
}

.swiper-slide {
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-content {
    max-width: 700px;
    padding-top: 120px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid var(--secondary-color);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

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

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: var(--spacing-2xl);
}

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

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: var(--spacing-sm);
}

/* Swiper Navigation & Pagination */
.hero-slider .swiper-pagination {
    bottom: 40px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all var(--transition-base);
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    width: 40px;
    border-radius: var(--radius-full);
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: all var(--transition-base);
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: var(--secondary-color);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 1rem;
}

/* Particle effects */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========================================
   Services Section
======================================== */
.services-section {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    font-size: 2rem;
    color: var(--white);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d4af37 100%);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-lg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

/* ========================================
   About Section
======================================== */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.about-image-badge .number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-subtitle {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Why Choose Us Section
======================================== */
.why-choose-section {
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.why-choose-card {
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: all var(--transition-base);
    position: relative;
}

.why-choose-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.why-choose-number {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gray-200);
    line-height: 1;
}

.why-choose-card:hover .why-choose-number {
    color: rgba(201, 162, 39, 0.2);
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.why-choose-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.why-choose-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials-section {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    padding-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-xl);
    font-size: 4rem;
    color: var(--gray-100);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

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

.testimonial-rating {
    margin-left: auto;
    color: var(--secondary-color);
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: var(--spacing-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section .section-title {
    color: var(--white);
}

.cta-section .section-description {
    color: var(--gray-300);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ========================================
   Blog Section
======================================== */
.blog-section {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.375rem 0.75rem;
    background: var(--secondary-color);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.blog-content {
    padding: var(--spacing-xl);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

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

.blog-excerpt {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-lg);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.blog-link i {
    transition: transform var(--transition-fast);
}

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

/* ========================================
   Contact Section
======================================== */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    color: var(--white);
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.contact-info-card p {
    color: var(--gray-300);
    margin-bottom: var(--spacing-2xl);
}

.contact-info-list {
    margin-bottom: var(--spacing-2xl);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.contact-info-text h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.contact-info-text p,
.contact-info-text a {
    color: var(--gray-300);
    font-size: 0.9375rem;
    margin: 0;
}

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

.contact-social {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-group label span {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

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

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* ========================================
   Page Headers
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.page-header p {
    color: var(--gray-300);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gray-400);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: var(--secondary-color);
}

.breadcrumb i {
    color: var(--gray-500);
    font-size: 0.625rem;
}

/* ========================================
   Careers Page
======================================== */
.careers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.job-listings {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-xl);
    align-items: center;
    transition: all var(--transition-base);
}

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

.job-card.featured {
    border-left: 4px solid var(--secondary-color);
}

.job-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.job-meta i {
    color: var(--primary-color);
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.job-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.job-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-end;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-top {
    padding: var(--spacing-4xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--spacing-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

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

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo .logo-main {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.footer-logo .logo-sub {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.70rem;
    font-weight: 400;
    color: #d4af37;
    margin-top: 2px;
}

.footer-about {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.footer-accreditation img {
    height: 60px;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

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

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: var(--spacing-sm);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-lg) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--secondary-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

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

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

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 992px) {
    .header-top {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-base);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-menu > li > a {
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-lg);
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-cta {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .about-image-badge {
        bottom: -20px;
        right: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-4xl: 4rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .job-card {
        grid-template-columns: 1fr;
    }
    
    .job-actions {
        align-items: flex-start;
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   Utility Classes
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray-50); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

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

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

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

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

/* ========================================
   Video Showcase Section
======================================== */
.video-showcase-section {
    background: var(--gray-50);
}

.video-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

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

.video-card-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.video-card:hover .video-card-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    transition: background var(--transition-normal);
}

.video-card:hover .video-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.video-play-btn i {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-left: 5px;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

.video-card-content {
    padding: var(--spacing-xl);
    text-align: center;
}

.video-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

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

.video-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-800);
}

.video-card-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* Video Popup Modal */
.video-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.video-popup.active {
    display: flex;
}

.video-popup-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--gray-800);
    transition: all var(--transition-fast);
    z-index: 10;
}

.video-popup-close:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

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

/* ========================================
   Team Section
======================================== */
.team-section {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    text-align: center;
}

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

.team-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

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

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

.team-card-content {
    padding: var(--spacing-xl);
}

.team-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-800);
}

.team-card-content .team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.team-card-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .video-cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn i {
        font-size: 1.25rem;
    }
}

/* ========================================
   MOBILE RESPONSIVE - Single Column Layout
   Forces all grids to single column on mobile
======================================== */
@media (max-width: 991px) {
    /* Force all inline grid styles to single column */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: repeat(2"],
    [style*="grid-template-columns:repeat(2"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns:repeat(4"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Reduce gaps on mobile */
    [style*="gap: 60px"],
    [style*="gap:60px"] {
        gap: 30px !important;
    }
    
    [style*="gap: 40px"],
    [style*="gap:40px"] {
        gap: 25px !important;
    }
    
    /* Section padding adjustments */
    .section {
        padding: 50px 0;
    }
    
    /* Page hero adjustments */
    .page-hero {
        padding: 80px 0 40px !important;
    }
    
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Typography scaling */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Section titles */
    .section-title {
        font-size: 1.75rem !important;
    }
    
    /* Inline style overrides for common patterns */
    [style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
    }
    
    [style*="font-size: 2rem"] {
        font-size: 1.25rem !important;
    }
    
    /* Image containers */
    [style*="height: 350px"] {
        height: 250px !important;
    }
    
    [style*="height: 300px"] {
        height: 220px !important;
    }
    
    /* Iframe video containers - maintain aspect ratio */
    [style*="padding-bottom: 56.25%"] {
        padding-bottom: 56.25% !important;
    }
}

@media (max-width: 576px) {
    /* Extra small screens */
    .container {
        padding: 0 12px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    /* Button full width on mobile */
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Cards padding */
    .service-card,
    .blog-card,
    .team-card,
    .why-choose-card {
        padding: 1.25rem;
    }
    
    /* Footer */
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    /* Run Hide Tell section icons */
    [style*="width: 120px"][style*="height: 120px"] {
        width: 80px !important;
        height: 80px !important;
    }
    
    [style*="font-size: 3rem"] {
        font-size: 2rem !important;
    }
    
    /* Reduce large text */
    [style*="font-size: 1.75rem"] {
        font-size: 1.25rem !important;
    }
    
    [style*="font-size: 1.5rem"] {
        font-size: 1.125rem !important;
    }
}
