/* ==========================================================================
   Hi-Tek Infosys - Brand Color Theme & Styling System
   Color Palette Inspired directly by the Official Logo:
   - Primary: Cyan / Azure Ocean Blue (#0084c7, #0ea5e9, #026aa7)
   - Secondary Accent 1: Warm Amber / Energy Orange (#f97316, #ea580c)
   - Secondary Accent 2: Fresh Olive / Sage Green (#8db63d, #72972c)
   - Dark Surface: Deep Oceanic Navy (#0a192f, #061120)
   - Light Surface: Crisp Ice Blue Tint (#f0f7fc)
   ========================================================================== */

:root {
    /* Brand Primary - Cyan / Azure Blue (Vertical pillars of logo) */
    --primary: #0084c7;
    --primary-light: #0ea5e9;
    --primary-dark: #0369a1;
    --primary-glow: rgba(0, 132, 199, 0.25);
    --primary-subtle: rgba(0, 132, 199, 0.08);

    /* Brand Accent 1 - Energy Orange / Amber (Sun orb above 'i') */
    --accent-orange: #f97316;
    --accent-orange-light: #fb923c;
    --accent-orange-dark: #ea580c;
    --accent-orange-glow: rgba(249, 115, 22, 0.3);
    --accent-orange-subtle: rgba(249, 115, 22, 0.1);

    /* Brand Accent 2 - Fresh Olive / Sage Green (Swoosh arch) */
    --accent-green: #8db63d;
    --accent-green-light: #a1cb46;
    --accent-green-dark: #72972c;
    --accent-green-glow: rgba(141, 182, 61, 0.25);
    --accent-green-subtle: rgba(141, 182, 61, 0.12);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #026aa7 100%);
    --gradient-orange: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    --gradient-green: linear-gradient(135deg, #a1cb46 0%, #72972c 100%);
    --gradient-logo: linear-gradient(90deg, #0ea5e9 0%, #8db63d 50%, #f97316 100%);
    --gradient-hero: linear-gradient(135deg, rgba(8, 22, 41, 0.93) 0%, rgba(2, 90, 142, 0.78) 100%);
    --gradient: var(--gradient-primary);

    /* Neutrals & Surfaces */
    --dark: #0a192f;
    --dark-surface: #0f2744;
    --dark-lighter: #173254;
    --muted: #53687e;
    --light: #f0f7fc;
    --white: #ffffff;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 35px -10px rgba(10, 25, 47, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(0, 132, 199, 0.2);
    --shadow-orange: 0 8px 25px rgba(249, 115, 22, 0.35);
    --shadow-cyan: 0 8px 25px rgba(0, 132, 199, 0.35);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --glass-blur: blur(14px);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    scroll-padding-top: 85px;
}

body {
    background-color: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography & Helpers */
h1, h2, h3, h4, h5 {
    line-height: 1.25;
    font-weight: 600;
    color: var(--dark);
}

.text-primary { color: var(--primary); }
.text-orange { color: var(--accent-orange); }
.text-green { color: var(--accent-green); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

.bg-light { background-color: var(--light); }

.bg-gradient { 
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.w-100 { width: 100%; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.title-underline {
    height: 4px;
    width: 70px;
    background: var(--gradient-logo);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.center-underline {
    margin: 0 auto 1.5rem auto;
}

/* Glassmorphism Container */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 132, 199, 0.45);
    color: var(--white);
}

.btn-orange, .nav-cta {
    background: var(--gradient-orange) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-orange);
}

.btn-orange:hover, .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.45) !important;
    color: var(--white) !important;
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 18px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 25px rgba(10, 25, 47, 0.08);
    border-bottom: 1px solid rgba(0, 132, 199, 0.1);
    padding: 12px 0;
}

.nav-container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
    transition: var(--transition);
}

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

.logo-main {
    font-size: 1.35rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-orange-light);
}

.navbar.scrolled .logo-main {
    color: var(--dark);
}

.navbar.scrolled .logo-sub {
    color: var(--primary);
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a:not(.btn) {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--gradient-logo);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--accent-orange-light);
}

