/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Legacy styles for backwards compatibility - can be removed later */
.logo-icon {
    width: 50px;
    height: 50px;
    background: #2a5298;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-figures {
    position: relative;
    width: 30px;
    height: 30px;
}

.figure-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.figure-left, .figure-right {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translateY(-50%);
}

.figure-left {
    left: 0;
}

.figure-right {
    right: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.vkr {
    font-size: 24px;
    font-weight: 700;
    color: #2a5298;
}

.enterprises {
    font-size: 12px;
    font-weight: 500;
    color: #2a5298;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2a5298;
}

.nav-links a.active {
    font-weight: 600;
    border-bottom: 2px solid #2a5298;
    padding-bottom: 2px;
}

.cta-button {
    background: linear-gradient(135deg, #2a5298, #1a3a6b);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0d1a 0%, #0d1b3e 45%, #1a3a6b 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(74, 143, 214, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 82, 152, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(107, 179, 240, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.1) 50%, transparent 52%);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 143, 214, 0.12) 0%, rgba(26, 58, 107, 0.12) 100%);
}

@keyframes gradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    animation: slideInLeft 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn {
    background: linear-gradient(135deg, #4a8fd6, #2a5298);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 143, 214, 0.45);
    position: relative;
    overflow: hidden;
    animation: slideInUp 1s ease-out 0.6s both;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(74, 143, 214, 0.6);
}

.secondary-btn {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 1s ease-out 0.8s both;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.3s;
    z-index: -1;
}

.secondary-btn:hover::before {
    left: 0;
}

.secondary-btn:hover {
    color: #1a3a6b;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #0d1b3e, #1a3a6b);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(42, 82, 152, 0.35);
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: rotate 10s linear infinite;
}

.image-placeholder i {
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes glow {
    0% { box-shadow: 0 20px 40px rgba(42, 82, 152, 0.35); }
    100% { box-shadow: 0 20px 40px rgba(42, 82, 152, 0.7), 0 0 60px rgba(42, 82, 152, 0.25); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===========================
   Global Section Header
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(42, 82, 152, 0.1);
    color: #2a5298;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(42, 82, 152, 0.2);
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-header h2 i {
    color: #2a5298;
    margin-right: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* ===========================
   Core Values — Dark Navy
   =========================== */
.values-section {
    padding: 100px 0;
    background: #0a0d1a;
    position: relative;
    overflow: hidden;
}

/* Decorative ring */
.values-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 80px solid rgba(42, 82, 152, 0.04);
    pointer-events: none;
}

.values-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 60px solid rgba(74, 143, 214, 0.04);
    pointer-events: none;
}

/* Invert section header colors for dark bg */
.values-section .section-header h2 {
    color: #ffffff;
}

.values-section .section-header p {
    color: rgba(255, 255, 255, 0.5);
}

.values-section .section-tag {
    background: rgba(74, 143, 214, 0.12);
    color: #6bb3f0;
    border-color: rgba(74, 143, 214, 0.25);
}

/* 4-column grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Glass card */
.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(74, 143, 214, 0.12);
    border-radius: 20px;
    padding: 38px 26px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease,
                border-color 0.4s ease,
                background 0.4s ease,
                box-shadow 0.4s ease;
}

/* Bottom accent bar */
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #4a8fd6, transparent);
    border-radius: 0 3px 0 0;
    transition: width 0.45s ease;
}

.value-card:hover::after {
    width: 100%;
    background: linear-gradient(90deg, #4a8fd6, #1a3a6b);
    border-radius: 0;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 143, 214, 0.28);
    background: rgba(74, 143, 214, 0.05);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(74, 143, 214, 0.18);
}

/* Number badge */
.vc-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(74, 143, 214, 0.07);
    line-height: 1;
    letter-spacing: -2px;
    transition: color 0.4s ease;
    pointer-events: none;
}

.value-card:hover .vc-num {
    color: rgba(74, 143, 214, 0.14);
}

/* Icon box */
.vc-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(42, 82, 152, 0.2);
    border: 1px solid rgba(74, 143, 214, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #6bb3f0;
    margin-bottom: 22px;
    transition: all 0.4s ease;
}

.value-card:hover .vc-icon {
    background: rgba(74, 143, 214, 0.18);
    border-color: rgba(74, 143, 214, 0.5);
    color: #93c8f5;
    box-shadow: 0 0 22px rgba(74, 143, 214, 0.28);
    transform: scale(1.08);
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.65;
    font-size: 0.88rem;
}

/* ===========================
   About / Who We Are
   =========================== */
.about-section {
    padding: 100px 0;
    background: #f0f4ff;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text .section-tag {
    display: inline-block;
    margin-bottom: 14px;
}

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 36px;
    line-height: 1.8;
}

/* Goals */
.goals-section {
    background: white;
    border-radius: 18px;
    padding: 32px;
    border: 1px solid #e0e8ff;
    box-shadow: 0 8px 30px rgba(42, 82, 152, 0.08);
}

.goals-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.goals-section h3 i {
    color: #2a5298;
    margin-right: 8px;
}

.goals-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.goals-section li {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    padding-left: 18px;
    border-left: 3px solid #4a8fd6;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.goals-section li:hover {
    border-left-color: #1a3a6b;
    color: #0d1b3e;
}

/* Stats card */
.about-right {
    position: relative;
}

.about-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(42, 82, 152, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.stats-card {
    background: linear-gradient(145deg, #0d1b3e 0%, #0a0d1a 100%);
    border-radius: 24px;
    border: 1px solid rgba(74, 143, 214, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(10, 13, 26, 0.4),
                0 0 0 1px rgba(74, 143, 214, 0.08);
    position: relative;
}

/* Glow accent inside card */
.stats-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 143, 214, 0.12), transparent 70%);
    pointer-events: none;
}

.stat-item {
    padding: 44px 32px;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}

.stat-item:hover {
    background: rgba(74, 143, 214, 0.05);
}

/* Internal grid dividers */
.stat-item:nth-child(1),
.stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(74, 143, 214, 0.1);
}

