/* ========================================
   TRUST Global Education - 3D Design System
   ======================================== */

:root {
    --primary: #164e9b;
    --primary-light: #16a3c7;
    --primary-dark: #10233f;
    --accent: #f97316;
    --accent-dark: #c2410c;
    --success: #22a06b;
    --danger: #ef4444;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f7fbff;
    --bg-gray: #eef6f6;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-3d: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --perspective: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.6;
    perspective: var(--perspective);
}

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

/* 3D Utilities */
.preserve-3d { transform-style: preserve-3d; }
.perspective { perspective: var(--perspective); }

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
    transform-style: preserve-3d;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.05));
    color: var(--primary-light);
    padding: 8px 22px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(59,130,246,0.15);
    transform: translateZ(20px);
    box-shadow: 0 4px 15px rgba(59,130,246,0.1);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    transform: translateZ(30px);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    transform: translateZ(15px);
}

/* ========================================
   Navigation - 3D Glassmorphism
   ======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    transform-style: preserve-3d;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.navbar.scrolled {
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.navbar-brand img {
    height: 65px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.navbar.scrolled .navbar-brand img { height: 50px; }

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    margin: 0 4px;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transform-style: preserve-3d;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-link.active {
    color: var(--primary-light) !important;
    font-weight: 600 !important;
}

.nav-link:hover {
    color: var(--primary-light) !important;
    transform: translateY(-2px) translateZ(10px);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
    color: #fff !important;
    padding: 10px 26px !important;
    border-radius: var(--radius-xl) !important;
    font-weight: 600 !important;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
    transition: var(--transition);
    border: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.cta-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: 0.5s;
}

.cta-btn:hover::before { left: 100%; }

.cta-btn:hover {
    transform: translateY(-3px) translateZ(15px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.4);
    color: #fff !important;
}

/* ========================================
   Hero Section - 3D Parallax
   ======================================== */
.hero-section {
    position: relative;
    color: #fff;
    padding: 180px 0 120px;
    margin-top: 80px;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    align-items: center;
    transform-style: preserve-3d;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    transform: translateZ(-50px) scale(1.1);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,27,76,0.95), rgba(30,58,138,0.88), rgba(37,99,235,0.75));
}

/* Floating 3D Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    transform-style: preserve-3d;
}

.hero-shape-1 {
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    animation: float3d 8s ease-in-out infinite;
}

.hero-shape-2 {
    bottom: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    animation: float3d 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    top: 50%;
    right: 25%;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255,255,255,0.1);
    animation: rotate3d 20s linear infinite;
}

@keyframes float3d {
    0%, 100% { transform: translateY(0) translateZ(0) rotate(0deg); }
    50% { transform: translateY(-40px) translateZ(40px) rotate(10deg); }
}

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.15);
    transform: translateZ(40px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    transform: translateZ(60px);
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-title span {
    color: #fbbf24;
    display: inline-block;
    transform: translateZ(80px);
    text-shadow: 0 0 40px rgba(251,191,36,0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 36px;
    font-weight: 300;
    max-width: 560px;
    line-height: 1.8;
    transform: translateZ(35px);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    transform: translateZ(50px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    transform: translateZ(45px);
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.stat-item:hover {
    transform: translateY(-8px) translateZ(20px) rotateX(5deg);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p { opacity: 0.85; font-size: 0.9rem; font-weight: 400; }

.btn-white {
    background: #fff !important;
    color: var(--primary) !important;
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform-style: preserve-3d;
}

.btn-white:hover {
    transform: translateY(-4px) translateZ(20px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    color: var(--primary) !important;
}

.btn-outline-white {
    background: transparent !important;
    color: #fff !important;
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.5) !important;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform-style: preserve-3d;
}

.btn-outline-white:hover {
    background: #fff !important;
    color: var(--primary) !important;
    border-color: #fff !important;
    transform: translateY(-4px) translateZ(20px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* ========================================
   Trust Badges - 3D Cards
   ======================================== */
.trust-badges {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
    margin-top: -40px;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.05);
}

.badge-item {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transform-style: preserve-3d;
    border: 1px solid transparent;
}

.badge-item:hover {
    transform: translateY(-10px) translateZ(30px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--border);
}

.badge-item i {
    font-size: 2.2rem;
    color: var(--primary-light);
    margin-bottom: 12px;
    display: block;
    transform: translateZ(20px);
}

.badge-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
    transform: translateZ(15px);
}

.badge-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0;
    transform: translateZ(10px);
}

/* ========================================
   Country Section - 3D Tilt Cards
   ======================================== */
