:root {
    --primary: #0a4da2;
    --primary-dark: #073a7a;
    --secondary: #f39c12;
    --text-dark: #1a1a1a;
    --text-light: #555;
    --text-muted: #888;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --grad-surface: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --nav-height: 80px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Header & Navigation */
header {
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo img {
    height: 45px;
}

.logo span {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

.nav-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

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

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

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

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

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 60px) 0 80px;
    background: var(--grad-surface);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Mobile Nav */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    padding: 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
}

.mobile-nav.open {
    right: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Testimonials */
.testimonials {
    background: #fdfbfb;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
footer {
    background: #0a1f3d;
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-links, .nav-btns {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-content p {
        margin: 0 auto 35px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
/* Social Services Section */
.social-services {
    background: #f9fafc;
    padding: 80px 0;
}

.social-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 200px;
    box-shadow: var(--shadow-sm);
}

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

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

.social-video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.social-video-container video {
    width: 100%;
    display: block;
}

@media (max-width: 576px) {
    .social-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    .gallery-item {
        height: 250px;
    }
}
/* Colleges Grid Update */
.colleges-scroll-container {
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    cursor: grab;
}

.colleges-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.colleges-scroll-container:active {
    cursor: grabbing;
}

.colleges-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    gap: 30px;
    width: max-content;
}

.colleges-grid .card {
    scroll-snap-align: start;
    flex-shrink: 0;
    /* 3 columns visible on desktop: (Container Width - Gaps) / 3 */
    width: calc((1200px - (2 * 30px)) / 3); 
    display: flex;
    flex-direction: column;
    height: 420px; /* Fixed height for true uniformity */
    padding: 30px;
}

/* Make the description take up flexible space to push button down */
.colleges-grid .card p:nth-of-type(2) {
    flex-grow: 1;
    margin-bottom: 0;
}

.colleges-grid .card .btn {
    margin-top: 20px;
}

/* Responsive Grid Adjustments */
@media (min-width: 1201px) {
    .colleges-grid .card {
        width: calc((1200px - (2 * 30px)) / 3);
    }
}

@media (max-width: 1200px) {
    .colleges-grid {
        gap: 25px;
    }
    .colleges-grid .card {
        /* 2.5 columns to show a peek of the next one */
        width: calc((100vw - 40px - (2 * 25px)) / 2.5); 
    }
}

@media (max-width: 767px) {
    .colleges-grid {
        gap: 20px;
    }
    .colleges-grid .card {
        /* 1.2 columns for a clean mobile scroll peek */
        width: calc(100vw - 80px);
    }
}


/* Colleges Slider Overhaul (Absolute Arrows) */
.colleges-header {
    margin-bottom: 30px;
}

.colleges-slider-wrapper {
    position: relative;
    padding: 0 10px; /* Some room for arrows on larger screens */
}

.colleges-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -22px;
    right: -22px;
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Don't block clicks to cards beneath */
    z-index: 100;
}

.control-btn {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    pointer-events: auto; /* Re-enable clicks for the buttons */
}

.control-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

@media (max-width: 1240px) {
    .colleges-controls {
        left: 0;
        right: 0;
        padding: 0 10px;
    }
    .control-btn {
        width: 38px;
        height: 38px;
        background: rgba(255,255,255,0.9);
    }
}

@media (max-width: 767px) {
    .colleges-header {
        text-align: center;
    }
    .colleges-header div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