.stat-item:nth-child(1),
.stat-item:nth-child(3) {
    border-right: 1px solid rgba(74, 143, 214, 0.1);
}

.stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #4a8fd6;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ===========================
   Why Choose Us
   =========================== */
.why-choose-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

/* Left-accent feature card */
.feature-card {
    background: #f8faff;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid #e8eeff;
    border-left: 4px solid #2a5298;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease,
                border-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 52px rgba(42, 82, 152, 0.13);
    background: #ffffff;
    border-left-color: #4a8fd6;
    border-color: #dce8ff;
}

/* Large faded step number */
.fc-step {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(42, 82, 152, 0.055);
    line-height: 1;
    letter-spacing: -3px;
    pointer-events: none;
    transition: color 0.4s ease;
}

.feature-card:hover .fc-step {
    color: rgba(42, 82, 152, 0.1);
}

.feature-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #1a3a6b, #2a5298);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(42, 82, 152, 0.25);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 14px 30px rgba(42, 82, 152, 0.35);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 14px;
    line-height: 1.35;
}

.feature-card p {
    color: #666;
    line-height: 1.72;
    font-size: 0.9rem;
}

/* Benefits strip — dark navy */
.benefits-strip {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
    border-radius: 20px;
    padding: 36px 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 44px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(13, 27, 62, 0.3);
}

.benefits-strip::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 143, 214, 0.1), transparent 70%);
    pointer-events: none;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.9rem;
}

.benefit-item i {
    color: #4a8fd6;
    font-size: 1rem;
    background: rgba(74, 143, 214, 0.15);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =====================
   Services Section — New Design
   ===================== */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f4ff 0%, #e8eeff 100%);
    position: relative;
}

/* Category label with side lines */
.service-category {
    margin-bottom: 80px;
}

.category-label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a5298, transparent);
}

.category-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2a5298;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.category-title i {
    margin-right: 8px;
}

/* 3-column grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ---- Card base ---- */
.service-card {
    background: linear-gradient(145deg, #0d1b3e 0%, #0a0d1a 100%);
    border-radius: 20px;
    padding: 36px 28px 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(74, 143, 214, 0.12);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    cursor: default;
    min-height: 320px;
}

/* Gradient glow border on hover via pseudo */
.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(135deg, #4a8fd6 0%, #1a3a6b 50%, #4a8fd6 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Cover interior so the border peeks through */
.service-card > * {
    position: relative;
    z-index: 1;
}

/* Light sweep shimmer */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 45%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    left: 130%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(74, 143, 214, 0.22),
                0 0 0 1px rgba(74, 143, 214, 0.25);
    border-color: transparent;
}

/* Background inner fill so border-pseudo shows only as 1px rim */
.service-card::before {
    padding: 1px;
}

/* Service number badge */
.sc-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(74, 143, 214, 0.08);
    line-height: 1;
    font-family: 'Inter', sans-serif;
    letter-spacing: -2px;
    pointer-events: none;
    transition: color 0.4s ease;
}

.service-card:hover .sc-num {
    color: rgba(74, 143, 214, 0.15);
}