.country-section {
    padding: 100px 0;
    background: var(--bg-light);
    transform-style: preserve-3d;
    perspective: var(--perspective);
}

.country-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    border: 1px solid var(--border);
    transform-style: preserve-3d;
    position: relative;
}

.country-card:hover {
    transform: translateY(-15px) translateZ(50px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.country-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.country-card:hover .country-image img { transform: scale(1.15) translateZ(20px); }

.country-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: #fff;
}

.country-flag {
    width: 42px;
    height: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    object-fit: cover;
    transform: translateZ(30px);
}

.country-body { padding: 24px; transform-style: preserve-3d; }

.country-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    transform: translateZ(20px);
}

.country-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    transform: translateZ(15px);
}

.uni-count {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.fee-range {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.88rem;
}

.country-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    transform: translateZ(10px);
}

.country-features li {
    padding: 4px 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.country-features li i {
    color: var(--success);
    margin-right: 8px;
    font-size: 0.8rem;
}

.view-process-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: #fff !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    transform: translateZ(25px);
    box-shadow: 0 4px 15px rgba(30,58,138,0.2);
}

.view-process-btn:hover {
    transform: translateZ(35px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,58,138,0.35);
}

/* ========================================
   Services Section - 3D Flip Cards
   ======================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-white);
    transform-style: preserve-3d;
}

.service-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-12px) translateZ(40px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: var(--transition);
    transform: translateZ(30px);
    box-shadow: 0 10px 30px rgba(59,130,246,0.2);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    transform: scale(1.15) rotate(8deg) translateZ(50px);
    box-shadow: 0 15px 40px rgba(59,130,246,0.35);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.1rem;
    transform: translateZ(20px);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.92rem;
    transform: translateZ(10px);
}

/* ========================================
   CTA Section - 3D Gradient
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary-light)) !important;
    padding: 100px 0;
    color: #fff !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245,158,11,0.06);
}

.cta-section h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #fff !important;
    transform: translateZ(40px);
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
    color: #fff !important;
    transform: translateZ(25px);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    transform: translateZ(35px);
}

/* ========================================
   Testimonials - 3D Cards
   ======================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
    transform-style: preserve-3d;
    perspective: var(--perspective);
}

.testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    transform-style: preserve-3d;
}

.testimonial-card:hover {
    transform: translateY(-10px) translateZ(40px) rotateY(3deg);
    box-shadow: var(--shadow-xl);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
    font-size: 0.95rem;
    transform: translateZ(15px);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateZ(25px);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.author-info h5 {
    margin: 0;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.author-info p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ========================================
   About Section - 3D
   ======================================== */
.about-section { padding: 100px 0; transform-style: preserve-3d; }

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.about-image:hover {
    transform: translateZ(30px) rotateY(-3deg);
    box-shadow: var(--shadow-3d);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

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

.about-stat {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    transform-style: preserve-3d;
}

.about-stat:hover {
    transform: translateY(-8px) translateZ(25px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.about-stat .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-light);
    display: block;
    transform: translateZ(20px);
}

.about-stat .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    transform: translateZ(10px);
}

.value-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-light);
    transform-style: preserve-3d;
}

.value-card:hover {
    transform: translateY(-8px) translateZ(30px) rotateY(-3deg);
    box-shadow: var(--shadow-xl);
    border-left-color: var(--accent);
}

.value-card i {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 14px;
    display: block;
    transform: translateZ(20px);
}

.value-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    transform: translateZ(15px);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 0.92rem;
}

/* ========================================
   FAQ Section - 3D Accordion
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
    transform-style: preserve-3d;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateZ(10px);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
    transform: translateZ(20px);
    border-color: var(--primary-light);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.faq-question:hover { color: var(--primary-light); }

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-light);
    font-size: 0.9rem;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.8;
    display: none;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s ease; }

/* ========================================
   Gallery Section - 3D Cards
   ======================================== */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-white);
    transform-style: preserve-3d;
}

.gallery-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: #fff;
    border: 1px solid var(--border);
    transform-style: preserve-3d;
}

.gallery-card:hover {
    transform: translateY(-12px) translateZ(40px) rotateX(3deg);
    box-shadow: var(--shadow-3d);
}

.gallery-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-card-body { padding: 20px; transform-style: preserve-3d; }

.gallery-card-body h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    transform: translateZ(15px);
}

.gallery-card-body p {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 0.88rem;
    transform: translateZ(10px);
}

.badge-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    display: inline-block;
    font-weight: 600;
    transform: translateZ(20px);
    box-shadow: 0 4px 10px rgba(16,185,129,0.25);
}

/* ========================================
   Contact Section - 3D
   ======================================== */
