:root {
    --primary: #0a1128;
    --primary-dark: #050814;
    --primary-light: #1c2541;
    --secondary: #c9952e;
    --secondary-light: #e5b95c;
    --secondary-glow: rgba(201, 149, 46, 0.4);
    --accent: #ff9f1c;
    --bg-light: #f8fafd;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --border-color: rgba(201, 149, 46, 0.15);
    --border-light: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 4px 15px rgba(10, 17, 40, 0.05);
    --shadow: 0 10px 30px rgba(10, 17, 40, 0.08);
    --shadow-hover: 0 20px 45px rgba(10, 17, 40, 0.14);
    --shadow-glow: 0 0 25px rgba(201, 149, 46, 0.25);
    --radius-lg: 20px;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.8;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0a1128;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary), var(--secondary-light));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-light);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary-light));
    z-index: 10001;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--secondary-glow);
}

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

ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
    position: relative;
}

/* Section Title with Animated Underline */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(201, 149, 46, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(201, 149, 46, 0.25);
    letter-spacing: 0.5px;
}

.section-title h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    margin: 12px auto 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--secondary-glow);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Buttons with Rich Motion */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: 0.6s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #b88628 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(201, 149, 46, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(201, 149, 46, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 17, 40, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 149, 46, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.navbar .logo > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.navbar .logo .logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px var(--secondary-glow);
    animation: pulse-glow 3s infinite;
    flex-shrink: 0;
}

.navbar .logo {
    gap: 5px;
}

.navbar .logo .logo-name {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.navbar .logo span {
    color: var(--secondary-light);
    font-weight: 600;
    font-size: 0.7rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(201, 149, 46, 0.2);
    border: 1px solid rgba(201, 149, 46, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 6px;
    z-index: 10001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* ===== HERO SECTION WITH CANVAS & ANIMATION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, #1c2541 0%, #0a1128 60%, #050814 100%);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Canvas Blueprint Background */
#blueprintCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

/* Ambient Glowing Orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}
.ambient-orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: -50px;
    right: 5%;
    animation: orb-float 10s ease-in-out infinite alternate;
}
.ambient-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3a86ff 0%, transparent 70%);
    bottom: -50px;
    left: 5%;
    animation: orb-float 12s ease-in-out infinite alternate-reverse;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.15); }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1.2;
    max-width: 640px;
}

.hero-badge-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(201, 149, 46, 0.15);
    border: 1px solid rgba(201, 149, 46, 0.4);
    border-radius: 50px;
    color: var(--secondary-light);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.live-beacon {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}
.live-beacon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    animation: beacon-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beacon-pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-wrapper {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    white-space: nowrap;
}

.typed-text {
    color: var(--secondary-light);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

.cursor-blink {
    color: var(--secondary);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content p.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.12rem;
    margin-bottom: 35px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Image & 3D Floating Badges */
.hero-image-wrapper {
    flex: 1;
    max-width: 460px;
    position: relative;
    perspective: 1000px;
}

.hero-image-card {
    position: relative;
    width: 100%;
    padding-bottom: 110%;
    border-radius: 32px;
    overflow: hidden;
    border: 3px solid rgba(201, 149, 46, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 149, 46, 0.2);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.hero-image-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-card:hover img {
    transform: scale(1.06);
}

.hero-image-card .img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1c2541, #0a1128);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

/* Floating Architectural Badges */
.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 149, 46, 0.4);
    border-radius: 18px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    z-index: 5;
    transition: var(--transition);
}

.floating-badge:hover {
    transform: scale(1.06) !important;
    border-color: var(--secondary);
    background: rgba(10, 17, 40, 0.95);
}

.floating-badge .badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.floating-badge .badge-text h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.floating-badge .badge-text p {
    font-size: 0.75rem;
    color: var(--secondary-light);
    margin: 0;
    font-weight: 600;
}

.badge-exp {
    top: -20px;
    right: -25px;
    animation: float-y-1 6s ease-in-out infinite;
}

.badge-cert {
    bottom: -20px;
    left: -25px;
    animation: float-y-2 7s ease-in-out infinite;
}

@keyframes float-y-1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes float-y-2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* ===== STATS COUNTER RIBBON ===== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    margin-bottom: 40px;
}

.stats-card {
    background: var(--white);
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 20px 50px rgba(10, 17, 40, 0.1);
    border: 1px solid rgba(201, 149, 46, 0.2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary-light));
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201, 149, 46, 0.12), rgba(201, 149, 46, 0.04));
    border: 1px solid rgba(201, 149, 46, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--secondary);
    color: var(--white);
    transform: rotateY(180deg);
}

