/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size */
}

/* Responsive Base Font Sizes */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }
}

:root {
    /* Dark Mode Color Palette - Deep & Intense */
    --primary-color: #0047AB;
    --secondary-color: #888888;
    --accent-color: #888888;
    --accent-purple: #888888;
    --accent-blue: #0047AB;
    
    /* Deep Dark Backgrounds */
    --bg-dark: #0f0f0f;
    --bg-darker: #0f0f0f;
    --bg-deepest: #0f0f0f;
    --bg-card: #0a0a0a;
    --bg-card-hover: #121212;
    --navbar-bg: #0f0f0f;
    
    /* Text Colors */
    --text-dark: #ffffff;
    --text-light: #a0a0a0;
    --text-muted: #666666;
    
    /* Grays */
    --white: #ffffff;
    --gray-50: #0f0f0f;
    --gray-100: #1a1a1a;
    --gray-200: #262626;
    
    /* Shadows & Effects */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.95);
    --shadow-glow: 0 0 60px rgba(0, 71, 171, 0.4);
    --shadow-glow-purple: 0 0 60px rgba(136, 136, 136, 0.4);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0047AB 0%, #003366 100%);
    --gradient-secondary: linear-gradient(135deg, #888888 0%, #666666 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f0f 0%, #0f0f0f 100%);
    --gradient-card: linear-gradient(145deg, rgba(42, 42, 42, 0.95) 0%, rgba(35, 35, 35, 0.98) 100%);
    --gradient-deep: linear-gradient(180deg, rgba(42, 42, 42, 0.98) 0%, rgba(35, 35, 35, 1) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-darker);
    overflow-x: hidden;
    max-width: 100%;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    position: relative;
}

/* Responsive Form Elements */
input, textarea, select {
    max-width: 100%;
    box-sizing: border-box;
}

/* Marketing Abstract Shapes Background with Vignette */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.5) 100%),
        url('data:image/svg+xml,%3Csvg width=\"100\" height=\"100\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cpath d=\"M50 10 L90 90 L10 90 Z\" fill=\"none\" stroke=\"rgba(0,71,171,0.02)\" stroke-width=\"1\"/%3E%3Ccircle cx=\"50\" cy=\"50\" r=\"30\" fill=\"none\" stroke=\"rgba(136,136,136,0.015)\" stroke-width=\"1\"/%3E%3C/svg%3E');
    background-size: 100% 100%, 200px 200px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    animation: marketingShapes 40s linear infinite;
}

@keyframes deepPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes marketingShapes {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

/* Ensure content is above background */
.navbar,
.hero,
section {
    position: relative;
    z-index: 1;
}

/* Deep Particle Effect */
@keyframes floatParticles {
    0%, 100% { 
        transform: translateY(0) translateX(0); 
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-30px) translateX(10px); 
        opacity: 0.5;
    }
}

/* Service Icons Float Up */
@keyframes floatIconsUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -220px;
    }
}

/* Team Network Float Up */
@keyframes floatTeamUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -250px;
    }
}

/* About Section Float Up */
@keyframes floatAboutUp {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 -150px;
    }
}

/* Clients Section Float Up */
@keyframes floatClientsUp {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 -80px;
    }
}

/* Footer Float Up */
@keyframes floatFooterUp {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 -100px;
    }
}

/* Detailed/Social Section Float Up */
@keyframes floatDetailedUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -240px;
    }
}

/* Contact Form Float Up */
@keyframes floatContactUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -230px;
    }
}

/* Section Divider Lines */
.section-header::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 10px rgba(0, 71, 171, 0.5);
}

body.arabic {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

body.arabic .language-toggle {
    left: 15px;
    right: auto;
}

/* Arabic RTL mobile adjustments */
@media (max-width: 768px) {
    body.arabic .language-toggle {
        left: 20px;
        right: auto;
        bottom: 20px; /* Maintain bottom positioning for Arabic */
    }
}

@media (max-width: 480px) {
    body.arabic .language-toggle {
        left: 15px;
        right: auto;
        bottom: 15px;
    }
}

body.arabic .nav-container {
    flex-direction: row-reverse;
}

body.arabic .nav-logo {
    order: 2;
}

body.arabic .nav-menu {
    order: 1;
}

body.arabic .hamburger {
    order: 1;
}

body.arabic .hero-content {
    text-align: right;
}

body.arabic .about-content {
    flex-direction: row-reverse !important;
}

/* Maximum specificity for Arabic about section */
body.arabic section.about .container .about-content {
    flex-direction: row-reverse !important;
    display: flex !important;
}

/* Force individual element order in Arabic */
body.arabic .about-text {
    order: 2 !important;
}

body.arabic .about-image {
    order: 1 !important;
}

/* Arabic desktop specific */
@media (min-width: 769px) {
    body.arabic .about-content {
        flex-direction: row-reverse !important;
    }
    
    body.arabic section.about .container .about-content {
        flex-direction: row-reverse !important;
    }
}

body.arabic .contact-content {
    flex-direction: row-reverse;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Container */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1003;
}

.language-toggle button {
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.2) 0%, rgba(136, 136, 136, 0.2) 100%);
    backdrop-filter: blur(20px);
    color: var(--white);
    border: 1px solid rgba(0, 71, 171, 0.3);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    transition: var(--transition);
    box-shadow: 
        var(--shadow-deep),
        var(--shadow-glow);
}

.language-toggle button:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow-purple);
}

.language-toggle button:active {
    transform: translateY(0) scale(0.98);
}

.language-toggle button i {
    animation: rotate 20s linear infinite;
}