.contact-section { padding: 100px 0; transform-style: preserve-3d; }

.contact-info-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.contact-info-card:hover {
    transform: translateY(-8px) translateZ(25px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.contact-info-card i.main-icon {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 14px;
    display: block;
    transform: translateZ(20px);
}

.contact-info-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    transform: translateZ(15px);
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.8;
}

.contact-info-card a:hover { color: var(--primary-light); }

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transform-style: preserve-3d;
}

.contact-form:hover {
    transform: translateZ(20px);
    box-shadow: var(--shadow-xl);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.08);
}

.contact-form label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

/* ========================================
   Footer - 3D Depth
   ======================================== */
footer {
    background: linear-gradient(180deg, #0a1128, #0f172a, #1e293b) !important;
    color: #fff !important;
    padding: 80px 0 30px;
    transform-style: preserve-3d;
}

.footer-brand { display: block; margin-bottom: 20px; }

.footer-desc {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 0.92rem;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: var(--transition);
    font-size: 0.95rem;
    transform-style: preserve-3d;
}

.social-links a:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-4px) translateZ(15px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

.footer-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transform: translateZ(15px);
}

.footer-links { list-style: none; padding: 0; }

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

.footer-links a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-links a i { font-size: 0.7rem; }

.footer-contact { list-style: none; padding: 0; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent);
    margin-top: 4px;
    min-width: 16px;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 50px;
    padding-top: 24px;
    text-align: center;
    color: #475569;
    font-size: 0.85rem;
}

/* ========================================
   WhatsApp Float - 3D Pulse
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    animation: whatsappPulse 2s infinite;
    transform-style: preserve-3d;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateZ(20px);
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}

/* ========================================
   Modals - 3D
   ======================================== */
.process-modal .modal-content,
.lead-modal .modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: visible;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    transform-style: preserve-3d;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.process-modal .modal-body,
.lead-modal .modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 80px);
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) #f1f5f9;
}

.process-modal .modal-body::-webkit-scrollbar,
.lead-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.process-modal .modal-body::-webkit-scrollbar-track,
.lead-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.process-modal .modal-body::-webkit-scrollbar-thumb,
.lead-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    border-radius: 4px;
}

.process-modal .modal-header,
.lead-modal .modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: #fff;
    padding: 24px 28px;
    border: none;
}

.process-modal .modal-title,
.lead-modal .modal-title { font-size: 1.2rem; font-weight: 700; }

.process-action-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #fff !important;
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245,158,11,0.35);
    transform-style: preserve-3d;
}

.process-action-btn:hover {
    transform: translateY(-2px) translateZ(10px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.45);
}

/* Page Header - 3D Parallax */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary-light)) !important;
    background-attachment: fixed;
    color: #fff !important;
    padding: 160px 0 70px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #fff !important;
    transform: translateZ(40px);
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: #fff !important;
    transform: translateZ(20px);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #fff;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    display: none;
    max-width: 380px;
    border-left: 4px solid var(--success);
    animation: slideInRight 0.4s ease;
    transform: translateZ(50px);
}

.toast-notification.show { display: block; }
.toast-notification.error { border-left-color: var(--danger); }