/* Icon container */
.sc-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(42, 82, 152, 0.2);
    border: 1px solid rgba(74, 143, 214, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #6bb3f0;
    margin-bottom: 22px;
    position: relative;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

/* Glow halo behind icon on hover */
.sc-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    background: radial-gradient(circle, rgba(74, 143, 214, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .sc-icon-wrap {
    background: rgba(74, 143, 214, 0.18);
    border-color: rgba(74, 143, 214, 0.5);
    color: #93c8f5;
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(74, 143, 214, 0.3);
}

.service-card:hover .sc-icon-wrap::after {
    opacity: 1;
}

/* Title */
.sc-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.45;
}

/* Description */
.sc-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Feature chips */
.sc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 20px;
}

.sc-features li {
    background: rgba(74, 143, 214, 0.1);
    border: 1px solid rgba(74, 143, 214, 0.2);
    color: rgba(255, 255, 255, 0.75);
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .sc-features li {
    background: rgba(74, 143, 214, 0.18);
    border-color: rgba(74, 143, 214, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

/* Enquire arrow link */
.sc-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4a8fd6;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: 4px;
    align-self: flex-start;
}

.sc-arrow i {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.service-card:hover .sc-arrow {
    gap: 10px;
    color: #6bb3f0;
}

.service-card:hover .sc-arrow i {
    transform: translateX(3px);
}

/* Services grid responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: auto;
        padding: 28px 22px 22px;
    }

    .category-label {
        gap: 12px;
    }

    .category-title {
        font-size: 0.82rem;
        letter-spacing: 1px;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaFloat 8s ease-in-out infinite;
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button-large {
    background: linear-gradient(135deg, #4a8fd6, #2a5298);
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(74, 143, 214, 0.45);
    position: relative;
    overflow: hidden;
}

.cta-button-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button-large:hover::before {
    left: 100%;
}

.cta-button-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(74, 143, 214, 0.6);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2a5298, #1a3a6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
}

.submit-btn {
    background: linear-gradient(135deg, #2a5298, #1a3a6b);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
}

/* Footer */
.footer {
    background: #0a0d1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-text .vkr,
.footer-logo .logo-text .enterprises {
    color: white;
}

.footer-logo p {
    margin-top: 20px;
    color: #ccc;
    line-height: 1.6;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links a,
.footer-services a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #2a5298;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #2a5298;
}

.footer-bottom {
    border-top: 1px solid #1a3a6b;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .image-placeholder {
        width: 350px;
        height: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1200;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #1a3a6b;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #fff;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #fff;
}

/* Mobile full-screen overlay menu — lives outside navbar to avoid backdrop-filter stacking context */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 13, 26, 0.97);
    z-index: 1150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.mobile-menu-close span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
}

.mobile-menu-close span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-close span:nth-child(2) { transform: rotate(-45deg); }

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.mobile-menu-links a:hover {
    color: #6bb3f0;
    transform: translateY(-2px);
}

.mobile-cta-btn {
    background: linear-gradient(135deg, #4a8fd6, #2a5298) !important;
    color: white !important;
    padding: 14px 40px !important;
    border-radius: 30px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 20px rgba(74, 143, 214, 0.4) !important;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 0 15px;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .vkr {
        font-size: 20px;
    }
    
    .enterprises {
        font-size: 10px;
    }
    
    .hero {
        min-height: 90vh;
        padding: 20px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 60px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 300px;
        height: 200px;
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* Core values — 2-col on tablet */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .value-card {
        padding: 30px 22px 26px;
    }

    /* About — stack on tablet */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .goals-section {
        padding: 26px 22px;
    }

    .stats-card {
        max-width: 520px;
        margin: 0 auto;
    }

    /* Why choose us — 1-col on tablet */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 32px 26px;
    }

    .benefits-strip {
        padding: 28px 24px;
        gap: 16px 32px;
    }

    .benefit-item {
        font-size: 0.88rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .service-card {
        min-height: auto;
        padding: 28px 22px 22px;
    }

    .category-title {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-button-large {
        width: 100%;
        max-width: 280px;
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hero {
        min-height: 85vh;
        padding: 15px 0;
    }
    
    .hero-content {
        padding-top: 50px;
        gap: 25px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .primary-btn,
    .secondary-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 250px;
    }
    
    .image-placeholder {
        height: 180px;
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Core values — 1-col on small mobile */
    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 26px 20px 22px;
    }

    .feature-card {
        padding: 26px 20px;
    }

    .stat-item {
        padding: 28px 18px;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .service-card {
        min-height: auto;
        padding: 24px 18px 18px;
    }

    .value-card h3,
    .feature-card h3 {
        font-size: 1.2rem;
    }

    .value-card p,
    .feature-card p {
        font-size: 0.92rem;
    }

    .value-icon,
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .goals-section {
        padding: 20px 15px;
    }
    
    .goals-section h3 {
        font-size: 1.3rem;
    }
    
    .goals-section li {
        font-size: 0.95rem;
        padding-left: 20px;
    }
    
    .benefits-strip {
        padding: 24px 16px;
        gap: 14px 20px;
    }
    
    .benefit-item {
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .category-title {
        font-size: 0.82rem;
        letter-spacing: 1px;
        margin-bottom: 25px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-button-large {
        padding: 14px 25px;
        font-size: 1rem;
        max-width: 250px;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-links h4,
    .footer-services h4,
    .footer-contact h4 {
        font-size: 1.1rem;
    }
    
    .footer-links a,
    .footer-services a {
        font-size: 0.95rem;
    }
    
    .footer-contact p {
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .primary-btn,
    .secondary-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        max-width: 220px;
    }
    
    .image-placeholder {
        height: 160px;
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .value-card,
    .feature-card,
    .service-card {
        padding: 22px 16px 18px;
    }
    
    .cta-button-large {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 220px;
    }
}

/* Mobile-specific animations */
@media (max-width: 768px) {
    .hero-text h1 {
        animation: slideInUp 1s ease-out;
    }
    
    .hero-text p {
        animation: slideInUp 1s ease-out 0.2s both;
    }
    
    .primary-btn {
        animation: slideInUp 1s ease-out 0.4s both;
    }
    
    .secondary-btn {
        animation: slideInUp 1s ease-out 0.6s both;
    }
    
    /* Disable complex animations on mobile for better performance */
    .value-card:hover,
    .feature-card:hover,
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .value-card:hover .value-icon,
    .feature-card:hover .feature-icon,
    .service-card:hover .service-icon {
        transform: scale(1.05);
    }
    
    /* Reduce particle count on mobile */
    .floating-particle {
        display: none;
    }
    
    /* Simplify background animations */
    .hero::before,
    .values-section::before,
    .why-choose-section::before {
        animation: none;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .value-card,
    .feature-card,
    .service-card {
        transition: transform 0.2s ease;
    }
    
    .value-card:active,
    .feature-card:active,
    .service-card:active {
        transform: scale(0.98);
    }
    
    .primary-btn:active,
    .secondary-btn:active,
    .cta-button-large:active {
        transform: scale(0.95);
    }
    
    /* Increase touch targets */
    .nav-links a {
        padding: 10px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .cta-button {
        padding: 15px 30px;
        min-height: 44px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
    }
    
    .submit-btn {
        min-height: 44px;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Optimize for mobile performance */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Improve text readability on mobile */
    .hero-text h1,
    .section-header h2,
    .about-text h2,
    .cta-content h2 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Optimize button interactions */
    .primary-btn,
    .secondary-btn,
    .cta-button-large,
    .submit-btn {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        outline: none;
    }
    
    /* Improve form usability */
    .form-group input,
    .form-group select,
    .form-group textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    /* Optimize images for mobile */
    .image-placeholder {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Reduce animation complexity on mobile */
    .value-card,
    .feature-card,
    .service-card {
        will-change: transform;
    }
    
    /* Optimize scrolling performance */
    .hero,
    .values-section,
    .about-section,
    .why-choose-section,
    .services-section,
    .cta-section,
    .contact-section {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding-top: 40px;
        gap: 20px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .image-placeholder {
        height: 120px;
        font-size: 2rem;
    }
}

/* High DPI mobile displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-text h1,
    .section-header h2,
    .about-text h2,
    .cta-content h2 {
        font-weight: 600;
    }
    
    .value-card h3,
    .feature-card h3,
    .service-card h4 {
        font-weight: 600;
    }
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.value-card,
.feature-card,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Add shimmer effect to buttons */
.primary-btn,
.secondary-btn,
.cta-button-large {
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* Enhanced logo animation */
.logo-icon {
    animation: bounceIn 1s ease-out;
}

.logo-icon:hover {
    animation: pulse 1s infinite;
}

/* Hero text animation — no typing effect (breaks mobile wrapping) */
.hero-text h1 {
    animation: slideInLeft 1s ease-out;
}

/* Add glow effect to icons */
.value-icon i,
.feature-icon i,
.service-icon i {
    filter: drop-shadow(0 0 10px rgba(42, 82, 152, 0.4));
    transition: all 0.3s ease;
}

.value-card:hover .value-icon i,
.feature-card:hover .feature-icon i,
.service-card:hover .service-icon i {
    filter: drop-shadow(0 0 20px rgba(42, 82, 152, 0.7));
    transform: scale(1.2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   Gallery Section
   ===================== */
.gallery-section {
    padding: 100px 0;
    background: #f0f4ff;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
}

.gallery-item:nth-child(7n + 1) {
    grid-row: span 2;
    aspect-ratio: unset;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 58, 107, 0.8) 0%, rgba(74, 143, 214, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.25);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* =====================
   Lightbox
   ===================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(6px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#lightbox-img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.lightbox.active #lightbox-img {
    transform: scale(1);
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 100000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 100000;
    line-height: 1;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

/* Gallery responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .gallery-item:nth-child(7n + 1) {
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 70px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item:nth-child(7n + 1) {
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }

    .lightbox-prev {
        left: 8px;
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }

    .lightbox-next {
        right: 8px;
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