/* Smaller Laptops and Large Tablets - Background Fix */
@media (max-width: 1600px) and (min-width: 1025px) {
    .hero {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .page-header,
    .page-header-services,
    .page-header-clients,
    .page-header-team,
    .page-header-contact,
    .page-header-about {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* Tablet Language Toggle Adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .language-toggle {
        top: 85px; /* Move below navbar to avoid hiding items */
        right: 20px;
        z-index: 1003;
    }
    
    .language-toggle button {
        padding: 7px 10px;
        font-size: 11px;
        gap: 5px;
    }
    
    /* Fix background zoom issue on intermediate screen sizes */
    .hero {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .page-header,
    .page-header-services,
    .page-header-clients,
    .page-header-team,
    .page-header-contact,
    .page-header-about {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    /* Tablet-specific background images */
    .page-header.page-header-services {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-service-bg2.jpg') !important;
    }

    .page-header.page-header-clients {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-clients-bg2.jpg') !important;
    }

    .page-header.page-header-team {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-team2.jpg') !important;
    }

    .page-header.page-header-contact {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/contact-us2.jpg') !important;
    }

    .page-header.page-header-about {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/about-us2.jpg') !important;
    }
}

/* Mobile Language Toggle Adjustments */
@media (max-width: 768px) {
    .language-toggle {
        position: fixed;
        bottom: 20px; /* Move to bottom for better mobile UX */
        right: 20px;
        top: auto; /* Remove top positioning */
        z-index: 1003;
    }
    
    .language-toggle button {
        padding: 10px 14px; /* Larger touch target for mobile */
        font-size: 12px;
        gap: 6px;
        border-radius: 25px; /* More rounded for mobile */
        box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Enhanced shadow */
    }
    
    /* Remove extra padding since toggle is now at bottom */
    .nav-container {
        padding-right: 20px;
    }
    
    .hamburger {
        margin-right: 0; /* Reset hamburger margin */
    }
}

@media (max-width: 480px) {
    .language-toggle {
        bottom: 15px; /* Slightly lower for smaller screens */
        right: 15px;
    }
    
    .language-toggle button {
        padding: 8px 12px;
        font-size: 11px;
        gap: 4px;
    }
}

/* Navigation */
.navbar {
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 120px;
    height: 100px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 71, 171, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 71, 171, 0.5);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section - Deep Marketing Vibes */
.hero {
    background: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 1)), url('Images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Only use fixed background on very large screens */
@media (min-width: 1921px) {
    .hero {
        background-attachment: fixed;
    }
    
    .page-header,
    .page-header-services,
    .page-header-clients,
    .page-header-team,
    .page-header-contact,
    .page-header-about {
        background-attachment: fixed;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(136, 136, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Abstract Marketing Shapes Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 71, 171, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(136, 136, 136, 0.06) 0%, transparent 40%),
        conic-gradient(from 180deg at 50% 50%, 
            rgba(0, 71, 171, 0.02) 0deg,
            transparent 60deg,
            rgba(136, 136, 136, 0.02) 120deg,
            transparent 180deg,
            rgba(136, 136, 136, 0.02) 240deg,
            transparent 300deg,
            rgba(0, 71, 171, 0.02) 360deg);
    animation: rotateMarketing 40s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gridFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes rotateMarketing {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes navGlow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 71, 171, 0.15);
        border-bottom-color: rgba(0, 71, 171, 0.2);
    }
    50% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 71, 171, 0.3);
        border-bottom-color: rgba(0, 71, 171, 0.4);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #0047AB 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: none;
}

.hero-title::before {
    content: attr(data-en);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: left;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    border: 2px solid rgba(0, 71, 171, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-purple), 0 10px 40px rgba(136, 136, 136, 0.4);
    border: 2px solid var(--secondary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow), 0 10px 40px rgba(0, 71, 171, 0.4);
    transform: translateY(-3px);
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    /* animation: float 3s ease-in-out infinite; - Disabled for performance */
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles - Deep */
section {
    padding: 80px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 71, 171, 0.3) 50%, transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section - Deep with Marketing Elements */
.about {
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(136, 136, 136, 0.06) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 5 L55 55 L5 55 Z" fill="none" stroke="rgba(0,71,171,0.015)" stroke-width="0.5"/%3E%3Ccircle cx="30" cy="30" r="20" fill="none" stroke="rgba(136,136,136,0.01)" stroke-width="0.5"/%3E%3Crect x="10" y="10" width="40" height="40" fill="none" stroke="rgba(136,136,136,0.01)" stroke-width="0.5"/%3E%3C/svg%3E');
    background-size: auto, 150px 150px;
    animation: floatAboutUp 18s linear infinite;
    pointer-events: none;
    opacity: 0.8;
}

.about::after {
    content: 'DEEP ANGLE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.05em;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
    text-align: left;
}

.about-image {
    order: 1;
}

.about-img-placeholder {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    border-radius: var(--border-radius);
    padding: 4rem;
    text-align: center;
    box-shadow: 
        var(--shadow-deep),
        var(--shadow-glow),
        inset 0 0 100px rgba(0, 71, 171, 0.02);
    position: relative;
    overflow: hidden;
}

.about-img-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 71, 171, 0.03) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.about-img-placeholder i {
    font-size: 6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services Section - Deep Marketing Theme */
.services {
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 25% 35%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 65%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="220" height="220" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="service-strategy" width="220" height="220" patternUnits="userSpaceOnUse"%3E%3C!-- Process Flow Arrows --%3E%3Cpath d="M40 60 L80 60 L75 55 M80 60 L75 65" stroke="rgba(0,71,171,0.12)" stroke-width="1.5" fill="none"/%3E%3Cpath d="M140 160 L180 160 L175 155 M180 160 L175 165" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Service Solutions Circles --%3E%3Ccircle cx="40" cy="60" r="8" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="180" cy="160" r="8" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="1.5"/%3E%3C!-- Checkmarks Success --%3E%3Cpath d="M 95 100 L 100 105 L 110 90" stroke="rgba(0,71,171,0.18)" stroke-width="2" fill="none" stroke-linecap="round"/%3E%3Cpath d="M 125 125 L 130 130 L 140 115" stroke="rgba(136,136,136,0.18)" stroke-width="2" fill="none" stroke-linecap="round"/%3E%3C!-- Strategy Targets --%3E%3Ccircle cx="160" cy="60" r="12" fill="none" stroke="rgba(0,71,171,0.1)" stroke-width="1"/%3E%3Ccircle cx="160" cy="60" r="8" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1"/%3E%3Ccircle cx="160" cy="60" r="4" fill="rgba(0,71,171,0.15)"/%3E%3C!-- Process Gears --%3E%3Cpath d="M 50 150 L 55 147 L 55 143 L 50 140 L 45 143 L 45 147 Z" fill="none" stroke="rgba(136,136,136,0.1)" stroke-width="1"/%3E%3Ccircle cx="50" cy="145" r="3" fill="none" stroke="rgba(136,136,136,0.12)" stroke-width="1"/%3E%3C!-- Solution Dots --%3E%3Ccircle cx="110" cy="50" r="2" fill="rgba(0,71,171,0.2)"/%3E%3Ccircle cx="70" cy="170" r="2" fill="rgba(136,136,136,0.2)"/%3E%3Ccircle cx="190" cy="100" r="2" fill="rgba(0,71,171,0.2)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="220" height="220" fill="url(%23service-strategy)"/%3E%3C/svg%3E');
    background-size: auto, auto, 220px 220px;
    animation: floatIconsUp 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Service Strategy Pattern */
.services::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(0, 71, 171, 0.02) 25%, transparent 50%, rgba(136, 136, 136, 0.02) 75%, transparent 100%);
    animation: marketingShapes 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.15);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 
        var(--shadow-deep),
        0 0 30px rgba(0, 71, 171, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.03) 0%, transparent 50%, rgba(136, 136, 136, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 
        var(--shadow-deep),
        var(--shadow-glow), 
        0 20px 60px rgba(0, 71, 171, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 
        var(--shadow-glow),
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    animation: rotateIcon 3s linear infinite;
    border-radius: 50%;
}

@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Our Work Clients Section - Deep Marketing */
.our-work-clients {
    padding: 4rem 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.our-work-clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 60% 50%, rgba(136, 136, 136, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, transparent 25%, rgba(0, 71, 171, 0.01) 25%, rgba(0, 71, 171, 0.01) 50%, transparent 50%, transparent 75%, rgba(136, 136, 136, 0.01) 75%);
    background-size: auto, 80px 80px;
    animation: floatClientsUp 15s linear infinite;
    pointer-events: none;
}

.our-work-clients::after {
    content: 'CLIENTS';
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.clients-scroll-container {
    position: relative;
    margin-top: 3rem;
}

.clients-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.clients-scroll::-webkit-scrollbar { /* WebKit */
    display: none;
}

.client-card {
    min-width: 280px;
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.12);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-deep), 0 0 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.client-logo {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 3px solid rgba(0, 71, 171, 0.25);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 71, 171, 0.05);
}

.client-card:hover .client-logo {
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 
        var(--shadow-glow),
        0 10px 40px rgba(0, 0, 0, 0.9),
        inset 0 0 30px rgba(0, 71, 171, 0.1);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.client-logo i {
    font-size: 2rem;
    color: var(--white);
}

.client-card h4 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.client-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 
        var(--shadow-deep),
        var(--shadow-glow);
}

.scroll-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        var(--shadow-deep),
        var(--shadow-glow-purple), 
        0 10px 40px rgba(0, 71, 171, 0.5);
}

.scroll-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.scroll-btn:hover i {
    color: var(--white);
}

.scroll-left {
    left: -25px;
}

.scroll-right {
    right: -25px;
}

/* Arabic RTL Support for Clients Section */
body.arabic .clients-scroll {
    direction: ltr; /* Keep horizontal scroll left-to-right */
}

body.arabic .client-card {
    text-align: center; /* Keep center alignment for cards */
}

body.arabic .scroll-left {
    right: -25px;
    left: auto;
}

body.arabic .scroll-right {
    left: -25px;
    right: auto;
}

/* Responsive Design for Clients Section */
@media (max-width: 768px) {
    .client-card {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-left {
        left: -20px;
    }
    
    .scroll-right {
        right: -20px;
    }
    
    body.arabic .scroll-left {
        right: -20px;
        left: auto;
    }
    
    body.arabic .scroll-right {
        left: -20px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .client-card {
        min-width: 220px;
        padding: 1.25rem;
    }
    
    .client-logo {
        width: 60px;
        height: 60px;
    }
    
    .client-logo i {
        font-size: 1.5rem;
    }
    
    .client-card h4 {
        font-size: 1.1rem;
    }
}

/* Portfolio Section */
.portfolio {
    background: var(--gray-50);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0047AB, #003366);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
}

.portfolio-link {
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-link:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* Team Section - Deep & Professional */
.team {
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="250" height="250" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="team-network" width="250" height="250" patternUnits="userSpaceOnUse"%3E%3C!-- Network Nodes --%3E%3Ccircle cx="50" cy="50" r="4" fill="rgba(0,71,171,0.2)"/%3E%3Ccircle cx="200" cy="50" r="4" fill="rgba(136,136,136,0.2)"/%3E%3Ccircle cx="50" cy="200" r="4" fill="rgba(136,136,136,0.2)"/%3E%3Ccircle cx="200" cy="200" r="4" fill="rgba(0,71,171,0.2)"/%3E%3Ccircle cx="125" cy="125" r="5" fill="rgba(0,71,171,0.25)"/%3E%3C!-- Connection Lines --%3E%3Cline x1="50" y1="50" x2="125" y2="125" stroke="rgba(0,71,171,0.08)" stroke-width="1"/%3E%3Cline x1="200" y1="50" x2="125" y2="125" stroke="rgba(136,136,136,0.08)" stroke-width="1"/%3E%3Cline x1="50" y1="200" x2="125" y2="125" stroke="rgba(136,136,136,0.08)" stroke-width="1"/%3E%3Cline x1="200" y1="200" x2="125" y2="125" stroke="rgba(0,71,171,0.08)" stroke-width="1"/%3E%3C!-- Organization Structure --%3E%3Crect x="120" y="30" width="10" height="10" fill="none" stroke="rgba(0,71,171,0.1)" stroke-width="1"/%3E%3Cline x1="125" y1="40" x2="125" y2="120" stroke="rgba(0,71,171,0.06)" stroke-width="1" stroke-dasharray="2,2"/%3E%3C!-- Team Dots --%3E%3Ccircle cx="80" cy="80" r="2" fill="rgba(0,71,171,0.15)"/%3E%3Ccircle cx="170" cy="80" r="2" fill="rgba(136,136,136,0.15)"/%3E%3Ccircle cx="80" cy="170" r="2" fill="rgba(136,136,136,0.15)"/%3E%3Ccircle cx="170" cy="170" r="2" fill="rgba(0,71,171,0.15)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="250" height="250" fill="url(%23team-network)"/%3E%3C/svg%3E');
    background-size: auto, auto, 250px 250px;
    animation: floatTeamUp 22s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.team::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 71, 171, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(136, 136, 136, 0.03) 0%, transparent 25%);
    animation: deepPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.team-member {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.12);
    border-radius: 15px;
    box-shadow: var(--shadow-deep), 0 0 25px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-deep), var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.9);
}

.member-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.95) 0%, rgba(136, 136, 136, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.member-social .social-link:hover {
    background: var(--bg-dark);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.member-info {
    padding: 1.5rem;
}

.member-info h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-position {
    color: var(#686866);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.client-card {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.12);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-deep), 0 0 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.client-logo {
    margin-bottom: 1.5rem;
}

.client-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid rgba(0, 71, 171, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 71, 171, 0.05);
    transition: all 0.3s ease;
}

.client-placeholder i {
    font-size: 2rem;
    color: var(--primary-color);
}

.client-card:hover .client-placeholder {
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 
        var(--shadow-glow),
        0 10px 40px rgba(0, 0, 0, 0.9),
        inset 0 0 30px rgba(0, 71, 171, 0.1);
}

.client-card h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.client-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    margin-top: 4rem;
}

.testimonials h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-btn.active {
    background: var(--primary-color);
}

/* Contact Section */
.contact {
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 71, 171, 0.3);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: rgba(20, 27, 61, 0.6);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.3);
    background: rgba(20, 27, 61, 0.8);
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 16px;
    color: var(--text-light);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -8px;
    left: 12px;
    font-size: 12px;
    color: var(--primary-color);
    background: var(--bg-darker);
    padding: 0 8px;
}