.navbar.scrolled .nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.navbar.scrolled .hamburger {
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #e0f2fe;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
    color: var(--accent-orange-light);
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.8rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #38bdf8 0%, #8db63d 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.92;
    line-height: 1.7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #f1f5f9;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Layout Grids */
.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

/* About Section */
.about-text .section-title {
    color: var(--dark);
}

.about-text p {
    color: var(--muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-list {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--dark);
}

.about-list li i {
    font-size: 1.3rem;
    color: var(--accent-green);
    background: var(--accent-green-subtle);
    border-radius: 50%;
    padding: 2px;
}

.about-image .image-wrapper {
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.15);
    box-shadow: 0 20px 45px -15px rgba(0, 132, 199, 0.2);
    border-radius: 20px;
}

.about-image img {
    border-radius: 14px;
    width: 100%;
    object-fit: cover;
}

/* Director's Desk Section */
.director {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.director-content {
    padding: 3rem;
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.85;
    border: 1px solid rgba(0, 132, 199, 0.12);
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.director-quote-icon {
    position: absolute;
    top: 1.75rem;
    left: 2rem;
    font-size: 4.5rem;
    color: rgba(0, 132, 199, 0.06);
    z-index: 0;
}

.director-body {
    position: relative;
    z-index: 1;
}

.director-greeting {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
}

.director-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.director-footer {
    border-top: 1px solid rgba(0, 132, 199, 0.12);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.director-footer h5 {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 700;
}

.director-footer span {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Courses Section */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    padding: 2.75rem 2rem;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.1);
    border-radius: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-logo);
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 132, 199, 0.3);
}

.course-card:hover::before {
    opacity: 1;
}

.course-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.75rem;
    transition: var(--transition);
}

/* Distinct Brand Accents for Course Icons */
.course-card.card-cyan .course-icon {
    background: var(--primary-subtle);
    color: var(--primary);
}
.course-card.card-cyan:hover .course-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-cyan);
}

.course-card.card-orange .course-icon {
    background: var(--accent-orange-subtle);
    color: var(--accent-orange);
}
.course-card.card-orange:hover .course-icon {
    background: var(--gradient-orange);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.course-card.card-green .course-icon {
    background: var(--accent-green-subtle);
    color: var(--accent-green-dark);
}
.course-card.card-green:hover .course-icon {
    background: var(--gradient-green);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(141, 182, 61, 0.35);
}

.course-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    color: var(--dark);
}

.course-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Section (Why Choose Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item {
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.08);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 132, 199, 0.25);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    transition: var(--transition);
}

.feature-item:nth-child(1) .feature-icon-wrapper {
    background: var(--primary-subtle);
    color: var(--primary);
}
.feature-item:nth-child(2) .feature-icon-wrapper {
    background: var(--accent-green-subtle);
    color: var(--accent-green-dark);
}
.feature-item:nth-child(3) .feature-icon-wrapper {
    background: var(--accent-orange-subtle);
    color: var(--accent-orange);
}
.feature-item:nth-child(4) .feature-icon-wrapper {
    background: var(--primary-subtle);
    color: var(--primary-light);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.08) rotate(3deg);
}

.feature-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--dark);
}

.feature-item p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ==========================================================================
   Google Reviews Section Styling
   ========================================================================== */
.google-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.18);
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.06);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.google-badge-pill .google-g-logo {
    display: block;
    flex-shrink: 0;
}

/* Google Rating Summary Banner */
.google-rating-summary {
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.15);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 30px -10px rgba(0, 132, 199, 0.12);
}

.summary-left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.google-score-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 1.75rem;
    border-right: 2px solid rgba(0, 132, 199, 0.12);
}

.score-number {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: #1e293b;
    letter-spacing: -1px;
}

.score-stars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars-gold {
    color: #f59e0b;
    font-size: 1.05rem;
    display: flex;
    gap: 3px;
}

.score-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.summary-details h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.summary-meta {
    font-size: 0.92rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-google-write {
    background: #4285f4;
    color: var(--white) !important;
    box-shadow: 0 6px 18px rgba(66, 133, 244, 0.35);
}

.btn-google-write:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(66, 133, 244, 0.45);
    color: var(--white) !important;
}

.btn-google-all {
    background: var(--white);
    color: var(--dark) !important;
    border: 1.5px solid rgba(0, 132, 199, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-google-all:hover {
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Category Filter Tabs */
.review-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.15);
    color: var(--muted);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-cyan);
}