.stat-info .stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    font-family: 'Cairo', sans-serif;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--white);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.about-image-inner {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid rgba(201, 149, 46, 0.2);
    position: relative;
}

.about-image-inner img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-inner:hover img {
    transform: scale(1.04);
}

.about-text {
    flex: 1.4;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 2;
    margin-bottom: 25px;
}

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

.about-info .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.about-info .info-item:hover {
    border-color: var(--secondary);
    transform: translateX(-4px);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.about-info .info-item .icon {
    font-size: 1.4rem;
    color: var(--secondary);
}

/* ===== WHY CHOOSE US / FEATURES SECTION ===== */
.why-us-section {
    background: linear-gradient(180deg, #f8fafd 0%, #edf2f7 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
    transition: width 0.35s ease;
    z-index: 0;
}

.feature-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(201, 149, 46, 0.4);
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201, 149, 46, 0.15), rgba(201, 149, 46, 0.05));
    border: 1px solid rgba(201, 149, 46, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 22px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.1) rotate(6deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 149, 46, 0.3);
}

.service-card .service-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(201, 149, 46, 0.12), rgba(201, 149, 46, 0.03));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--secondary);
    transition: var(--transition);
    border: 1px solid rgba(201, 149, 46, 0.2);
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: 0 8px 25px var(--secondary-glow);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-card .service-btn {
    display: inline-block;
    margin-top: 22px;
    padding: 10px 24px;
    background: rgba(201, 149, 46, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(201, 149, 46, 0.3);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.service-card:hover .service-btn {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== CERTIFICATES SECTION ===== */
.certificates {
    background: #fdfdfd;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.cert-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(201, 149, 46, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 35, 126, 0.12);
    border-color: var(--secondary);
}

.cert-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cert-seal {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 149, 46, 0.15), rgba(201, 149, 46, 0.05));
    border: 1px solid rgba(201, 149, 46, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    transition: var(--transition);
}

.cert-card:hover .cert-seal {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.08) rotate(6deg);
}

.cert-issuer-badge {
    padding: 6px 14px;
    background: rgba(26, 35, 126, 0.06);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(26, 35, 126, 0.1);
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cert-title {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.cert-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.cert-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 6px;
}

.cert-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.cert-media-preview {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 160px;
    background: #f8f9fa;
    border: 1px solid #eee;
    cursor: pointer;
}

.cert-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cert-card:hover .cert-media-preview img {
    transform: scale(1.05);
}

.cert-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 17, 40, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 6px;
}

.cert-media-preview:hover .cert-preview-overlay {
    opacity: 1;
}

.cert-pdf-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #c62828;
    background: #fff5f5;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cert-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.btn-cert-view {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cert-view:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-cert-verify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(201, 149, 46, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(201, 149, 46, 0.3);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cert-verify:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== PROJECTS SECTION WITH FILTER TABS ===== */
.projects {
    background: var(--white);
}

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

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 149, 46, 0.3);
}

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

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-card .project-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    color: #999;
    font-size: 3.5rem;
}

.project-card .project-type {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project-card .project-body {
    padding: 26px;
}

.project-card .project-body h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.project-card .project-body .location {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.project-card .project-body .location svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
}

.project-card .project-body .desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card .project-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.project-card:hover .project-link-badge {
    transform: translateX(-5px);
    color: var(--secondary-light);
}

/* ===== REVIEWS SECTION ===== */
.reviews {
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    color: rgba(201, 149, 46, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 149, 46, 0.3);
}

.review-stars {
    margin-bottom: 16px;
    direction: ltr;
}

.review-stars .star {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin: 0 2px;
}

.review-stars .star.active {
    color: var(--secondary);
}

.review-comment {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 22px;
    font-style: italic;
}

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

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 12px var(--secondary-glow);
}