.form-group select + label {
    top: -8px;
    left: 12px;
    font-size: 12px;
    color: var(--primary-color);
    background: var(--bg-darker);
    padding: 0 8px;
}

/* Footer - Deep Professional */
.footer {
    background: #0f0f0f;
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 71, 171, 0.15);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(0, 71, 171, 0.03) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="50" height="50" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="25" cy="25" r="15" fill="none" stroke="rgba(0,71,171,0.01)" stroke-width="0.5"/%3E%3C/svg%3E');
    background-size: auto, 100px 100px;
    animation: floatFooterUp 16s linear infinite;
    pointer-events: none;
}

.footer::after {
    content: 'DEEP ANGLE';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 71, 171, 0.5);
}

.footer-section ul li i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 71, 171, 0.2);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(30px);
        border: 1px solid rgba(0, 71, 171, 0.15);
        border-top: none;
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 
            var(--shadow-deep), 
            0 20px 60px rgba(0, 0, 0, 0.95),
            0 0 40px rgba(0, 71, 171, 0.15);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
        animation: slideInFromLeft 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-menu .nav-link {
        display: block;
        padding: 0.5rem 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        background-attachment: scroll;
        background-position: center center;
        background-size: 100% auto;
        min-height: 80vh;
    }

    .page-header {
        min-height: 450px;
        padding: 120px 0 70px;
        background-attachment: scroll;
        background-position: center center;
        background-size: 100% auto;
    }

    .page-header.page-header-services,
    .page-header.page-header-clients,
    .page-header.page-header-team,
    .page-header.page-header-contact,
    .page-header.page-header-about {
        background-attachment: scroll;
        background-position: center center;
        background-size: 100% auto !important;
    }

    /* Mobile-specific background images */
    .page-header.page-header-services {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-service-bg2.jpg');
    }

    .page-header.page-header-clients {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-clients-bg2.jpg');
    }

    .page-header.page-header-team {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-team2.jpg');
    }

    .page-header.page-header-contact {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/contact-us2.jpg');
    }

    .page-header.page-header-about {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/about-us2.jpg');
    }

    .hero-logo img {
        width: 200px;
        height: 200px;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    /* Arabic about section mobile fix */
    body.arabic .about-content {
        flex-direction: column-reverse !important;
        text-align: right !important;
        direction: rtl !important;
    }
    
    body.arabic .about-text {
        text-align: right !important;
        direction: rtl !important;
    }
    
    body.arabic .about-text h3,
    body.arabic .about-text p {
        text-align: right !important;
    }
    
    body.arabic .section-header {
        text-align: center !important;
    }

    .stats {
    direction: ltr;
    text-align: left;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: left;
    }

    .btn {
        width: 100%;
        max-width: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .client-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
        background-attachment: scroll;
        background-position: center center;
        background-size: 100% auto;
        min-height: 70vh;
    }

    .page-header {
        min-height: 350px;
        padding: 80px 0 50px;
        background-attachment: scroll;
        background-position: center center;
        background-size: 100% auto;
    }

    .page-header.page-header-services,
    .page-header.page-header-clients,
    .page-header.page-header-team,
    .page-header.page-header-contact,
    .page-header.page-header-about {
        background-attachment: scroll;
        background-position: center center;
        background-size: 100% auto !important;
    }

    /* Mobile-specific background images */
    .page-header.page-header-services {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-service-bg2.jpg');
    }

    .page-header.page-header-clients {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-clients-bg2.jpg');
    }

    .page-header.page-header-team {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-team2.jpg');
    }

    .page-header.page-header-contact {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/contact-us2.jpg');
    }

    .page-header.page-header-about {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/about-us2.jpg');
    }

    section {
        padding: 60px 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

/* Responsive Base Font Sizes */
@media (max-width: 768px) {
    html {
        font-size: 14px; /* Smaller base font for tablets */
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px; /* Even smaller base font for mobile */
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Arabic RTL Adjustments */
body.arabic .hero-buttons {
    justify-content: flex-start;
}

body.arabic .stats {
    direction: rtl;
    text-align: right;
}

body.arabic .stat-item {
    text-align: center;
}

body.arabic .stat-item h4 {
    text-align: right;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

body.arabic .stat-item p {
    text-align: right;
}

body.arabic .footer-section ul li i {
    margin-right: 0;
    margin-left: 8px;
}

body.arabic .contact-item {
    flex-direction: row-reverse;
}

body.arabic .form-group label {
    left: auto;
    right: 16px;
}

body.arabic .form-group input:focus + label,
body.arabic .form-group input:valid + label,
body.arabic .form-group textarea:focus + label,
body.arabic .form-group textarea:valid + label {
    left: auto;
    right: 12px;
}

body.arabic .form-group select + label {
    left: auto;
    right: 12px;
}

body.arabic .form-group input,
body.arabic .form-group textarea,
body.arabic .form-group select {
    text-align: right;
    direction: rtl;
}

body.arabic .form-group input::placeholder,
body.arabic .form-group textarea::placeholder {
    text-align: right;
}

@media (max-width: 768px) {
    body.arabic .nav-menu {
        left: auto;
        right: -100%;
    }

    body.arabic .nav-menu.active {
        right: 0;
    }
}

/* Page Header Styles */
.page-header {
    background: #0f0f0f;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

/* Page-specific header backgrounds */
.page-header-services {
    background: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-service-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header-clients {
    background: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-clients-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header-team {
    background: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/our-team.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header-contact {
    background: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/contact-us.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header-about {
    background: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.5)), url('Images/about-us.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(136, 136, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 71, 171, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(136, 136, 136, 0.06) 0%, transparent 40%),
        conic-gradient(from 180deg at 50% 50%, 
            rgba(0, 71, 171, 0.02) 0deg,
            transparent 60deg,
            rgba(136, 136, 136, 0.02) 120deg,
            transparent 180deg,
            rgba(136, 136, 136, 0.02) 240deg,
            transparent 300deg,
            rgba(0, 71, 171, 0.02) 360deg);
    animation: rotateMarketing 40s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 80px;
}

.page-header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* About Detailed Styles */
.about-detailed {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.about-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="240" height="240" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="about-pattern" width="240" height="240" patternUnits="userSpaceOnUse"%3E%3C!-- Target/Mission Icon --%3E%3Ccircle cx="60" cy="60" r="20" fill="none" stroke="rgba(0,71,171,0.1)" stroke-width="1.5"/%3E%3Ccircle cx="60" cy="60" r="12" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1.5"/%3E%3Ccircle cx="60" cy="60" r="4" fill="rgba(0,71,171,0.15)"/%3E%3C!-- People/Team Icons --%3E%3Ccircle cx="180" cy="100" r="8" fill="none" stroke="rgba(136,136,136,0.1)" stroke-width="1.5"/%3E%3Cpath d="M 180 108 Q 172 120 172 130 L 188 130 Q 188 120 180 108" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3Ccircle cx="90" cy="180" r="8" fill="none" stroke="rgba(0,71,171,0.1)" stroke-width="1.5"/%3E%3Cpath d="M 90 188 Q 82 200 82 210 L 98 210 Q 98 200 90 188" stroke="rgba(0,71,171,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Lightbulb/Innovation --%3E%3Ccircle cx="200" cy="200" r="10" fill="none" stroke="rgba(136,136,136,0.1)" stroke-width="1.5"/%3E%3Cpath d="M 195 210 L 205 210 M 197 213 L 203 213" stroke="rgba(136,136,136,0.12)" stroke-width="1.5"/%3E%3C!-- Growth Arrow --%3E%3Cpath d="M 40 140 L 40 100 L 60 100" stroke="rgba(0,71,171,0.1)" stroke-width="2" fill="none"/%3E%3Cpath d="M 60 100 L 55 105 M 60 100 L 55 95" stroke="rgba(0,71,171,0.12)" stroke-width="1.5"/%3E%3C!-- Handshake Elements --%3E%3Cpath d="M 140 180 Q 150 175 160 180" stroke="rgba(136,136,136,0.1)" stroke-width="2" fill="none"/%3E%3Cpath d="M 145 185 Q 150 182 155 185" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Stars/Excellence --%3E%3Cpath d="M 120 60 L 122 66 L 128 66 L 123 70 L 125 76 L 120 72 L 115 76 L 117 70 L 112 66 L 118 66 Z" fill="rgba(0,71,171,0.12)"/%3E%3C!-- Connection Dots --%3E%3Ccircle cx="30" cy="30" r="2" fill="rgba(0,71,171,0.12)"/%3E%3Ccircle cx="210" cy="50" r="2" fill="rgba(136,136,136,0.12)"/%3E%3Ccircle cx="170" cy="220" r="2" fill="rgba(0,71,171,0.12)"/%3E%3Ccircle cx="50" cy="200" r="2" fill="rgba(136,136,136,0.12)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="240" height="240" fill="url(%23about-pattern)"/%3E%3C/svg%3E');
    background-size: auto, auto, 240px 240px;
    animation: floatDetailedUp 24s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.about-detailed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 71, 171, 0.04) 0%, transparent 60%);
    animation: deepPulse 11s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.about-detailed .container {
    position: relative;
    z-index: 1;
}

.about-story {
    margin-bottom: 6rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.content-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(31, 31, 31, 0.95);
    border: 1px solid rgba(0, 71, 171, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-deep), 0 0 40px rgba(0, 71, 171, 0.1);
}

.image-placeholder i {
    font-size: 4rem;
    color: rgba(0, 71, 171, 0.3);
}

/* Mission & Vision */
.mission-vision {
    margin-bottom: 6rem;
    padding: 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-deep), 0 0 40px rgba(0, 71, 171, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 71, 171, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-deep), var(--shadow-glow), 0 20px 60px rgba(0, 71, 171, 0.2);
}

.mv-card:hover::before {
    opacity: 1;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 71, 171, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 0 25px rgba(0, 71, 171, 0.4);
    position: relative;
    z-index: 1;
}

.mv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mv-card h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Core Values */
.core-values {
    margin-bottom: 6rem;
}

.core-values h2 {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-deep), 0 0 30px rgba(0, 71, 171, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 71, 171, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-deep), var(--shadow-glow), 0 20px 60px rgba(0, 71, 171, 0.15);
    border-top-color: rgba(136, 136, 136, 0.8);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 71, 171, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, rgba(136, 136, 136, 0.8), var(--primary-color));
    box-shadow: 0 0 30px rgba(0, 71, 171, 0.5);
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* About Statistics */
.about-stats {
    margin-bottom: 6rem;
    background: var(--primary-color);
    padding: 4rem 0;
    border-radius: var(--border-radius);
    color: var(--white);
}

.about-stats h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-card p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Why Choose Us */
.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-item {
    position: relative;
    padding: 3rem 2rem 2rem 2rem;
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    border-radius: 15px;
    box-shadow: var(--shadow-deep), 0 0 30px rgba(0, 71, 171, 0.08);
    transition: all 0.3s ease;
    overflow: visible;
}

.reason-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 71, 171, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.reason-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-deep), var(--shadow-glow), 0 20px 60px rgba(0, 71, 171, 0.15);
}

.reason-item:hover::before {
    opacity: 1;
}

.reason-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 71, 171, 0.8));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.4);
    z-index: 2;
}

.reason-item h4 {
    color: var(--white);
    margin: 1rem 0;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.reason-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    background: #0f0f0f;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="200" height="200" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="cta-grid" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Cpath d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(0,71,171,0.03)" stroke-width="0.5" fill="none"/%3E%3Ccircle cx="25" cy="25" r="2" fill="rgba(0,71,171,0.1)"/%3E%3Ccircle cx="75" cy="75" r="2" fill="rgba(136,136,136,0.1)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="200" height="200" fill="url(%23cta-grid)"/%3E%3C/svg%3E');
    background-size: auto, auto, 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2.2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Page Header Styles */
/* Services Page Styles - Page Header defined above */
/* Services Overview - Merged into detailed-services */
.services-overview {
    display: none; /* Not used - merged into detailed-services */
}

.detailed-services {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.detailed-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 25% 35%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 65%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="220" height="220" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="service-strategy" width="220" height="220" patternUnits="userSpaceOnUse"%3E%3C!-- Process Flow Arrows --%3E%3Cpath d="M40 60 L80 60 L75 55 M80 60 L75 65" stroke="rgba(0,71,171,0.12)" stroke-width="1.5" fill="none"/%3E%3Cpath d="M140 160 L180 160 L175 155 M180 160 L175 165" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Service Solutions Circles --%3E%3Ccircle cx="40" cy="60" r="8" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="180" cy="160" r="8" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="1.5"/%3E%3C!-- Checkmarks Success --%3E%3Cpath d="M 95 100 L 100 105 L 110 90" stroke="rgba(0,71,171,0.18)" stroke-width="2" fill="none" stroke-linecap="round"/%3E%3Cpath d="M 125 125 L 130 130 L 140 115" stroke="rgba(136,136,136,0.18)" stroke-width="2" fill="none" stroke-linecap="round"/%3E%3C!-- Strategy Targets --%3E%3Ccircle cx="160" cy="60" r="12" fill="none" stroke="rgba(0,71,171,0.1)" stroke-width="1"/%3E%3Ccircle cx="160" cy="60" r="8" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1"/%3E%3Ccircle cx="160" cy="60" r="4" fill="rgba(0,71,171,0.15)"/%3E%3C!-- Process Gears --%3E%3Cpath d="M 50 150 L 55 147 L 55 143 L 50 140 L 45 143 L 45 147 Z" fill="none" stroke="rgba(136,136,136,0.1)" stroke-width="1"/%3E%3Ccircle cx="50" cy="145" r="3" fill="none" stroke="rgba(136,136,136,0.12)" stroke-width="1"/%3E%3C!-- Solution Dots --%3E%3Ccircle cx="110" cy="50" r="2" fill="rgba(0,71,171,0.2)"/%3E%3Ccircle cx="70" cy="170" r="2" fill="rgba(136,136,136,0.2)"/%3E%3Ccircle cx="190" cy="100" r="2" fill="rgba(0,71,171,0.2)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="220" height="220" fill="url(%23service-strategy)"/%3E%3C/svg%3E');
    background-size: auto, auto, 220px 220px;
    pointer-events: none;
    z-index: 0;
    animation: floatDetailedServicesUp 29s linear infinite;
}

.detailed-services::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(0, 71, 171, 0.02) 25%, transparent 50%, rgba(136, 136, 136, 0.02) 75%, transparent 100%);
    animation: marketingShapes 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.detailed-services .container {
    position: relative;
    z-index: 1;
}

.detailed-services .section-header {
    margin-top: 50px;
}

.service-detail {
    margin-bottom: 100px;
}

.service-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 60px;
    align-items: center;
}