/* Google Review Grid */
.google-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.google-review-card {
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.12);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.google-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 132, 199, 0.18);
    border-color: rgba(66, 133, 244, 0.35);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.1rem;
    position: relative;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-blue { background: linear-gradient(135deg, #4285f4, #1a73e8); }
.avatar-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.avatar-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.avatar-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.avatar-green { background: linear-gradient(135deg, #16a34a, #15803d); }

.reviewer-meta {
    flex-grow: 1;
}

.reviewer-meta h4 {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.reviewer-badge {
    font-size: 0.8rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.google-verified-icon {
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.82rem;
    color: var(--muted);
}

.course-pill {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.pill-cyan {
    background: var(--primary-subtle);
    color: var(--primary);
}

.pill-orange {
    background: var(--accent-orange-subtle);
    color: var(--accent-orange-dark);
}

.pill-green {
    background: var(--accent-green-subtle);
    color: var(--accent-green-dark);
}

.review-comment {
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-card-footer {
    border-top: 1px solid rgba(0, 132, 199, 0.08);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.posted-google {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-trust-badge {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive Styles for Google Reviews */
@media (max-width: 992px) {
    .google-rating-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .summary-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .summary-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .google-score-box {
        border-right: none;
        border-bottom: 2px solid rgba(0, 132, 199, 0.12);
        padding-right: 0;
        padding-bottom: 1rem;
        width: 100%;
    }
    .google-review-grid {
        grid-template-columns: 1fr;
    }
    .summary-actions {
        flex-direction: column;
        width: 100%;
    }
    .summary-actions .btn {
        width: 100%;
    }
    .course-pill {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    background: #e2e8f0;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 132, 199, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 132, 199, 0.88), rgba(249, 115, 22, 0.82));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
    padding: 1.5rem;
    text-align: center;
}

.gallery-overlay .gallery-icon {
    font-size: 1.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    transform: translateY(12px);
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay .gallery-icon {
    transform: scale(1);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ==========================================================================
   Gallery Lightbox Modal Styling
   ========================================================================== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 22, 41, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.lightbox-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 85vh;
}

.lightbox-image-wrapper img {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-lightbox.active .lightbox-image-wrapper img {
    transform: scale(1);
}

.lightbox-caption {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    padding: 12px 6px 0;
    font-size: 0.95rem;
}

.lightbox-caption h4 {
    color: #f1f5f9;
    font-size: 1.05rem;
    font-weight: 500;
}

.lightbox-caption span {
    color: var(--accent-orange-light);
    font-weight: 600;
    font-size: 0.88rem;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
    backdrop-filter: blur(8px);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--gradient-orange);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-orange);
}

.lightbox-close {
    top: -55px;
    right: 0;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .lightbox-next {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .lightbox-close {
        top: 15px;
        right: 15px;
    }
    .lightbox-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}

.contact-card, .contact-form-container {
    padding: 2.75rem;
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.12);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.contact-card h3, .contact-form-container h3 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    color: var(--dark);
}

.contact-card > p {
    color: var(--muted);
    margin-bottom: 2.25rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 1.75rem;
}

.info-item i {
    width: 44px;
    height: 44px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:nth-child(2) i {
    background: var(--accent-orange-subtle);
    color: var(--accent-orange);
}

.info-item:nth-child(3) i {
    background: var(--accent-green-subtle);
    color: var(--accent-green-dark);
}

.info-item:nth-child(4) i {
    background: var(--primary-subtle);
    color: var(--primary-light);
}

.info-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    color: var(--dark);
}

.info-item p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 132, 199, 0.1);
}

.social-icon:hover {
    background: var(--gradient-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
    border-color: transparent;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(0, 132, 199, 0.15);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    padding: 10px;
    background: var(--white);
    border: 1px solid rgba(0, 132, 199, 0.12);
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    border-radius: 12px;
}

.map-action-bar {
    text-align: center;
    padding: 16px;
    background: var(--light);
    border-radius: 10px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 85px 0 25px;
    position: relative;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-about h3, .footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    position: relative;
    display: inline-block;
    color: var(--white);
}

.footer-about h3::after, .footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 42px;
    height: 3px;
    background: var(--gradient-logo);
    border-radius: 2px;
}

.footer-about p {
    color: #94a3b8;
    font-size: 0.96rem;
    line-height: 1.8;
    max-width: 420px;
}

.footer-links ul li {
    margin-bottom: 0.9rem;
}

.footer-links ul li a {
    color: #cbd5e1;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--gradient-orange);
    box-shadow: var(--shadow-orange);
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: var(--glass-blur);
        box-shadow: -10px 0 35px rgba(10, 25, 47, 0.15);
        padding: 2.5rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1.5rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a:not(.btn) {
        color: var(--dark) !important;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section {
        padding: 75px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .director-content {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   CONTENT SECURITY - CSS Protection Layer
   ========================================================================== */

/* Disable text selection across entire page */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Allow selection only in form inputs */
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent image saving via long-press / right-click */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for clickable image containers */
.gallery-item,
.about-image,
.lightbox-content,
a img {
    pointer-events: auto;
}

.gallery-item img,
.about-image img,
.lightbox-content img {
    pointer-events: none;
}

/* Disable printing - show blank page */
@media print {
    body * {
        display: none !important;
        visibility: hidden !important;
    }
    body::after {
        content: '⚠️ This content is protected and cannot be printed. © Hi-Tek Infosys Computer Education';
        display: block !important;
        visibility: visible !important;
        position: fixed;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        font-family: 'Poppins', sans-serif;
        color: #0a192f;
        text-align: center;
        padding: 3rem;
    }
}

/* Visibility-change hide (when tab is not active / screen capture) */
body.content-hidden * {
    opacity: 0 !important;
    transition: opacity 0.1s ease;
}

body.content-hidden::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a192f;
    z-index: 999998;
    opacity: 1 !important;
}