@keyframes slideInRight {
    from { transform: translateX(100%) translateZ(50px); opacity: 0; }
    to { transform: translateX(0) translateZ(50px); opacity: 1; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 991px) {
    .navbar-brand img { height: 50px; }
    .hero-section { padding: 140px 0 80px; min-height: auto; }
    .hero-title { font-size: 2.6rem; }
    .section-header h2 { font-size: 2.1rem; }
    .page-header { padding: 130px 0 50px; }
    .page-header h1 { font-size: 2.2rem; }
    .cta-section h2 { font-size: 2rem; }
    .hero-stats { gap: 20px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
    .stat-item h3 { font-size: 2rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-white, .btn-outline-white {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    .section-header h2 { font-size: 1.8rem; }
    .contact-form { padding: 24px; }
    .page-header h1 { font-size: 1.8rem; }
    .country-section,
    .services-section,
    .testimonials-section,
    .about-section,
    .contact-section,
    .gallery-section,
    .faq-section,
    .cta-section { padding: 60px 0; }
}

@media (max-width: 576px) {
    .hero-section { padding: 120px 0 60px; margin-top: 70px; }
    .hero-title { font-size: 1.7rem; }
    .page-header { padding: 110px 0 40px; margin-top: 70px; }
    .navbar-brand img { height: 45px; }
    .section-header { margin-bottom: 40px; }
}

/* ========================================
   3D UI Classes — Glassmorphism & Floating
   ======================================== */

/* --- Glassmorphism Utility --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Dark variant for sections with dark backgrounds */
.glass-panel-dark {
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Glassmorphic navbar state (applied via JS on scroll) */
#mainNav.glass-nav {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- Ambient Floating Keyframes --- */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(-2deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-10px) rotate(4deg); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.05); }
}

/* Floating element base + variants */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.floating-shape--slow   { animation: float-slow   6s ease-in-out infinite; }
.floating-shape--medium { animation: float-medium  4s ease-in-out infinite; }
.floating-shape--fast   { animation: float-fast    3s ease-in-out infinite; }
.floating-shape--glow   { animation: pulse-glow    5s ease-in-out infinite; }

/* ========================================
   Modern Country Flow
   ======================================== */
.country-section {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,251,255,0.98)),
        radial-gradient(circle at 15% 20%, rgba(34,160,107,0.12), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(249,115,22,0.12), transparent 24%);
}

.country-card {
    border: 1px solid rgba(22, 163, 199, 0.16);
}

.country-card:hover {
    border-color: rgba(249, 115, 22, 0.35);
}

.country-overlay {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
}

.country-flag,
.modal-country-flag {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    border: 3px solid #fff;
    background: #fff;
}

.modal-country-flag {
    width: 42px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.flow-hero {
    border-radius: 18px;
    padding: 26px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(16,35,63,0.92), rgba(22,78,155,0.88)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1200&q=80") center/cover;
    box-shadow: 0 18px 45px rgba(16, 35, 63, 0.25);
    margin-bottom: 22px;
}

.flow-hero h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 8px 0;
}

.flow-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,0.88);
}

.flow-path {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 600;
}

.flow-section,
.requirement-panel {
    background: #fff;
    border: 1px solid rgba(22, 163, 199, 0.14);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.flow-section h4,
.requirement-panel h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.flow-section h4 i,
.requirement-panel h4 i {
    color: var(--accent);
}

.uni-flow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.uni-flow-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.uni-flow-header {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--text-dark);
}

.uni-flow-header strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.98rem;
}

.uni-flow-header small {
    display: block;
    color: var(--text-light);
    margin-top: 4px;
}

.uni-flow-header i {
    color: var(--primary-light);
    transition: transform 0.2s ease;
}

.uni-flow-header i.rotated {
    transform: rotate(180deg);
}

.uni-flow-body {
    display: none;
    padding: 0 18px 18px;
}

.uni-flow-body.open {
    display: block;
}

.flow-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.subject-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subject-chip-list span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(22, 163, 199, 0.1);
    color: #0f5f75;
    border: 1px solid rgba(22, 163, 199, 0.16);
    font-size: 0.82rem;
    font-weight: 600;
}

.compact-check-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-medium);
}

.compact-check-list li {
    margin-bottom: 7px;
}

.fee-row {
    display: grid;
    grid-template-columns: minmax(96px, 0.75fr) 1.25fr;
    gap: 6px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.fee-row:last-child {
    border-bottom: 0;
}

.fee-row strong {
    color: var(--primary-dark);
}

.fee-row span {
    color: var(--accent-dark);
    font-weight: 800;
}

.fee-row small {
    grid-column: 2;
    color: var(--text-light);
}

.english-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.english-grid div {
    padding: 14px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
}

.english-grid strong,
.english-grid span {
    display: block;
}

.english-grid strong {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.english-grid span {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-top: 5px;
}

.process-timeline {
    display: grid;
    gap: 12px;
}

.process-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(22,163,199,0.09), rgba(249,115,22,0.07));
}

.process-step > span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(22, 163, 199, 0.22);
}

.process-step strong {
    color: var(--primary-dark);
}

.process-step p {
    margin: 4px 0 0;
    color: var(--text-medium);
}

@media (max-width: 576px) {
    .flow-hero {
        padding: 20px;
    }

    .flow-hero h3 {
        font-size: 1.35rem;
    }

    .english-grid,
    .fee-row {
        grid-template-columns: 1fr;
    }

    .fee-row small {
        grid-column: auto;
    }
}

/* ========================================
   2026 Modern 3D Finish
   ======================================== */
body {
    background:
        linear-gradient(180deg, #f8fcff 0%, #eef9f6 42%, #fff7ed 100%);
}

#mainNav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 50px rgba(16, 35, 63, 0.08);
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-section,
.page-header,
.cta-section {
    background-image:
        linear-gradient(135deg, rgba(16,35,63,0.92), rgba(22,78,155,0.84), rgba(34,160,107,0.76)) !important;
}

.country-section,
.services-section,
.testimonials-section,
.about-section,
.gallery-section,
.faq-section,
.contact-section {
    position: relative;
    isolation: isolate;
}

.country-card,
.service-card,
.testimonial-card,
.value-card,
.about-stat,
.contact-info-card,
.gallery-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow:
        0 18px 40px rgba(16, 35, 63, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.75);
}