.service-text,
.service-image {
    width: 100%;
    min-width: 0;
}

.service-text {
    max-width: 680px;
}

.service-detail:not(.reverse) .service-text {
    margin-right: auto;
}

.service-detail.reverse .service-text {
    margin-left: auto;
}

.service-detail.reverse .service-content {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.service-detail.reverse .service-text {
    order: 2;
}

.service-detail.reverse .service-image {
    order: 1;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, #0047AB, #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon-large i {
    font-size: 2rem;
    color: white;
}

.service-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(31, 31, 31, 0.95);
    border: 1px solid rgba(0, 71, 171, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(0, 71, 171, 0.3);
    box-shadow: var(--shadow-deep), 0 0 40px rgba(0, 71, 171, 0.1);
    overflow: hidden;
    position: relative;
}

.service-image .service-placeholder {
    max-width: 560px;
    margin-inline: auto;
}

.service-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.service-process {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.service-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 71, 171, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(136, 136, 136, 0.06) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="180" height="180" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="process-flow" width="180" height="180" patternUnits="userSpaceOnUse"%3E%3C!-- Flow Arrows --%3E%3Cpath d="M30 90 L150 90 L145 85 M150 90 L145 95" stroke="rgba(0,71,171,0.08)" stroke-width="1.5" fill="none"/%3E%3C!-- Process Steps --%3E%3Ccircle cx="40" cy="90" r="6" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="90" cy="90" r="6" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="140" cy="90" r="6" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3C!-- Process Numbers --%3E%3Ctext x="38" y="94" font-size="8" fill="rgba(0,71,171,0.2)" font-weight="bold"%3E1%3C/text%3E%3Ctext x="88" y="94" font-size="8" fill="rgba(136,136,136,0.2)" font-weight="bold"%3E2%3C/text%3E%3C!-- Connection Lines --%3E%3Cpath d="M60 50 L120 50" stroke="rgba(136,136,136,0.06)" stroke-width="1" stroke-dasharray="3,3"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="180" height="180" fill="url(%23process-flow)"/%3E%3C/svg%3E');
    background-position: center, center, 0 0;
    background-size: auto, auto, 180px 180px;
    animation: processPatternUp 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes processPatternUp {
    from {
        background-position: center, center, 0 0;
    }
    to {
        background-position: center, center, 0 -180px;
    }
}

.service-process::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 71, 171, 0.03) 0%, transparent 60%);
    animation: deepPulse 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.service-process .container {
    position: relative;
    z-index: 1;
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-deep), 0 0 30px rgba(0, 71, 171, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 71, 171, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-deep), var(--shadow-glow), 0 20px 60px rgba(0, 71, 171, 0.2);
}

.process-step:hover::before {
    opacity: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 71, 171, 0.6));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.4);
    position: relative;
    z-index: 1;
}

.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Portfolio Page Styles */
.portfolio-stats {
    padding: 80px 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #0047AB, #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    font-weight: 500;
}

.portfolio-section {
    padding: 80px 0;
}

.portfolio-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-card .portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-card .portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.portfolio-card .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.portfolio-actions {
    display: flex;
    gap: 1rem;
}

.portfolio-btn {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.portfolio-btn:hover {
    background: var(--primary-color);
}

.portfolio-details {
    padding: 1.5rem;
}

.portfolio-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.portfolio-category {
    color: #666;
    font-size: 0.9rem;
}

.portfolio-testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.portfolio-testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #0047AB, #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--secondary-color);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
}

