/* =============================================
   BEEC - Built Environment Engineering Consultancy
   Professional Website Stylesheet
   ============================================= */

/* =============================================
   CSS Variables & Reset
   ============================================= */
:root {
    /* Primary Colors */
    --primary-color: #0F172A;
    --primary-light: #1E293B;
    --primary-dark: #020617;
    
    /* Accent Colors */
    --accent-color: #EAB308;
    --accent-light: #FDE047;
    --accent-dark: #CA8A04;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* =============================================
   Animated Background Objects
   ============================================= */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.building-object {
    position: absolute;
    opacity: 0.08;
    fill: #E2E8F0;
}

.building-1 {
    width: 80px;
    height: 120px;
    bottom: 50px;
    left: -100px;
    animation: moveBuilding1 25s linear infinite;
}

.building-2 {
    width: 60px;
    height: 180px;
    bottom: 60px;
    left: -80px;
    animation: moveBuilding2 30s linear infinite;
    animation-delay: -5s;
}

.building-3 {
    width: 100px;
    height: 90px;
    bottom: 55px;
    left: -120px;
    animation: moveBuilding3 22s linear infinite;
    animation-delay: -10s;
}

.building-4 {
    width: 70px;
    height: 140px;
    bottom: 65px;
    left: -90px;
    animation: moveBuilding4 28s linear infinite;
    animation-delay: -8s;
}

.building-5 {
    width: 90px;
    height: 110px;
    bottom: 52px;
    left: -110px;
    animation: moveBuilding5 26s linear infinite;
    animation-delay: -15s;
}

.building-6 {
    width: 55px;
    height: 160px;
    bottom: 58px;
    left: -70px;
    animation: moveBuilding6 32s linear infinite;
    animation-delay: -12s;
}

.building-7 {
    width: 85px;
    height: 130px;
    bottom: 48px;
    left: -105px;
    animation: moveBuilding7 27s linear infinite;
    animation-delay: -3s;
}

.building-8 {
    width: 65px;
    height: 100px;
    bottom: 62px;
    left: -85px;
    animation: moveBuilding8 24s linear infinite;
    animation-delay: -7s;
}

@keyframes moveBuilding1 {
    0% { left: -100px; }
    100% { left: 100%; }
}

@keyframes moveBuilding2 {
    0% { left: -80px; }
    100% { left: 100%; }
}

@keyframes moveBuilding3 {
    0% { left: -120px; }
    100% { left: 100%; }
}

@keyframes moveBuilding4 {
    0% { left: -90px; }
    100% { left: 100%; }
}

@keyframes moveBuilding5 {
    0% { left: -110px; }
    100% { left: 100%; }
}

@keyframes moveBuilding6 {
    0% { left: -70px; }
    100% { left: 100%; }
}

@keyframes moveBuilding7 {
    0% { left: -105px; }
    100% { left: 100%; }
}

@keyframes moveBuilding8 {
    0% { left: -85px; }
    100% { left: 100%; }
}

/* Crane animation */
.crane {
    position: absolute;
    opacity: 0.06;
    fill: #E2E8F0;
    bottom: 100px;
}

.crane-1 {
    width: 120px;
    height: 200px;
    right: -150px;
    animation: moveCrane1 35s linear infinite;
}

.crane-2 {
    width: 100px;
    height: 160px;
    right: -130px;
    animation: moveCrane2 40s linear infinite;
    animation-delay: -10s;
}

@keyframes moveCrane1 {
    0% { right: -150px; }
    100% { right: 100%; }
}

@keyframes moveCrane2 {
    0% { right: -130px; }
    100% { right: 100%; }
}

/* Crane arm swing animation */
.crane-arm {
    transform-origin: 50% 85%;
    animation: swingArm 4s ease-in-out infinite alternate;
}

@keyframes swingArm {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

/* Construction equipment */
.equipment {
    position: absolute;
    opacity: 0.05;
    fill: #E2E8F0;
}

.excavator {
    width: 60px;
    height: 40px;
    bottom: 45px;
    animation: moveEquipment1 20s linear infinite;
}

.dump-truck {
    width: 70px;
    height: 35px;
    bottom: 42px;
    animation: moveEquipment2 22s linear infinite;
    animation-delay: -5s;
}

@keyframes moveEquipment1 {
    0% { left: -80px; }
    100% { left: 100%; }
}

@keyframes moveEquipment2 {
    0% { left: -90px; }
    100% { left: 100%; }
}

/* Clouds/atmospheric elements */
.cloud {
    position: absolute;
    opacity: 0.03;
    fill: #E2E8F0;
}

.cloud-1 {
    width: 150px;
    height: 50px;
    top: 80px;
    animation: moveCloud1 45s linear infinite;
}

.cloud-2 {
    width: 120px;
    height: 40px;
    top: 120px;
    animation: moveCloud2 50s linear infinite;
    animation-delay: -15s;
}

.cloud-3 {
    width: 180px;
    height: 60px;
    top: 60px;
    animation: moveCloud3 55s linear infinite;
    animation-delay: -25s;
}

@keyframes moveCloud1 {
    0% { left: -200px; }
    100% { left: 100%; }
}

@keyframes moveCloud2 {
    0% { left: -180px; }
    100% { left: 100%; }
}

@keyframes moveCloud3 {
    0% { left: -220px; }
    100% { left: 100%; }
}

/* City silhouette background */
.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    opacity: 0.05;
    fill: #E2E8F0;
    animation: skylineScroll 60s linear infinite;
}

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

/* Pipes and infrastructure */
.pipe {
    position: absolute;
    opacity: 0.04;
    stroke: #E2E8F0;
    stroke-width: 8;
    fill: none;
}

.pipe-1 {
    width: 200px;
    height: 20px;
    bottom: 200px;
    animation: movePipe1 35s linear infinite;
}

.pipe-2 {
    width: 150px;
    height: 15px;
    bottom: 180px;
    animation: movePipe2 30s linear infinite;
    animation-delay: -10s;
}

@keyframes movePipe1 {
    0% { left: -250px; }
    100% { left: 100%; }
}

@keyframes movePipe2 {
    0% { left: -200px; }
    100% { left: 100%; }
}

/* Grid pattern overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(226, 232, 240, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

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

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

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* =============================================
   Utility Classes
   ============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    background: rgba(234, 179, 8, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

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

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-dark);
    border: 2px solid var(--accent-color);
}

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

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

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

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

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* =============================================
   Top Bar
   ============================================= */
.top-bar {
    background: var(--primary-color);
    padding: 10px 0;
    font-size: 0.8125rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    gap: 30px;
    color: var(--gray-300);
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info .icon-phone,
.contact-info .icon-email {
    font-style: normal;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-links a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.top-bar-links a:hover {
    color: var(--accent-color);
}

.top-bar-links .separator {
    color: var(--gray-600);
}

/* =============================================
   Header & Navigation
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 10px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 100px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

.logo-text-full {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 200px;
}

.logo-alt {
    height: 160px;
}

.logo-main {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo-icon svg {
    width: 50px;
    height: 50px;
}

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

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.logo-sub {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-700);
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

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

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    padding: 15px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

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

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

.dropdown-menu li a:hover {
    background: var(--gray-100);
    color: var(--accent-color);
    padding-left: 25px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

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

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(234, 179, 8, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* =============================================
   Trust Badges
   ============================================= */
.trust-badges {
    background: var(--off-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.trust-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-logo {
    opacity: 0.6;
    transition: opacity var(--transition-normal);
}

.trust-logo:hover {
    opacity: 1;
}

.trust-logo svg {
    height: 50px;
    width: auto;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-color);
    transition: height var(--transition-normal);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    transition: color var(--transition-fast);
}

.service-card:hover .service-title {
    color: var(--accent-color);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    margin-bottom: 25px;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.service-link:hover {
    color: var(--accent-dark);
    transform: translateX(5px);
}

.services-cta {
    text-align: center;
    padding: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.services-cta p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* =============================================
   Projects Section
   ============================================= */
.projects {
    padding: var(--section-padding);
    background: var(--off-white);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    transition: all var(--transition-normal);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

.project-card.hidden {
    display: none;
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
}

.project-placeholder svg {
    width: 100%;
    height: 100%;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.project-link {
    padding: 12px 25px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.project-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.project-info {
    padding: 25px;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    background: rgba(234, 179, 8, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.project-location {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.project-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.projects-more {
    text-align: center;
    margin-top: 50px;
}

/* =============================================
   About Section
   ============================================= */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 15px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin: 40px 0;
}

.about-feature {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.about-feature:last-child {
    border-bottom: none;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat-card {
    background: var(--primary-color);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    margin-bottom: 20px;
}

.stat-icon svg {
    width: 50px;
    height: 50px;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
}

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

/* =============================================
   Insights Section
   ============================================= */
.insights {
    padding: var(--section-padding);
    background: var(--off-white);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

.insight-image {
    position: relative;
    height: 180px;
}

.insight-placeholder {
    width: 100%;
    height: 100%;
}

.insight-placeholder svg {
    width: 100%;
    height: 100%;
}

.insight-category {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    background: var(--accent-color);
    padding: 6px 14px;
    border-radius: 50px;
}

.insight-content {
    padding: 25px;
}

.insight-date {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 10px;
    display: block;
}

.insight-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.insight-card:hover .insight-title {
    color: var(--accent-color);
}

.insight-excerpt {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 15px;
}

.insight-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.insight-link:hover {
    color: var(--accent-dark);
}

.insights-more {
    text-align: center;
    margin-top: 50px;
}

/* =============================================
   Specialized Courses Section
   ============================================= */
.specialized-courses {
    padding: var(--section-padding);
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.course-card {
    background: var(--gray-100);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.course-card:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.course-card:hover h4,
.course-card:hover p {
    color: var(--white);
}

.course-card .course-icon {
    margin-bottom: 20px;
}

.course-card .course-icon svg {
    width: 40px;
    height: 40px;
}

.course-card h4 {
    font-size: 0.9375rem;
    margin-bottom: 10px;
    transition: color var(--transition-normal);
}

.course-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0;
    line-height: 1.5;
    transition: color var(--transition-normal);
}

/* =============================================
   Clients Section
   ============================================= */
.clients-section {
    padding: var(--section-padding);
    background: var(--off-white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.client-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.client-icon {
    margin-bottom: 20px;
}

.client-icon svg {
    width: 80px;
    height: 50px;
}

.client-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 0;
    font-weight: 500;
}

/* =============================================
   Testimonials Section
   ============================================= */
.testimonials {
    padding: var(--section-padding);
    background: var(--primary-color);
}

.testimonials .section-tag {
    background: rgba(234, 179, 8, 0.2);
    color: var(--accent-color);
}

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

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

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

.testimonial-content {
    margin-bottom: 30px;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    opacity: 0.3;
    margin-bottom: -20px;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--gray-200);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
}

.author-avatar svg {
    width: 100%;
    height: 100%;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot:hover,
.dot.active {
    background: var(--accent-color);
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.cta-section .btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* =============================================
   Contact Section
   ============================================= */
.contact {
    padding: var(--section-padding);
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-main {
    text-align: left;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header .section-tag {
    margin-bottom: 15px;
}

.contact-header .section-title {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.25rem;
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0;
    text-align: justify;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    margin-bottom: 15px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-content h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.card-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 5px;
    text-align: justify;
}

.card-text:last-child {
    margin-bottom: 0;
}

.contact-social {
    text-align: left;
}

.contact-social h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form {
    text-align: left;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 35px;
    text-align: center;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.9375rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}
    margin-top: 20px;
    margin-bottom: 0;
}

/* =============================================
   Map Section
   ============================================= */
.map-section {
    background: var(--primary-dark);
}

.map-placeholder {
    width: 100%;
    height: 400px;
}

.map-placeholder svg {
    width: 100%;
    height: 100%;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 30px;
    color: var(--gray-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .logo {
    margin-bottom: 25px;
}

.footer-about .logo-image {
    height: 160px;
}

.footer-about p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    background: rgba(234, 179, 8, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.newsletter-signup h5 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.9375rem;
    border: 2px solid var(--gray-600);
    border-radius: var(--radius-md);
    background: var(--primary-color);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form .btn {
    padding: 12px 20px;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-700);
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* =============================================
   Responsive Design
   ============================================= */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Standard Desktop (1200px - 1399px) */
@media (max-width: 1199px) {
    .container {
        max-width: 1140px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet Landscape & Small Desktop (992px - 1199px) */
@media (max-width: 991px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 35px 40px;
        gap: 15px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        display: none;
        background: var(--gray-100);
        border-radius: var(--radius-md);
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-logos {
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .header {
        padding: 0;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .logo-image {
        height: 60px;
        max-width: 180px;
    }
    
    .logo-text-full {
        display: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-card .stat-value {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-about .logo-image {
        height: 100px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .courses-cta {
        padding: 40px 30px;
    }
    
    .courses-cta h3 {
        font-size: 1.25rem;
    }
}

/* Large Mobile (576px - 767px) */
@media (max-width: 575px) {
    .container {
        padding: 0 20px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-content {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item {
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .trust-title {
        font-size: 0.75rem;
    }
    
    .trust-logos {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        margin-bottom: 20px;
    }
    
    .service-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .service-title {
        font-size: 1.125rem;
    }
    
    .service-description {
        font-size: 0.875rem;
    }
    
    .service-list li {
        font-size: 0.8125rem;
        padding: 6px 0;
        padding-left: 18px;
    }
    
    .about-content .section-title {
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 0.9375rem;
    }
    
    .about-feature {
        padding: 15px 0;
    }
    
    .feature-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .stat-card .stat-value {
        font-size: 1.75rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .course-card {
        padding: 25px 20px;
    }
    
    .course-card .course-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .course-card h4 {
        font-size: 0.875rem;
    }
    
    .course-card p {
        font-size: 0.75rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-card {
        padding: 25px 15px;
    }
    
    .client-icon svg {
        width: 60px;
        height: 40px;
    }
    
    .client-card p {
        font-size: 0.8125rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .contact-header .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.875rem;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.9375rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    .footer-bottom p {
        font-size: 0.8125rem;
    }
}

/* Small Mobile (425px - 575px) */
@media (max-width: 424px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }
    
    .logo-image {
        height: 50px;
        max-width: 140px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.875rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        text-align: center;
    }
    
    .stat-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .courses-cta h3 {
        font-size: 1.125rem;
    }
    
    .courses-cta p {
        font-size: 0.875rem;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .card-content h4 {
        font-size: 0.9375rem;
    }
    
    .card-text {
        font-size: 0.8125rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-contact-item {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .footer-contact-item svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra Small Mobile (374px and below) */
@media (max-width: 373px) {
    .container {
        padding: 0 12px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-cta .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .course-card {
        padding: 20px 15px;
    }
    
    .client-card {
        padding: 20px 12px;
    }
    
    .client-icon svg {
        width: 50px;
        height: 35px;
    }
    
    .client-card p {
        font-size: 0.75rem;
    }
    
    .testimonial-content {
        margin-bottom: 20px;
    }
    
    .quote-icon {
        font-size: 4rem;
    }
    
    .testimonial-text {
        font-size: 0.9375rem;
    }
    
    .author-info h4 {
        font-size: 0.9375rem;
    }
    
    .author-info p {
        font-size: 0.8125rem;
    }
    
    .cta-content h2 {
        font-size: 1.25rem;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .badge {
        font-size: 0.6875rem;
        padding: 5px 10px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-text {
        margin-bottom: 30px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* High DPI / Retina display adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
    }
    
    .service-icon svg,
    .course-icon svg,
    .client-icon svg {
        vector-effect: non-scaling-stroke;
    }
}

/* =============================================
   Animations & Effects
   ============================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Selection */
::selection {
    background: var(--accent-color);
    color: var(--primary-dark);
}