.country-card {
    border-radius: 18px;
    overflow: hidden;
    transform: translateZ(0);
}

.country-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.32), transparent 34%, rgba(22,163,199,0.08));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.country-card:hover::after {
    opacity: 1;
}

.country-card:hover {
    transform: translateY(-12px) translateZ(40px) rotateX(2deg);
    box-shadow:
        0 26px 70px rgba(16, 35, 63, 0.20),
        0 12px 26px rgba(249, 115, 22, 0.12);
}

.country-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16,35,63,0.08), rgba(16,35,63,0.52));
    z-index: 1;
}

.country-image img {
    min-height: 240px;
}

.country-overlay {
    z-index: 2;
}

.country-body {
    position: relative;
    z-index: 2;
}

.country-name {
    letter-spacing: 0;
}

.country-meta span,
.fee-range {
    border-radius: 999px;
    background: rgba(22, 163, 199, 0.10);
    padding: 7px 11px;
}

.fee-range {
    background: rgba(249, 115, 22, 0.11);
    color: var(--accent-dark);
    font-weight: 800;
}

.view-process-btn,
.process-action-btn,
.cta-btn,
.btn-white,
.btn-outline-white {
    box-shadow:
        0 12px 24px rgba(16, 35, 63, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.view-process-btn:hover,
.process-action-btn:hover,
.cta-btn:hover {
    filter: saturate(1.08);
}

.process-modal .modal-dialog,
.lead-modal .modal-dialog {
    perspective: 1200px;
}

.process-modal .modal-content,
.lead-modal .modal-content {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,251,255,0.86)) !important;
    border: 1px solid rgba(255,255,255,0.82);
    transform: rotateX(0deg) translateZ(0);
}

.process-modal .modal-header,
.lead-modal .modal-header {
    background:
        linear-gradient(135deg, #10233f 0%, #164e9b 48%, #22a06b 100%) !important;
}

.flow-hero {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.flow-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12));
    pointer-events: none;
}

.flow-path,
.section-badge {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.flow-section,
.requirement-panel {
    border-radius: 18px;
    box-shadow:
        0 20px 48px rgba(16, 35, 63, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.74);
}

.uni-flow-card {
    border-color: rgba(22, 163, 199, 0.16);
    box-shadow: 0 10px 26px rgba(16, 35, 63, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.uni-flow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.24);
    box-shadow: 0 16px 36px rgba(16, 35, 63, 0.10);
}

.subject-chip-list span {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.process-step {
    border: 1px solid rgba(255,255,255,0.66);
    box-shadow: 0 12px 28px rgba(16, 35, 63, 0.06);
}

.cost-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 35, 63, 0.06);
}

.cost-table th {
    background: linear-gradient(135deg, rgba(22,78,155,0.96), rgba(22,163,199,0.92));
    color: #fff;
    padding: 12px 14px;
    font-size: 0.88rem;
}

.cost-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

.cost-table tr:last-child td {
    border-bottom: 0;
}

.cost-table .total-row td {
    background: rgba(249, 115, 22, 0.08);
}

@media (max-width: 768px) {
    .country-image img {
        min-height: 210px;
    }

    .cost-table {
        min-width: 650px;
    }
}


/* ========================================
   ENHANCED 3D & MODERN SEAMLESS SYSTEM v2
   ======================================== */

:root {
    --neon-glow: 0 0 20px rgba(59,130,246,0.3), 0 0 40px rgba(59,130,246,0.15);
    --accent-glow: 0 0 20px rgba(249,115,22,0.3), 0 0 40px rgba(249,115,22,0.15);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --depth-1: translateZ(20px);
    --depth-2: translateZ(40px);
    --depth-3: translateZ(60px);
    --depth-4: translateZ(80px);
}

body {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 30%, #f0f9ff 60%, #f7fbff 100%);
    background-attachment: fixed;
}