/* Social Media Contact Section */
.social-contact-section {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.social-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 25% 30%, rgba(0, 132, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 70%, rgba(37, 211, 102, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(131, 58, 180, 0.06) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="240" height="240" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="social-pattern" width="240" height="240" patternUnits="userSpaceOnUse"%3E%3C!-- Messenger Icon --%3E%3Ccircle cx="60" cy="60" r="18" fill="none" stroke="rgba(0,132,255,0.1)" stroke-width="2"/%3E%3Cpath d="M 60 50 L 55 62 L 62 58 L 68 62 L 60 50" fill="rgba(0,132,255,0.12)"/%3E%3C!-- WhatsApp Icon --%3E%3Ccircle cx="180" cy="180" r="18" fill="none" stroke="rgba(37,211,102,0.1)" stroke-width="2"/%3E%3Cpath d="M 175 175 Q 172 178 175 181 L 173 187 L 179 185 Q 182 188 185 185" stroke="rgba(37,211,102,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Instagram Icon --%3E%3Crect x="162" y="42" width="36" height="36" rx="8" fill="none" stroke="rgba(131,58,180,0.1)" stroke-width="2"/%3E%3Ccircle cx="180" cy="60" r="8" fill="none" stroke="rgba(131,58,180,0.12)" stroke-width="1.5"/%3E%3Ccircle cx="188" cy="52" r="2" fill="rgba(253,29,29,0.12)"/%3E%3C!-- Social Share Network Lines --%3E%3Cpath d="M 40 120 L 80 140 M 80 140 L 100 100 M 100 100 L 140 120" stroke="rgba(0,132,255,0.08)" stroke-width="1.5"/%3E%3Ccircle cx="40" cy="120" r="4" fill="rgba(0,132,255,0.1)"/%3E%3Ccircle cx="80" cy="140" r="4" fill="rgba(37,211,102,0.1)"/%3E%3Ccircle cx="100" cy="100" r="4" fill="rgba(131,58,180,0.1)"/%3E%3Ccircle cx="140" cy="120" r="4" fill="rgba(253,29,29,0.1)"/%3E%3C!-- Chat Bubbles --%3E%3Cpath d="M 200 120 Q 200 110 210 110 L 225 110 Q 235 110 235 120 L 235 130 Q 235 140 225 140 L 218 140 L 215 145 L 215 140 L 210 140 Q 200 140 200 130 Z" fill="none" stroke="rgba(0,132,255,0.1)" stroke-width="1.5"/%3E%3Cpath d="M 10 180 Q 10 170 20 170 L 35 170 Q 45 170 45 180 L 45 190 Q 45 200 35 200 L 28 200 L 25 205 L 25 200 L 20 200 Q 10 200 10 190 Z" fill="none" stroke="rgba(37,211,102,0.1)" stroke-width="1.5"/%3E%3C!-- Like Heart --%3E%3Cpath d="M 120 200 Q 115 190 110 190 Q 105 190 105 195 Q 105 200 110 205 L 120 215 L 130 205 Q 135 200 135 195 Q 135 190 130 190 Q 125 190 120 200" fill="rgba(253,29,29,0.1)" stroke="rgba(253,29,29,0.12)" stroke-width="1"/%3E%3C!-- Connection Dots --%3E%3Ccircle cx="150" cy="150" r="2.5" fill="rgba(0,132,255,0.15)"/%3E%3Ccircle cx="90" cy="90" r="2" fill="rgba(37,211,102,0.12)"/%3E%3Ccircle cx="210" cy="90" r="2" fill="rgba(131,58,180,0.12)"/%3E%3Ccircle cx="60" cy="210" r="2.5" fill="rgba(253,29,29,0.12)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="240" height="240" fill="url(%23social-pattern)"/%3E%3C/svg%3E');
    background-size: auto, auto, auto, 240px 240px;
    animation: floatSocialContactUp 21s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.social-contact-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 132, 255, 0.04) 0%, transparent 60%);
    animation: deepPulse 11s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.social-contact-section .container {
    position: relative;
    z-index: 1;
}

.social-contact-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.social-contact-section .section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 700;
}

.social-contact-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.social-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.social-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.social-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.social-contact-card:hover::before {
    left: 100%;
}

.social-contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 71, 171, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.social-contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.social-contact-icon i {
    transition: transform 0.3s ease;
}

.social-contact-card:hover .social-contact-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* Messenger Blue */
.social-contact-icon.messenger {
    background: linear-gradient(135deg, #0084ff 0%, #0286aa 100%);
    box-shadow: 0 10px 30px rgba(0, 132, 255, 0.3);
    color: white;
}

.social-contact-card:hover .social-contact-icon.messenger {
    box-shadow: 0 15px 40px rgba(0, 132, 255, 0.5);
    transform: scale(1.1);
}

/* WhatsApp Green */
.social-contact-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    color: white;
}

.social-contact-card:hover .social-contact-icon.whatsapp {
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    transform: scale(1.1);
}

/* Instagram Gradient */
.social-contact-icon.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
    box-shadow: 0 10px 30px rgba(131, 58, 180, 0.3);
    color: white;
}

.social-contact-card:hover .social-contact-icon.instagram {
    box-shadow: 0 15px 40px rgba(131, 58, 180, 0.5);
    transform: scale(1.1);
}

/* TikTok Black */
.social-contact-icon.tiktok {
    background: linear-gradient(135deg, #25F4EE 0%, #000000 40%,#000000 60%, #FE2C55 100%);
    box-shadow: 0 10px 30px rgba(37, 244, 238, 0.3);
    color: white;
}

.social-contact-card:hover .social-contact-icon.tiktok {
    box-shadow: 0 15px 40px rgba(37, 244, 238, 0.5);
    transform: scale(1.1);
}

.social-contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-contact-card:hover h3 {
    color: var(--primary-color);
}

.social-contact-card p {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.social-contact-card:hover p {
    color: var(--primary-color);
}

/* Responsive Design for Social Contact Section */
@media (max-width: 992px) {
    .social-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .social-contact-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .social-contact-section {
        padding: 60px 0;
    }
    
    .social-contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .social-contact-section .section-header {
        margin-bottom: 40px;
    }
    
    .social-contact-section .section-title {
        font-size: 1.8rem;
    }
    
    .social-contact-card {
        padding: 35px 25px;
    }
    
    .social-contact-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .social-contact-section {
        padding: 50px 0;
    }
    
    .social-contact-section .section-title {
        font-size: 1.6rem;
    }
    
    .social-contact-section .section-subtitle {
        font-size: 1rem;
    }
    
    .social-contact-card {
        padding: 30px 20px;
    }
    
    .social-contact-card h3 {
        font-size: 1.3rem;
    }
    
    .social-contact-card p {
        font-size: 0.95rem;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="230" height="230" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="contact-pattern" width="230" height="230" patternUnits="userSpaceOnUse"%3E%3C!-- Message Envelopes --%3E%3Crect x="50" y="80" width="50" height="35" fill="none" stroke="rgba(0,71,171,0.1)" stroke-width="1.5" rx="3"/%3E%3Cpath d="M 50 80 L 75 100 L 100 80" stroke="rgba(0,71,171,0.12)" stroke-width="1.5" fill="none"/%3E%3Crect x="130" y="115" width="50" height="35" fill="none" stroke="rgba(136,136,136,0.1)" stroke-width="1.5" rx="3"/%3E%3Cpath d="M 130 115 L 155 135 L 180 115" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Communication Lines --%3E%3Cpath d="M 40 60 Q 50 50 60 60" stroke="rgba(0,71,171,0.08)" stroke-width="1.5" fill="none"/%3E%3Cpath d="M 170 180 Q 180 170 190 180" stroke="rgba(136,136,136,0.08)" stroke-width="1.5" fill="none"/%3E%3C!-- Contact Bubbles --%3E%3Ccircle cx="80" cy="180" r="15" fill="none" stroke="rgba(0,71,171,0.1)" stroke-width="1.5"/%3E%3Cpath d="M 80 175 Q 78 173 76 175" stroke="rgba(0,71,171,0.12)" stroke-width="1" fill="none"/%3E%3Ccircle cx="150" cy="50" r="15" fill="none" stroke="rgba(136,136,136,0.1)" stroke-width="1.5"/%3E%3C!-- Connection Dots --%3E%3Ccircle cx="115" cy="115" r="3" fill="rgba(0,71,171,0.15)"/%3E%3Ccircle cx="60" cy="140" r="2" fill="rgba(136,136,136,0.12)"/%3E%3Ccircle cx="180" cy="90" r="2" fill="rgba(0,71,171,0.12)"/%3E%3C!-- @ Symbol --%3E%3Ccircle cx="200" cy="200" r="8" fill="none" stroke="rgba(136,136,136,0.1)" stroke-width="1.5"/%3E%3Cpath d="M 205 200 Q 205 195 200 195 Q 195 195 195 200 Q 195 205 200 205" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="230" height="230" fill="url(%23contact-pattern)"/%3E%3C/svg%3E');
    background-size: auto, auto, 230px 230px;
    animation: floatContactUp 23s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.contact-form-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 71, 171, 0.04) 0%, transparent 60%);
    animation: deepPulse 11s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.contact-form-section .container {
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form-content {
    text-align: center;
    margin-bottom: 3rem;
}

.form-content h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-deep), 0 0 40px rgba(0, 71, 171, 0.1);
    width: 100%;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(0, 71, 171, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--white);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 71, 171, 0.8) 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 71, 171, 0.5), 0 0 30px rgba(0, 71, 171, 0.4);
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 71, 171, 1) 100%);
}

.contact-info-card {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-deep), 0 0 40px rgba(0, 71, 171, 0.1);
}

.contact-info-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 15px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(0, 71, 171, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(0, 71, 171, 0.3);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
}

