@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #315B70;     /* Deep Slate Blue */
    --accent: #FDB913;      /* Mustard Gold */
    --bg-light: #F9FAFB;    /* Off-white / Light Gray */
    --white: #ffffff;

    /* Old variables mapping to new ones for backward compatibility in existing HTML */
    --primary-color: var(--primary);
    --secondary-color: var(--accent);

    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Modern Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(253, 185, 19, 0.4);

    /* Glassmorphism Properties */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --radius-md: 12px;
    --radius-pill: 50px;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    overflow-x: hidden;
    position: relative;
    z-index: 0;
}

/* Floating Glassmorphism Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out alternate;
}
.orb-1 {
    top: -5%; left: -10%; width: 50vw; height: 50vw;
    background: rgba(98, 182, 203, 0.4); /* Light Accent Blue */
}
.orb-2 {
    bottom: -5%; right: -10%; width: 40vw; height: 40vw;
    background: rgba(253, 185, 19, 0.3); /* Mustard Gold */
    animation-delay: -3s;
}
.orb-3 {
    top: 40%; left: 30%; width: 30vw; height: 30vw;
    background: rgba(49, 91, 112, 0.2); /* Slate Blue */
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.btn-gold {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

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

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

.text-accent { color: var(--accent); }

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 15px 40px;
    width: 100%;
    transition: padding 0.3s ease, background 0.3s ease;
}

header.scrolled {
    padding: 10px 40px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--glass-shadow);
}

/* Glass Utility Class */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    font-size: 1.4rem;
    color: var(--primary);
}

.logo img { max-height: 55px; }

.nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
}

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

.nav-links li a {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    background: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 140px;
    color: var(--primary);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0 auto 30px;
    color: var(--primary);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 750px;
    margin: 0 auto 40px;
    color: var(--text-dark);
    font-weight: 400;
}

.hero-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-top: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

/* General Sections */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: var(--primary);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.image-gallery img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    position: relative;
}

/* Cards */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px 0 rgba(31, 38, 135, 0.15);
}

.card-header {
    background: rgba(255, 255, 255, 0.4);
    color: var(--primary);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.15rem;
}

.card-header i {
    color: var(--accent);
    font-size: 1.5rem;
}

.card-body {
    padding: 20px;
    flex: 1;
}

.card-body img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.programme-list {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.programme-list li {
    margin-bottom: 8px;
}

/* Flagship Banner */
.flagship-banner {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.2);
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    color: var(--text-muted);
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.2);
}

/* Advanced Form Layout & Icons */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.has-icon {
    position: relative;
}

.has-icon .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    transition: var(--transition);
    z-index: 2;
}

.has-icon textarea ~ .input-icon {
    top: 24px;
    transform: none;
}

.has-icon input, .has-icon select, .has-icon textarea {
    padding-left: 50px !important;
}

.has-icon:focus-within .input-icon {
    color: var(--accent);
}

/* Make icons in contact info use the accent color */
.contact-info i {
    color: var(--accent) !important;
}

/* Modern 4-Column Footer */
.footer-modern {
    background: rgba(49, 91, 112, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #f3f4f6;
    padding: 70px 20px 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

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

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    header { padding: 15px 20px; }
    header.scrolled { padding: 10px 20px; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100%;
        background: var(--white);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-light);
        padding: 20px 0;
        border-radius: 20px;
        text-align: center;
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-container .btn { display: none; }

    .hamburger {
        display: block;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.contact-line i {
    margin-top: 5px;
    flex-shrink: 0;
    width: 20px;
}