.navbar {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.country-card, .service-card, .testimonial-card, .value-card, .about-stat, .contact-info-card, .badge-item, .gallery-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.country-card:hover, .service-card:hover, .testimonial-card:hover, .value-card:hover, .about-stat:hover, .contact-info-card:hover, .badge-item:hover, .gallery-card:hover {
    transform: translateY(-16px) translateZ(60px) rotateX(4deg) rotateY(-2deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), var(--neon-glow);
    border-color: rgba(59,130,246,0.25);
}

.hero-section { perspective: 1500px; transform-style: preserve-3d; }
.hero-bg { transform: translateZ(-100px) scale(1.2); }

.hero-title {
    font-size: 4.2rem;
    text-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 60px rgba(251,191,36,0.15);
    background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title span {
    color: #fbbf24;
    -webkit-text-fill-color: #fbbf24;
    text-shadow: 0 0 50px rgba(251,191,36,0.5);
}

.trust-badges {
    border-radius: 50px 50px 0 0;
    margin-top: -60px;
    box-shadow: 0 -30px 60px rgba(0,0,0,0.06);
    position: relative;
    z-index: 10;
}

.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 30%, #164e9b 70%, #0f172a 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stat-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transform: translateZ(45px);
}

.stat-item:hover {
    transform: translateY(-10px) translateZ(30px) rotateX(5deg) rotateY(-3deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25), var(--neon-glow);
}

.stat-item h3 {
    background: linear-gradient(135deg, #fff 0%, #fbbf24 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-icon {
    box-shadow: 0 10px 30px rgba(59,130,246,0.25), inset 0 0 20px rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    box-shadow: 0 15px 40px rgba(59,130,246,0.4), var(--neon-glow);
    transform: scale(1.2) rotate(12deg) translateZ(60px);
}

.faq-item { transform: translateZ(0); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active {
    transform: translateZ(25px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), var(--neon-glow);
    border-color: rgba(59,130,246,0.3);
}

footer {
    background: linear-gradient(180deg, #0a0f1e 0%, #0f172a 40%, #1e293b 100%) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), var(--accent), var(--primary-light), transparent);
}

.hero-shape-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 60%); filter: blur(40px); animation: float3d 10s ease-in-out infinite; }
.hero-shape-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 60%); filter: blur(40px); animation: float3d 12s ease-in-out infinite reverse; }
.hero-shape-3 { width: 200px; height: 200px; border: 2px solid rgba(255,255,255,0.12); animation: rotate3d 25s linear infinite; }

.process-step {
    background: linear-gradient(135deg, rgba(22,163,199,0.08), rgba(249,115,22,0.06));
    border: 1px solid rgba(22,163,199,0.1);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.process-step:hover { transform: translateX(8px) translateZ(15px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: rgba(22,163,199,0.25); }

.cost-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform-style: preserve-3d;
}

.cost-table thead { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.cost-table th { padding: 16px 20px; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.cost-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-light); font-size: 0.92rem; }
.cost-table tbody tr:hover { background: rgba(22,163,199,0.04); }
.cost-table .total-row { background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(245,158,11,0.05)); font-weight: 700; color: var(--accent-dark); }
.cost-table .total-row td { border-bottom: none; }

.uni-group-header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 1rem;
    margin: 16px 0 12px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 20px rgba(22,163,199,0.25); transform: translateZ(20px);
}

@keyframes fadeInUp3D {
    from { opacity: 0; transform: translateY(40px) translateZ(-20px); }
    to { opacity: 1; transform: translateY(0) translateZ(0); }
}

.fade-in-up.visible { animation: fadeInUp3D 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

.row .fade-in-up:nth-child(1) { animation-delay: 0s; }
.row .fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.row .fade-in-up:nth-child(3) { animation-delay: 0.2s; }
.row .fade-in-up:nth-child(4) { animation-delay: 0.3s; }
.row .fade-in-up:nth-child(5) { animation-delay: 0.4s; }
.row .fade-in-up:nth-child(6) { animation-delay: 0.5s; }

@media (max-width: 991px) { .hero-title { font-size: 2.8rem; } .hero-shape-1 { width: 250px; height: 250px; } .hero-shape-2 { width: 200px; height: 200px; } }
@media (max-width: 768px) { .hero-title { font-size: 2.2rem; } .hero-shape { display: none; } .cost-table { font-size: 0.85rem; } .cost-table th, .cost-table td { padding: 10px 12px; } }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 5px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-light), var(--primary)); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--primary), var(--primary-dark)); }

.page-header { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #164e9b 100%) !important; background-size: 400% 400% !important; animation: gradientShift 15s ease infinite; }

.section-badge { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.06)); border: 1px solid rgba(59,130,246,0.2); box-shadow: 0 4px 15px rgba(59,130,246,0.1), inset 0 0 10px rgba(255,255,255,0.1); backdrop-filter: blur(4px); }

.about-image { box-shadow: 0 25px 50px rgba(0,0,0,0.15), var(--neon-glow); border-radius: 24px; }
.about-image:hover { transform: translateZ(40px) rotateY(-5deg) rotateX(2deg); }