.info-item span {
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Form Responsive Design */
@media (max-width: 768px) {
    .contact-form-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-content h2 {
        font-size: 2rem;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .form-content h2 {
        font-size: 1.8rem;
    }
    
    .form-content p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
}

/* Contact Form Success Message */
.success-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    animation: successSlide 0.5s ease-out;
}

.success-content {
    text-align: center;
}

.success-content i.fa-check-circle {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.success-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.success-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.close-success {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.close-success:hover {
    opacity: 1;
}

@keyframes successSlide {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Success Message Responsive */
@media (max-width: 768px) {
    .success-message {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .success-content i.fa-check-circle {
        font-size: 2rem;
    }
    
    .success-content h3 {
        font-size: 1.2rem;
    }
    
    .success-content p {
        font-size: 0.9rem;
    }
}

/* Contact Page Styles */
.contact-info-section {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 40% 30%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 70%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="220" height="220" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="info-pattern" width="220" height="220" patternUnits="userSpaceOnUse"%3E%3C!-- Location Pin --%3E%3Cpath d="M 60 50 Q 60 35 75 35 Q 90 35 90 50 Q 90 65 75 80 Q 60 65 60 50 Z" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1.5"/%3E%3Ccircle cx="75" cy="50" r="5" fill="rgba(0,71,171,0.08)"/%3E%3C!-- Phone Icon --%3E%3Crect x="140" y="150" width="30" height="40" rx="5" fill="none" stroke="rgba(136,136,136,0.12)" stroke-width="1.5"/%3E%3Crect x="148" y="180" width="14" height="3" rx="1.5" fill="rgba(136,136,136,0.1)"/%3E%3C!-- Mail Icon --%3E%3Crect x="50" y="150" width="40" height="28" rx="3" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1.5"/%3E%3Cpath d="M 50 150 L 70 165 L 90 150" stroke="rgba(0,71,171,0.14)" stroke-width="1.5" fill="none"/%3E%3C!-- Info Dots --%3E%3Ccircle cx="110" cy="110" r="3" fill="rgba(0,71,171,0.15)"/%3E%3Ccircle cx="180" cy="80" r="2.5" fill="rgba(136,136,136,0.12)"/%3E%3Ccircle cx="40" cy="120" r="2" fill="rgba(0,71,171,0.12)"/%3E%3C!-- Contact Lines --%3E%3Cpath d="M 130 60 L 180 60" stroke="rgba(136,136,136,0.08)" stroke-width="1" stroke-dasharray="3,2"/%3E%3Cpath d="M 100 190 L 130 190" stroke="rgba(0,71,171,0.08)" stroke-width="1" stroke-dasharray="3,2"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="220" height="220" fill="url(%23info-pattern)"/%3E%3C/svg%3E');
    background-size: auto, auto, 220px 220px;
    animation: floatContactInfoUp 19s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.contact-info-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 45% 55%, rgba(0, 71, 171, 0.03) 0%, transparent 55%);
    animation: deepPulse 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.contact-info-section .container {
    position: relative;
    z-index: 1;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-deep), 0 0 30px rgba(0, 71, 171, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 71, 171, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-deep), var(--shadow-glow), 0 20px 60px rgba(0, 71, 171, 0.15);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 71, 171, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 25px rgba(0, 71, 171, 0.4);
    position: relative;
    z-index: 1;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.contact-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 71, 171, 0.2);
    position: relative;
    z-index: 1;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.contact-form-extended {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: center;
}

.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
}

.map-placeholder {
    height: 400px;
    background: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #666;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    color: var(--primary-color);
    margin: 0;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: #0f0f0f;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="200" height="200" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="cta-grid" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Cpath d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(0,71,171,0.03)" stroke-width="0.5" fill="none"/%3E%3Ccircle cx="25" cy="25" r="2" fill="rgba(0,71,171,0.1)"/%3E%3Ccircle cx="75" cy="75" r="2" fill="rgba(136,136,136,0.1)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="200" height="200" fill="url(%23cta-grid)"/%3E%3C/svg%3E');
    background-size: auto, auto, 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Active Navigation State */
.nav-link.active {
    color: #0047AB !important;
    font-weight: 700;
}

.nav-link.active::after {
    width: 100% !important;
    background: #0047AB !important;
}

/* Responsive Design for New Pages */
@media (max-width: 992px) {
    .service-content,
    .service-detail.reverse .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail.reverse .service-text {
        order: 1;
    }

    .service-detail.reverse .service-image {
        order: 2;
    }

    .service-placeholder {
        height: auto;
        aspect-ratio: 16 / 10;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .page-header-content p {
        font-size: 1rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-placeholder {
        height: auto;
        aspect-ratio: 1;
        min-height: 300px;
        max-height: 400px;
    }
    
    .service-detail.reverse .service-text {
        order: 1;
    }

    .service-detail.reverse .service-image {
        order: 2;
    }
    
    .portfolio-grid-extended {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-controls {
        gap: 1rem;
    }
}
.team-intro {
    padding: 4rem 0;
    background: var(--gray-50);
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Leadership Team */
.leadership-team {
    padding: 4rem 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.leadership-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="280" height="280" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="leadership" width="280" height="280" patternUnits="userSpaceOnUse"%3E%3C!-- Leadership Hierarchy --%3E%3Ccircle cx="140" cy="60" r="12" fill="rgba(0,71,171,0.08)" stroke="rgba(0,71,171,0.18)" stroke-width="2"/%3E%3Cline x1="140" y1="72" x2="140" y2="110" stroke="rgba(0,71,171,0.12)" stroke-width="2"/%3E%3C!-- Team Structure --%3E%3Ccircle cx="90" cy="140" r="8" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="140" cy="140" r="8" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="190" cy="140" r="8" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="1.5"/%3E%3C!-- Connection Lines --%3E%3Cline x1="140" y1="110" x2="90" y2="132" stroke="rgba(136,136,136,0.1)" stroke-width="1.5"/%3E%3Cline x1="140" y1="110" x2="140" y2="132" stroke="rgba(0,71,171,0.1)" stroke-width="1.5"/%3E%3Cline x1="140" y1="110" x2="190" y2="132" stroke="rgba(136,136,136,0.1)" stroke-width="1.5"/%3E%3C!-- Leadership Crown --%3E%3Cpath d="M 130 40 L 135 50 L 140 35 L 145 50 L 150 40 L 148 52 L 132 52 Z" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3C!-- Direction Arrows --%3E%3Cpath d="M 60 200 L 80 200 L 75 195 M 80 200 L 75 205" stroke="rgba(0,71,171,0.12)" stroke-width="1.5" fill="none"/%3E%3Cpath d="M 200 80 L 220 80 L 215 75 M 220 80 L 215 85" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Vision Stars --%3E%3Cpath d="M40 50 L42 56 L48 56 L43 60 L45 66 L40 62 L35 66 L37 60 L32 56 L38 56 Z" fill="rgba(0,71,171,0.1)"/%3E%3Cpath d="M240 220 L242 226 L248 226 L243 230 L245 236 L240 232 L235 236 L237 230 L232 226 L238 226 Z" fill="rgba(136,136,136,0.1)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="280" height="280" fill="url(%23leadership)"/%3E%3C/svg%3E');
    background-size: auto, auto, 280px 280px;
    pointer-events: none;
    z-index: 0;
    animation: floatLeadershipUp 25s linear infinite;
}

.leadership-team::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle at 35% 45%, rgba(0, 71, 171, 0.04) 0%, transparent 60%);
    animation: deepPulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.leadership-team .container {
    position: relative;
    z-index: 1;
}

.leadership-team h2 {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.leader-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.leader-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.leader-info {
    padding: 2rem;
}

.leader-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.leader-position {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.leader-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.leader-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--gray-100);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Core Team */
.core-team {
    padding: 4rem 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.core-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 25% 40%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 60%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="270" height="270" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="core-team" width="270" height="270" patternUnits="userSpaceOnUse"%3E%3C!-- Core Circle --%3E%3Ccircle cx="135" cy="135" r="40" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="2"/%3E%3Ccircle cx="135" cy="135" r="25" fill="rgba(0,71,171,0.03)" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3C!-- Team Members Around Core --%3E%3Ccircle cx="135" cy="75" r="10" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="195" cy="135" r="10" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="135" cy="195" r="10" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="1.5"/%3E%3Ccircle cx="75" cy="135" r="10" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="1.5"/%3E%3C!-- Connection Lines to Core --%3E%3Cline x1="135" y1="85" x2="135" y2="110" stroke="rgba(136,136,136,0.1)" stroke-width="1" stroke-dasharray="3,3"/%3E%3Cline x1="185" y1="135" x2="160" y2="135" stroke="rgba(0,71,171,0.1)" stroke-width="1" stroke-dasharray="3,3"/%3E%3Cline x1="135" y1="185" x2="135" y2="160" stroke="rgba(136,136,136,0.1)" stroke-width="1" stroke-dasharray="3,3"/%3E%3Cline x1="85" y1="135" x2="110" y2="135" stroke="rgba(0,71,171,0.1)" stroke-width="1" stroke-dasharray="3,3"/%3E%3C!-- Unity Symbol --%3E%3Cpath d="M 125 125 L 130 130 L 135 125 L 140 130 L 145 125" stroke="rgba(0,71,171,0.2)" stroke-width="2" fill="none" stroke-linecap="round"/%3E%3C!-- Team Hexagons --%3E%3Cpath d="M 50 50 L 60 45 L 70 50 L 70 60 L 60 65 L 50 60 Z" fill="none" stroke="rgba(136,136,136,0.08)" stroke-width="1"/%3E%3Cpath d="M 200 200 L 210 195 L 220 200 L 220 210 L 210 215 L 200 210 Z" fill="none" stroke="rgba(0,71,171,0.08)" stroke-width="1"/%3E%3C!-- Support Dots --%3E%3Ccircle cx="100" cy="100" r="3" fill="rgba(0,71,171,0.15)"/%3E%3Ccircle cx="170" cy="170" r="3" fill="rgba(136,136,136,0.15)"/%3E%3Ccircle cx="100" cy="170" r="3" fill="rgba(0,71,171,0.15)"/%3E%3Ccircle cx="170" cy="100" r="3" fill="rgba(136,136,136,0.15)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="270" height="270" fill="url(%23core-team)"/%3E%3C/svg%3E');
    background-size: auto, auto, 270px 270px;
    pointer-events: none;
    z-index: 0;
    animation: floatCoreTeamUp 26s linear infinite;
}

.core-team::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 71, 171, 0.03) 0%, transparent 55%);
    animation: deepPulse 13s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.core-team .container {
    position: relative;
    z-index: 1;
}

.core-team h2 {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

/* Team Culture */
.team-culture {
    padding: 4rem 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.team-culture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 40% 35%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 65%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="290" height="290" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="culture" width="290" height="290" patternUnits="userSpaceOnUse"%3E%3C!-- Culture Heart --%3E%3Cpath d="M 145 80 C 145 80, 135 65, 120 65 C 105 65, 95 75, 95 90 C 95 110, 145 140, 145 140 C 145 140, 195 110, 195 90 C 195 75, 185 65, 170 65 C 155 65, 145 80, 145 80 Z" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1.5"/%3E%3C!-- Values Circles --%3E%3Ccircle cx="70" cy="145" r="15" fill="none" stroke="rgba(136,136,136,0.12)" stroke-width="1.5"/%3E%3Ccircle cx="220" cy="145" r="15" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1.5"/%3E%3Ccircle cx="145" cy="210" r="15" fill="none" stroke="rgba(136,136,136,0.12)" stroke-width="1.5"/%3E%3C!-- Connection Lines --%3E%3Cline x1="85" y1="145" x2="130" y2="145" stroke="rgba(136,136,136,0.08)" stroke-width="1" stroke-dasharray="2,2"/%3E%3Cline x1="160" y1="145" x2="205" y2="145" stroke="rgba(0,71,171,0.08)" stroke-width="1" stroke-dasharray="2,2"/%3E%3Cline x1="145" y1="160" x2="145" y2="195" stroke="rgba(136,136,136,0.08)" stroke-width="1" stroke-dasharray="2,2"/%3E%3C!-- People Icons --%3E%3Ccircle cx="70" cy="140" r="4" fill="rgba(136,136,136,0.15)"/%3E%3Cpath d="M 65 148 Q 70 145 75 148" stroke="rgba(136,136,136,0.15)" stroke-width="1.5" fill="none"/%3E%3Ccircle cx="220" cy="140" r="4" fill="rgba(0,71,171,0.15)"/%3E%3Cpath d="M 215 148 Q 220 145 225 148" stroke="rgba(0,71,171,0.15)" stroke-width="1.5" fill="none"/%3E%3C!-- Growth Arrows --%3E%3Cpath d="M 40 240 L 40 220 L 35 225 M 40 220 L 45 225" stroke="rgba(0,71,171,0.12)" stroke-width="1.5" fill="none"/%3E%3Cpath d="M 250 50 L 250 30 L 245 35 M 250 30 L 255 35" stroke="rgba(136,136,136,0.12)" stroke-width="1.5" fill="none"/%3E%3C!-- Culture Sparkles --%3E%3Cpath d="M100 50 L102 56 L108 56 L103 60 L105 66 L100 62 L95 66 L97 60 L92 56 L98 56 Z" fill="rgba(0,71,171,0.1)"/%3E%3Cpath d="M190 240 L192 246 L198 246 L193 250 L195 256 L190 252 L185 256 L187 250 L182 246 L188 246 Z" fill="rgba(136,136,136,0.1)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="290" height="290" fill="url(%23culture)"/%3E%3C/svg%3E');
    background-size: auto, auto, 290px 290px;
    animation: floatTeamCultureUp 24s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.team-culture::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 125%;
    height: 125%;
    background: radial-gradient(circle at 45% 55%, rgba(0, 71, 171, 0.04) 0%, transparent 65%);
    animation: deepPulse 14s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.team-culture .container {
    position: relative;
    z-index: 1;
}

.culture-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.culture-content h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.culture-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.culture-values {
    display: none; /* Hidden as requested */
}

.culture-value {
    text-align: center;
    padding: 2rem;
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, #0047AB, #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.culture-icon i {
    font-size: 2rem;
    color: var(--white);
}

.culture-value h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.culture-value p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Join Team CTA */
.join-team-cta {
    background: #0f0f0f;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-team-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="200" height="200" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="cta-grid" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Cpath d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(0,71,171,0.03)" stroke-width="0.5" fill="none"/%3E%3Ccircle cx="25" cy="25" r="2" fill="rgba(0,71,171,0.1)"/%3E%3Ccircle cx="75" cy="75" r="2" fill="rgba(136,136,136,0.1)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="200" height="200" fill="url(%23cta-grid)"/%3E%3C/svg%3E');
    background-size: auto, auto, 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.join-team-cta .cta-content {
    position: relative;
    z-index: 1;
}

.join-team-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), rgba(136, 136, 136, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-team-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-team-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Team Page Responsive */
@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-content h2,
    .leadership-team h2,
    .core-team h2,
    .culture-content h2,
    .join-team-cta h2 {
        font-size: 2rem;
    }
    
    .culture-values {
        grid-template-columns: 1fr;
    }
    
    .join-team-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Our Work Styles */
.our-work {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
}

.our-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 35% 25%, rgba(0, 71, 171, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 65% 75%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,%3Csvg width="260" height="260" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="client-deals" width="260" height="260" patternUnits="userSpaceOnUse"%3E%3C!-- Client Connection Nodes --%3E%3Ccircle cx="50" cy="50" r="8" fill="none" stroke="rgba(0,71,171,0.15)" stroke-width="2"/%3E%3Ccircle cx="210" cy="210" r="8" fill="none" stroke="rgba(136,136,136,0.15)" stroke-width="2"/%3E%3Ccircle cx="130" cy="130" r="10" fill="rgba(0,71,171,0.05)" stroke="rgba(0,71,171,0.15)" stroke-width="2"/%3E%3C!-- Partnership Lines --%3E%3Cline x1="58" y1="50" x2="122" y2="130" stroke="rgba(0,71,171,0.1)" stroke-width="1.5"/%3E%3Cline x1="138" y1="130" x2="202" y2="210" stroke="rgba(136,136,136,0.1)" stroke-width="1.5"/%3E%3C!-- Deal Handshake Symbol --%3E%3Crect x="40" y="180" width="20" height="30" fill="none" stroke="rgba(0,71,171,0.12)" stroke-width="1.5\" rx="2"/%3E%3Crect x="56" y="180" width="20" height="30" fill="none" stroke="rgba(136,136,136,0.12)" stroke-width="1.5\" rx="2"/%3E%3C!-- Success Stars --%3E%3Cpath d="M180 60 L183 68 L191 68 L185 73 L187 81 L180 76 L173 81 L175 73 L169 68 L177 68 Z" fill="rgba(0,71,171,0.1)"/%3E%3Cpath d="M90 200 L93 208 L101 208 L95 213 L97 221 L90 216 L83 221 L85 213 L79 208 L87 208 Z" fill="rgba(136,136,136,0.1)"/%3E%3C!-- Satisfaction Checkmarks --%3E%3Cpath d="M 200 100 L 205 105 L 215 90" stroke="rgba(0,71,171,0.15)" stroke-width="2" fill="none" stroke-linecap="round"/%3E%3Cpath d="M 60 150 L 65 155 L 75 140" stroke="rgba(136,136,136,0.15)" stroke-width="2" fill="none" stroke-linecap="round"/%3E%3C!-- Client Dots --%3E%3Ccircle cx="100" cy="80" r="2.5" fill="rgba(0,71,171,0.2)"/%3E%3Ccircle cx="160" cy="180" r="2.5" fill="rgba(136,136,136,0.2)"/%3E%3Ccircle cx="220" cy="120" r="2.5" fill="rgba(0,71,171,0.2)"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="260" height="260" fill="url(%23client-deals)"/%3E%3C/svg%3E');
    background-size: auto, auto, 260px 260px;
    pointer-events: none;
    z-index: 0;
    animation: floatOurWorkUp 27s linear infinite;
}

.our-work::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 40% 60%, rgba(0, 71, 171, 0.04) 0%, transparent 50%);
    animation: deepPulse 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.our-work .container {
    position: relative;
    z-index: 1;
}

.industry-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 60px;
}

.industry-btn {
    background: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 71, 171, 0.3);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 120px;
    text-align: center;
}

.industry-btn:hover,
.industry-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.5), 0 0 20px rgba(0, 71, 171, 0.3);
    border-color: var(--primary-color);
}

.work-content {
    position: relative;
}

.industry-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-section.active {
    display: block;
    opacity: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.work-card {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 71, 171, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-deep), 0 0 30px rgba(0, 71, 171, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 71, 171, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.work-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-deep), var(--shadow-glow), 0 20px 60px rgba(0, 71, 171, 0.2);
}

.work-card:hover::before {
    opacity: 1;
}

.work-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.9) 0%, rgba(136, 136, 136, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-overlay i {
    color: #ffffff;
    font-size: 24px;
}

.work-info {
    padding: 25px 20px;
    position: relative;
    z-index: 1;
}

.work-info h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
}

.work-info p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design for Our Work */
@media (max-width: 768px) {
    .industry-filter {
        gap: 10px;
        margin: 30px 0 40px;
    }
    
    .industry-btn {
        padding: 10px 18px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .work-image {
        height: 180px;
    }
    
    .work-info {
        padding: 20px 15px;
    }
    
    .work-info h4 {
        font-size: 16px;
    }
    
    .work-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .industry-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .industry-btn {
        width: 200px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* RTL Support for Our Work */
[dir="rtl"] .industry-filter {
    direction: rtl;
}

[dir="rtl"] .work-info {
    text-align: right;
}

/* ========================================
   ANIMATIONS & MOTION EFFECTS
   ======================================== */

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

/* Stagger animation delays for grid items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

/* Enhanced Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Card Hover Effects - Deep & Premium */
.service-card,
.team-member,
.client-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::after,
.team-member::after,
.client-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 71, 171, 0.03) 50%, 
        transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.service-card:hover::after,
.team-member:hover::after,
.client-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Shine Effect for 3D Cards */
.shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .shine,
.team-member:hover .shine,
.client-card:hover .shine {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.client-card:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Icon Animations */
.service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
}

.service-card:hover .service-icon i {
    animation: pulse 1s infinite;
}

/* Hero Section Enhanced Animations */
.hero-title {
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
    animation: scaleIn 1.2s ease-out 0.3s both;
}

.hero-logo img {
    animation: float 3s ease-in-out infinite;
}

/* Stat Counter Animation */
.stat-item h4 {
    transition: all 0.3s ease;
}

.stat-item:hover h4 {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Enhanced Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Loading Spinner */
.spinner {
    animation: rotate 1s linear infinite;
}

/* Parallax Effect */
.parallax {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img-placeholder,
.member-image img,
.client-logo img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img-placeholder:hover,
.member-image:hover img {
    transform: scale(1.05) rotate(2deg);
}

.client-logo img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Section Headers Animation */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Fade-in on load */
body {
    animation: fadeIn 0.5s ease-in;
}

/* Text Gradient Animation */
.gradient-text {
    background: linear-gradient(270deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile Animation Adjustments */
@media (max-width: 768px) {
    /* Reduce motion for better mobile performance */
    .animate-on-scroll {
        transition: all 0.5s ease;
    }
    
    .service-card:hover,
    .team-member:hover,
    .client-card:hover {
        transform: translateY(-5px);
    }
    
    .hero-logo img {
        animation: none;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   3D EFFECTS & DEPTH
   ======================================== */

/* Global 3D Perspective Container */
.container,
.hero-container,
.services-grid,
.team-grid,
.clients-scroll {
    perspective: 1500px;
    transform-style: preserve-3d;
}

/* 3D Card Effects */
.service-card,
.team-member,
.client-card {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(29, 84, 125, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.team-member:hover {
    transform: translateY(-15px) rotateX(8deg) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(29, 84, 125, 0.2);
}

.client-card:hover {
    transform: translateZ(50px) rotateY(10deg) rotateX(-5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(29, 84, 125, 0.25);
}

/* 3D Button Effects */
.btn {
    transform-style: preserve-3d;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    transform: translateZ(-1px);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-5px) translateZ(20px) rotateX(10deg);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(29, 84, 125, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 
        0 15px 35px rgba(29, 84, 125, 0.4),
        0 5px 15px rgba(29, 84, 125, 0.6),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

/* 3D Icon Effects */
.service-icon {
    transform-style: preserve-3d;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(29, 84, 125, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) translateZ(-10px);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.3) rotateY(360deg) translateZ(30px);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    transform: translate(-50%, -50%) translateZ(-10px) scale(1.5);
}

.service-icon i {
    display: block;
    transform: translateZ(20px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* 3D Hero Logo */
.hero-logo {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-logo img {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: 
        drop-shadow(0 20px 60px rgba(0, 0, 0, 0.9)) 
        drop-shadow(0 0 40px rgba(0, 71, 171, 0.4));
    animation: float3D 4s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-20px) rotateX(5deg) rotateY(-10deg);
    }
    50% {
        transform: translateY(-30px) rotateX(-5deg) rotateY(10deg);
    }
    75% {
        transform: translateY(-20px) rotateX(5deg) rotateY(-10deg);
    }
}

.hero-logo:hover img {
    transform: scale(1.1) rotateX(15deg) rotateY(15deg) translateZ(50px);
    filter: 
        drop-shadow(0 40px 80px rgba(0, 0, 0, 0.95)) 
        drop-shadow(0 0 60px rgba(0, 71, 171, 0.6))
        drop-shadow(0 0 80px rgba(136, 136, 136, 0.4));
}

/* 3D Text Effects */
.hero-title {
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 0 rgba(0, 0, 0, 0.2),
        0 5px 10px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.4);
    transform: translateZ(30px);
}

.section-title {
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.section-header:hover .section-title {
    transform: translateZ(20px) scale(1.02);
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(29, 84, 125, 0.2);
}

/* 3D Member Photo */
.member-image {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.member-photo {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.team-member:hover .member-photo {
    transform: rotateY(10deg) rotateX(-5deg) translateZ(30px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(29, 84, 125, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* 3D Member Overlay */
.member-overlay {
    transform: translateZ(40px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-member:hover .member-overlay {
    transform: translateZ(60px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 3D Client Logo */
.client-logo {
    transform-style: preserve-3d;
    perspective: 800px;
}

.client-logo img {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.client-card:hover .client-logo img {
    transform: rotateY(360deg) translateZ(20px) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(29, 84, 125, 0.4);
}

/* 3D Stats */
.stat-item {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item:hover {
    transform: translateZ(30px) rotateX(10deg);
}

.stat-item h4 {
    transform: translateZ(20px);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(29, 84, 125, 0.3);
}

.stat-item:hover h4 {
    transform: translateZ(40px) scale(1.3);
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(29, 84, 125, 0.4),
        0 0 30px rgba(29, 84, 125, 0.6);
}

/* 3D Navigation */
.navbar {
    transform-style: preserve-3d;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.nav-link {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link:hover {
    transform: translateY(-3px) translateZ(10px);
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* 3D Logo */
.logo {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(0, 71, 171, 0.3));
}

.logo:hover {
    transform: rotateY(360deg) scale(1.1) translateZ(10px);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(0, 71, 171, 0.6));
}

/* 3D Scroll Buttons */
.scroll-btn {
    transform-style: preserve-3d;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-btn:hover {
    transform: scale(1.1) translateZ(20px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(29, 84, 125, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.scroll-btn:active {
    transform: scale(0.95) translateZ(5px);
}

/* 3D Language Toggle */
.language-toggle button {
    transform-style: preserve-3d;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.language-toggle button:hover {
    transform: translateY(-5px) rotateX(10deg) scale(1.1);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(29, 84, 125, 0.4),
        inset 0 -3px 8px rgba(0, 0, 0, 0.15);
}

/* 3D About Image */
.about-img-placeholder {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.about-img-placeholder:hover {
    transform: rotateY(15deg) rotateX(-10deg) translateZ(40px) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(29, 84, 125, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.about-img-placeholder i {
    transform: translateZ(30px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.about-img-placeholder:hover i {
    transform: translateZ(50px) scale(1.2) rotateY(360deg);
}

/* 3D Layered Depth Effect */
.hero-content {
    transform-style: preserve-3d;
}

.hero-content > * {
    transform: translateZ(10px);
}

.hero-buttons {
    transform: translateZ(30px);
}

/* Glass Morphism with 3D */
.glass-3d {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

/* Mobile 3D Adjustments */
@media (max-width: 768px) {
    .service-card:hover,
    .team-member:hover,
    .client-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .btn:hover {
        transform: translateY(-3px) scale(1.02);
    }
    
    .hero-logo img {
        animation: none;
    }
}

/* Disable 3D for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transform: none !important;
        animation: none !important;
    }
}

/* Stable CTA button hover (prevent vibration from global 3D button effects) */
.cta-buttons .btn {
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
}

.cta-buttons .btn:active {
    transform: translateY(0);
}

.cta-buttons .btn:hover::before {
    width: 0;
    height: 0;
}

/* 3D Flip Card (Optional) */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Glowing Edges Effect */
.glow-3d {
    box-shadow: 
        0 0 10px rgba(29, 84, 125, 0.3),
        0 0 20px rgba(29, 84, 125, 0.2),
        0 0 30px rgba(29, 84, 125, 0.1);
}

.glow-3d:hover {
    box-shadow: 
        0 0 20px rgba(29, 84, 125, 0.5),
        0 0 40px rgba(29, 84, 125, 0.4),
        0 0 60px rgba(29, 84, 125, 0.3),
        0 0 80px rgba(29, 84, 125, 0.2);
}

/* Float animations for page-specific sections */
@keyframes floatLeadershipUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -280px;
    }
}

@keyframes floatCoreTeamUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -270px;
    }
}

@keyframes floatOurWorkUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -260px;
    }
}

@keyframes floatPageHeaderUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -200px;
    }
}

@keyframes floatDetailedServicesUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -220px;
    }
}
@keyframes floatSocialContactUp {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 0, 0 -240px;
    }
}

@keyframes floatContactInfoUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -220px;
    }
}

@keyframes floatTeamCultureUp {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 0 -290px;
    }
}

/* Mobile fix: make Services header background fill without blank/cropped-looking area */
@media (max-width: 768px) {
    .page-header.page-header-services,
    .page-header.page-header-clients,
    .page-header.page-header-team,
    .page-header.page-header-contact,
    .page-header.page-header-about {
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .page-header.page-header-services,
    .page-header.page-header-clients,
    .page-header.page-header-team,
    .page-header.page-header-contact,
    .page-header.page-header-about {
        min-height: 52vh;
    }
}

/* Mobile fix: use dedicated hero mobile background like other pages */
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 1)), url('Images/hero-bg2.jpg') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        min-height: 80vh;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }
}