@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* Primary Colors */
    --primary-blue: #0B2A4A;
    --secondary-blue: #1F4E8C;
    --accent-gold: #C9A24A;
    --accent-gold-light: #F2D27A;
    --gold-gradient: linear-gradient(135deg, #C9A24A 0%, #F2D27A 100%);

    /* Neutral Colors */
    --bg-white: #F7F9FC;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --pure-white: #FFFFFF;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Transitions */
    --section-padding: 120px 0;
    --container-width: 1280px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--pure-white);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(11, 42, 74, 0.2);
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--primary-blue);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 162, 74, 0.3);
}

.text-center {
    text-align: center;
}

/* Navbar Styles */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--pure-white);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-blue);
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-btns {
    display: flex;
    gap: 15px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* Counter Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    margin-bottom: 10px;
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    height: 200px;
    background: #0B2A4A;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.student-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #ddd;
    overflow: hidden;
}

/* Forms */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
}

/* Campus Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: white;
    border: 4px solid var(--accent-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

.founder-img {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-info h2 {
    margin-bottom: 5px;
}

.designation {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.founder-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.founder-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.founder-stat {
    text-align: center;
}

.founder-stat h4 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 5px;
}

.founder-stat p {
    font-size: 13px;
    margin-bottom: 0;
}

/* Premium Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    padding: 100px 0 0;
    font-size: 14px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent-gold-light);
    margin-bottom: 30px;
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-list li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
}

.newsletter-form button {
    background: var(--gold-gradient);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-bottom-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }

    .timeline-item::after {
        left: 21px;
    }

    .right {
        left: 0;
    }
}