.gallery-card { border-radius: 20px; }
.gallery-card img { border-radius: 20px 20px 0 0; }

.contact-form { border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.1), var(--neon-glow); }
.contact-form:hover { transform: translateZ(30px) rotateX(1deg); }

.whatsapp-float { box-shadow: 0 8px 25px rgba(37,211,102,0.4), 0 0 30px rgba(37,211,102,0.2); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.whatsapp-float:hover { transform: scale(1.15) translateZ(30px); box-shadow: 0 12px 35px rgba(37,211,102,0.5), 0 0 40px rgba(37,211,102,0.3); }

.country-card:hover .country-flag { box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.3); transform: translateZ(40px) scale(1.1); }

.view-process-btn:hover { transform: translateZ(40px) translateY(-3px); box-shadow: 0 12px 30px rgba(30,58,138,0.4); }

.toast-notification { backdrop-filter: blur(10px); background: rgba(255,255,255,0.95); box-shadow: 0 15px 40px rgba(0,0,0,0.15), var(--neon-glow); transform: translateZ(60px); }

::selection { background: rgba(59,130,246,0.25); color: var(--primary-dark); }

.flow-hero { border-radius: 20px; position: relative; overflow: hidden; }
.flow-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%); border-radius: 50%; filter: blur(30px); }

.flow-section, .requirement-panel { border-radius: 20px; box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(22,163,199,0.08); transition: all 0.3s ease; }
.flow-section:hover, .requirement-panel:hover { transform: translateZ(15px); box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(22,163,199,0.15); }

.fee-row { transition: all 0.2s ease; border-radius: 8px; padding: 14px 16px; }
.fee-row:hover { background: rgba(22,163,199,0.04); }

.subject-chip-list span { transition: all 0.2s ease; cursor: default; }
.subject-chip-list span:hover { transform: translateY(-2px) translateZ(10px); box-shadow: 0 4px 12px rgba(22,163,199,0.15); background: rgba(22,163,199,0.15); }

.english-grid div { transition: all 0.2s ease; }
.english-grid div:hover { transform: translateZ(10px); box-shadow: 0 8px 20px rgba(0,0,0,0.05); border-color: rgba(22,163,199,0.25); }

.process-action-btn { box-shadow: 0 6px 20px rgba(245,158,11,0.35), 0 0 0 1px rgba(245,158,11,0.2); }
.process-action-btn:hover { box-shadow: 0 10px 30px rgba(245,158,11,0.45), 0 0 0 1px rgba(245,158,11,0.3); }

@media (max-width: 991px) {
    .navbar-collapse { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-radius: 16px; margin-top: 10px; padding: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
}

@media print {
    .whatsapp-float, .hero-shape, .floating-shape { display: none !important; }
    .country-card, .service-card { break-inside: avoid; }
}

/* ========================================
   MODERN ATTRACTIVE ENHANCEMENTS v3
   ======================================== */

/* Animated gradient text for headings */
.section-header h2 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 50%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textGradientShift 5s ease infinite;
}

@keyframes textGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow border effect on cards */
.country-card::before, .service-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(22,163,199,0.2), rgba(249,115,22,0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.country-card:hover::before, .service-card:hover::before {
    opacity: 1;
}

.country-card, .service-card {
    position: relative;
}

/* Enhanced country image zoom on hover */
.country-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-card:hover .country-image img {
    transform: scale(1.15);
}

.country-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.6) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.country-card:hover .country-image::after {
    opacity: 0.8;
}

/* Animated underline on nav links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-link:hover {
    color: var(--primary) !important;
}

/* Shimmer effect on CTA buttons */
.btn-white, .cta-btn, .process-action-btn {
    position: relative;
    overflow: hidden;
}

.btn-white::after, .cta-btn::after, .process-action-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(30deg) translateX(-100%);
    transition: none;
}

.btn-white:hover::after, .cta-btn:hover::after, .process-action-btn:hover::after {
    animation: shimmerSweep 0.8s ease forwards;
}

@keyframes shimmerSweep {
    0% { transform: rotate(30deg) translateX(-100%); }
    100% { transform: rotate(30deg) translateX(100%); }
}

/* Enhanced shadow layering on cards */
.country-card, .service-card, .testimonial-card, .value-card, .about-stat, .contact-info-card, .badge-item, .gallery-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

/* Floating accent particles for hero */
.hero-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 6px;
    height: 6px;
    background: rgba(251,191,36,0.6);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(251,191,36,0.4);
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 1; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.8; }
    75% { transform: translateY(-30px) translateX(5px); opacity: 0.5; }
}