.review-author span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

/* ===== COURSES SECTION ===== */
.courses {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 149, 46, 0.35);
}

.course-card .course-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1c2541, #0a1128);
}

.course-card .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-card .course-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.25);
}

.course-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #c9952e, #b88628);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.course-price-badge.free {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.course-level {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 13px;
    background: rgba(255,255,255,0.92);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.course-card .course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card .course-body h3 {
    font-size: 1.22rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.5;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}

.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.course-card .course-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.course-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 800;
    transition: var(--transition);
}

.course-card:hover .course-link-badge {
    transform: translateX(-5px);
    color: var(--secondary-light);
}

/* Course modal */
.course-modal-top {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.course-modal-img {
    width: 120px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #1c2541, #0a1128);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-modal-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, #c9952e, #b88628);
    color: #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.course-modal-badge.free {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.course-modal-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.course-modal-desc {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 18px;
}

.course-lessons {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.course-lessons h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 1rem;
}

.course-lessons ul {
    list-style: none;
}

.course-lessons li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.07);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.course-lessons li:last-child { border-bottom: none; }

.course-lessons .lesson-lock {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(201, 149, 46, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.course-modal-note {
    padding: 14px 18px;
    background: #fffbf0;
    border: 1px solid rgba(201,149,46,0.25);
    border-radius: 12px;
    color: #8a6d1a;
    font-size: 0.9rem;
}

.course-modal-note p { margin: 0; }

.enroll-title {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.form-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.enroll-success {
    margin-top: 15px;
    padding: 14px 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #166534;
    font-weight: 700;
    line-height: 1.8;
}

.enroll-error {
    margin-top: 15px;
    padding: 14px 18px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    font-weight: 700;
    line-height: 1.8;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 10px;
}

.check-status {
    font-size: 0.85rem;
    margin-top: 2px;
}

.btn-small {
    padding: 9px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .course-modal-top { flex-direction: column; align-items: flex-start; }
    .course-modal-img { width: 100%; height: 150px; }
    .form-row2 { grid-template-columns: 1fr; }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: #f4f7fb;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.detail-item:hover {
    border-color: var(--secondary);
    transform: translateX(-5px);
    box-shadow: var(--shadow);
}

.detail-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201, 149, 46, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.detail-item .text h4 {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.detail-item .text p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

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

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--secondary-glow);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-form-wrapper h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 800;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #f8fafc;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 149, 46, 0.12);
}

/* ===== FOOTER ===== */
.footer {
    background: #050814;
    color: var(--white);
    padding: 35px 0;
    border-top: 1px solid rgba(201, 149, 46, 0.2);
    text-align: center;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 8, 20, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: modal-fade-in 0.3s ease;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: modal-scale-up 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-scale-up {
    from { transform: scale(0.9) translateY(20px); }
    to { transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: #ef4444;
    color: #fff;
}

/* ===== FLOATING WHATSAPP BUTTON & TOOLTIP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 62px;
    height: 62px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: beacon-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 105px;
    left: 35px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-4px);
}

/* ===== SCROLL REVEAL ANIMATION CLASSES ===== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-subtitle-wrapper {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-wrapper {
        max-width: 380px;
        width: 100%;
    }
    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-info {
        grid-template-columns: 1fr;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #0a1128;
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
        gap: 12px;
        border-bottom: 2px solid var(--secondary);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
.hero-content h1 {
    font-size: 2.5rem;
    white-space: nowrap;
}
    .section-title h2 {
        font-size: 2rem;
    }
    .stats-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-item::after {
        display: none !important;
    }
    .certificates-grid,
    .projects-grid,
    .services-grid,
    .reviews-grid,
    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .badge-exp {
        right: -10px;
    }
    .badge-cert {
        left: -10px;
    }
}