/* Enhanced stat number glow */
.stat-item h3 {
    text-shadow: 0 0 30px rgba(251,191,36,0.3);
}

/* Smooth page load animation */
@keyframes pageLoadFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body > * {
    animation: pageLoadFade 0.6s ease-out forwards;
}

/* Enhanced trust badges with glass effect */
.badge-item {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.5);
}

/* Gradient border on section badges */
.section-badge {
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    z-index: -1;
    opacity: 0.3;
}

/* Enhanced CTA section glow */
.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.cta-section {
    position: relative;
    overflow: hidden;
}

/* Enhanced footer glow line */
footer::before {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-light), var(--accent), var(--primary-light), transparent);
    animation: glowLine 3s ease-in-out infinite;
}

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

/* Better responsive for mobile */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .country-card { margin-bottom: 20px; }
    .cta-section h2 { font-size: 2rem; }
    .stat-item h3 { font-size: 2rem; }
    .process-modal .modal-body, .lead-modal .modal-body { padding: 16px; max-height: calc(85vh - 70px); }
}

/* Enhanced modal header glow */
.process-modal .modal-header, .lead-modal .modal-header {
    position: relative;
    overflow: hidden;
}

.process-modal .modal-header::after, .lead-modal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

/* Enhanced form inputs */
.form-control, .form-select {
    border: 1px solid rgba(22,163,199,0.15);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1), 0 4px 12px rgba(59,130,246,0.08);
    background: #fff;
    transform: translateY(-1px);
}

/* Enhanced country flag hover */
.country-flag {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.country-card:hover .country-flag {
    transform: translateZ(40px) scale(1.15) rotate(8deg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.3);
}

/* Enhanced process timeline */
.process-step {
    position: relative;
    border-left: 3px solid rgba(22,163,199,0.2);
    margin-left: 16px;
    padding-left: 24px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15), 0 0 15px rgba(59,130,246,0.3);
}

.process-step:hover {
    transform: translateX(10px);
}

/* Cost table row hover glow */
.cost-table tbody tr {
    transition: all 0.2s ease;
}

.cost-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(22,163,199,0.05), rgba(59,130,246,0.03));
    transform: translateX(4px);
}

/* University flow card enhancements */
.uni-flow-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(22,163,199,0.1);
    transition: all 0.3s ease;
}

.uni-flow-card:hover {
    border-color: rgba(22,163,199,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.uni-flow-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(247,251,255,0.95));
    border: none;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.uni-flow-header:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.05), rgba(22,163,199,0.05));
}

/* Enhanced requirement panel */
.requirement-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,251,255,0.9));
    border: 1px solid rgba(22,163,199,0.1);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

.requirement-panel:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: rgba(22,163,199,0.2);
}

/* Flow hero gradient overlay */
.flow-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light), var(--primary));
    position: relative;
    overflow: hidden;
}

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

/* Gallery card enhanced */
.gallery-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.gallery-card:hover::after {
    opacity: 1;
}

/* Testimonial card glow */
.testimonial-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.1), 0 0 30px rgba(59,130,246,0.1);
}

/* Value card enhanced */
.value-card:hover {
    transform: translateY(-12px) translateZ(40px) rotateX(3deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 40px rgba(59,130,246,0.08);
}

.value-card .value-number {
    text-shadow: 0 0 20px rgba(59,130,246,0.3);
}

/* Contact form enhanced glow */
.contact-form:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 0 40px rgba(59,130,246,0.08);
}

/* Social links hover glow */
.social-links a:hover {
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
    transform: translateY(-3px) scale(1.1);
}

/* Footer link hover */
.footer-links a:hover {
    color: var(--primary-light) !important;
    transform: translateX(4px);
}

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

/* Enhanced scrollbar for modals */
.process-modal .modal-body::-webkit-scrollbar-thumb,
.lead-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
}

/* FAQ item active glow */
.faq-item.active {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06), 0 0 20px rgba(59,130,246,0.06);
}

/* Page load stagger */
.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* Smooth anchor scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced selection color */
::selection {
    background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(22,163,199,0.25));
}

/* Enhanced focus states */
*:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Button press 3D effect */
.btn-white:active, .cta-btn:active, .process-action-btn:active, .view-process-btn:active {
    transform: translateY(2px) translateZ(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Hero subtitle enhanced */
.hero-subtitle {
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

/* Trust badge counter glow */
.badge-item i {
    filter: drop-shadow(0 0 8px rgba(59,130,246,0.3));
}

/* Mobile CTA button full width */
@media (max-width: 576px) {
    .cta-buttons .btn-white, .cta-buttons .btn-outline-white {
        width: 100%;
        justify-content: center;
    }
}
