/* AI Future School System - Enhanced CSS with Background Image Functionality */

/* Color Scheme from Logo */
:root {
    /* Primary Colors from Logo */
    --primary-blue: #1e40af;
    --light-blue: #3b82f6;
    --sky-blue: #60a5fa;
    --accent-red: #dc2626;
    --gold: #fbbf24;
    --light-gold: #fef3c7;
    --dark-gray: #374151;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    
    /* Gradient Colors */
    --primary-gradient: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    --hero-gradient: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.95));
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Arial', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}
/* ===============================
   HERO TEXT COLOR ANIMATION
   (NO BOUNCE – ONLY COLOR FLOW)
================================ */

.gradient-animate {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    font-weight: bold;
    background: linear-gradient(
        270deg,
        #e01d03,
        #2401eb,
        #06b6d4,
        #22c55e,
        #f3e116,
        #2563eb
    );

    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: heroColorFlow 6s ease-in-out infinite;
}

/* Smooth professional color animation */
@keyframes heroColorFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.top-bar{
    width:100%;
    background:linear-gradient(90deg,#1e3a8a,#2563eb);
    color:#fff;
    text-align:center;
    padding:6px 0;
    font-size:14px;

    position:fixed;
    top:0;
    left:0;

    z-index:9999;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: rgba(8, 83, 202, 0.1);
}

.nav-link.active {
    color: var(--white);
    background: var(--primary-gradient);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
}

/* Hero Section with Background Image */
.hero {
    height: 90vh;
    background: var(--hero-gradient), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%233b82f6;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%231e40af;stop-opacity:0.1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad)"/><circle cx="100" cy="100" r="50" fill="%2360a5fa" opacity="0.1"/><circle cx="1100" cy="500" r="80" fill="%23fbbf24" opacity="0.1"/><circle cx="600" cy="300" r="60" fill="%23dc2626" opacity="0.05"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: contain;
opacity: 0.3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-contents {
    z-index: 1;
    animation: fadeInUp 1s ease;
    margin-bottom: 7rem;
    margin-left: 18rem;
}

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


.hero-tagline {
    font-size: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    margin-bottom: 5rem;
    font-size:24px;
    font-weight:700;
}
.hero h1 {
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #1e40af, #3b82f6, #60a5fa, #fbbf24, #dc2626);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    font-weight: bold;
    letter-spacing: 2px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        transform: translateY(0) scale(1);
    }
    25% {
        background-position: 25% 50%;
        transform: translateY(-5px) scale(1.05);
    }
    50% {
        background-position: 50% 50%;
        transform: translateY(0) scale(1);
    }
    75% {
        background-position: 75% 50%;
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        background-position: 100% 50%;
        transform: translateY(0) scale(1);
    }
}

.hero .subtitle {
    font-size: 1.5rem;
  
}

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

/* Buttons */
.btn {
    margin-top: 3rem;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #1f2937, #374151);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1f2937, #374151);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}
.btn-cancel {
    background:#dc2626 ;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-cancel:hover {
    background :#630404;
    color: rgb(243, 238, 240);
    transform: translateY(-2px);
}

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

.btn-accent:hover {
    background: #034507;
    transform: translateY(-2px);
}
.btn-accents {
    background:#08067ee6;
    color: var(--white);
}

.btn-accents:hover {
    background: #1f03d6;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

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

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.card-icon i,
.feature-icon i {
    font-size: 1.6rem;
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.grid-5{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
margin-top:40px;
}
/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon.whatsapp-icon,
.feature-icon.facebook-icon,
.feature-icon.instagram-icon,
.feature-icon.newsletter-icon {
    background: #ffffff;
    padding: 12px;
}

.feature-icon.whatsapp-icon svg,
.feature-icon.facebook-icon svg,
.feature-icon.instagram-icon svg,
.feature-icon.newsletter-icon svg {
    display: block;
}

/* About Page Specific Styling */
.about-page .section,
.about-page .features {
    position: relative;
}

.about-page .card {
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 60%),
        var(--white);
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(4px);
}

.about-page .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(59, 130, 246, 0.35);
}

.about-page .card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateX(-20%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-page .card:hover::after {
    opacity: 0.7;
    transform: translateX(20%);
}

.about-campus-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.about-page .card:hover .about-campus-image {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.principal-message .card {
    max-width: 960px;
    margin: 0 auto;
}

.principal-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.principal-image {
    flex: 0 0 auto;
}

.principal-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-blue);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
}

.principal-text {
    flex: 1;
}

.principal-text h3 {
    margin-bottom: 0.75rem;
}

.principal-signature {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--light-gold);
}

.footer-section p,
.footer-section ul {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--light-gold);
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    background: var(--hero-gradient);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    /* Gradient animated text similar to home hero */
    background: linear-gradient(45deg, #1e40af, #3b82f6, #60a5fa, #fbbf24, #dc2626);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    color: #e70808;
    font-weight: 600;
    letter-spacing: 1px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* News and Gallery Specific Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-item.featured {
    grid-column: 1 / -1;
}

.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-image {
  position: relative;
  width: 100%;
  height: 320px;              /* 🔧 adjust height if needed */
  background: #0f172a;        /* dark professional bg */
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* 🔥 FULL IMAGE – NO CUT */
  background-color: #0f172a;  /* same bg as container */
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.news-image img:hover {
  transform: scale(1.03);
}

/* Category badge stays on top */
.news-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(37, 99, 235, 0.95);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.news-tag {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-tag.important {
    background: var(--accent-red);
    color: var(--white);
}

.news-tag.update {
    background: var(--light-blue);
    color: var(--white);
}

.news-tag.event {
    background: var(--gold);
    color: var(--dark-gray);
}

.news-tag.celebration {
    background: var(--light-gold);
    color: var(--dark-gray);
}

.news-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.news-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.35s ease;
}
/* =========================
   FEATURED NEWS BUTTONS STYLE
========================= */

.news-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.news-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
}

/* Primary Button */
.news-actions .btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
}

.news-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

/* Secondary Button */
.news-actions .btn-secondary {
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #1f2937; /* dark text */
}

.news-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
}

/* Icon Animation */
.news-actions .btn i {
    transition: transform 0.3s ease;
}

.news-actions .btn:hover i {
    transform: translateX(4px) rotate(10deg);
}

/* Responsive Buttons */
@media (max-width: 768px) {
    .news-actions {
        flex-direction: column;
    }
    .news-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* Gallery Styles */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

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

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

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .gallery-item {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        cursor: pointer;
    }

    .gallery-card {
    position: relative;
    border-radius: 16px;
    background: #000;
    padding: 10px;
    }

    .gallery-card img {
    width: 100%;
    height: auto;              /* 🔥 FIX */
    max-height: 320px;         /* control height */
    object-fit: contain;       /* 🔥 NO CROP */
    display: block;
    margin: auto;
    border-radius: 12px;
    cursor: zoom-in;
    }

    .gallery-card:hover img {
    transform: scale(1.03);
    }
    .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    }

    .lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    }

    .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    }
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

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

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

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 25px rgba(30, 64, 246, 0.4);
    transition: var(--transition);
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

.footer-logo-img::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent 30%, rgba(251, 191, 36, 0.1) 70%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 2px 2px 4px rgba(251, 191, 36, 0.3);
    }
    100% {
        text-shadow: 2px 2px 8px rgba(251, 191, 36, 0.6);
    }
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--light-gold);
}

/* FAQ Styles */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.faq-question {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question h4 {
    margin: 0;
}

.faq-answer {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Timeline Styles */
.updates-timeline {
    position: relative;
    padding-left: 2rem;
}

.updates-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--primary-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.timeline-date {
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-icon--location,
.contact-icon--phone,
.contact-icon--whatsapp,
.contact-icon--email {
    background: #fff;
    padding: 8px;
}
.contact-icon--location svg,
.contact-icon--phone svg,
.contact-icon--whatsapp svg,
.contact-icon--email svg {
    display: block;
}

/* Map Styles */
.map-placeholder {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--light-gray);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-content {
    padding-top: 3.5rem;
    margin-top: 8rem;
    text-align: center;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    min-height: 200px;

}

.map-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.map-with-background::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Use a local static map image placed in your project's assets folder */
    background-image: url("assets/location-map.png");
    background-size: cover;
    background-position: center;
    filter: grayscale(0.1) contrast(1.1) brightness(1.02);
}

/* Directions Styles */
.directions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.direction-item {
    padding: 1rem;
    border-left: 3px solid var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
    border-radius: 0 10px 10px 0;
}

.direction-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
    font-size: 1.2rem;
}

.scroll-top:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.locationbtn {
    background: rgb(78, 81, 2);
    color: var(--white);
    border: 2px solid var(--white);
}

.locationbtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
     background :#0e03ec;
    color: red;
}

.callbtn {
    background: rgb(78, 81, 2);
    color: var(--white);
    border: 2px solid var(--white);
}

.callbtn:hover {
    background :rgb(21, 117, 2);;
    color:#f7f7f9;;
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        left: 0;
        transform: none;
    }

    .principal-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
        animation-duration: 3s;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section {
        padding: 60px 0;
    }
    
    .news-image {
        height: 180px;
        border-radius: 8px 8px 0 0;
    }
    
    .news-image img {
        border-radius: 8px 8px 0 0;
    }
    
    .news-item.featured {
        grid-column: span 1;
    }
    
    .hero-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20% top;
        left: 0;
        bottom: 0;
        transform: none;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}
.quick-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1rem;
}

.icon-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
}

.icon-btn.call {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.icon-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #16a34a);
}
.icon-btn.email {
    background: linear-gradient(135deg, #4285f4, #00ac47, #c52528, #ffba00);
}
.icon-btn.facebook {
    background: linear-gradient(135deg, #1877f2);
}
/* Instagram Icon Theme */
.instagram-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.icon-btn.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.icon-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.icon-btn:active {
    transform: scale(0.95);
}
/* ===== CTA BUTTONS (Visit Campus Section) ===== */

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.cta-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Schedule Visit Button */
.visit-btn {
    background: #ffffff;
    color: #1e40af;
}

.visit-btn:hover {
    background: #f1f5ff;
    transform: translateY(-3px);
}

.visit-btn:hover i {
    transform: rotate(-10deg) scale(1.1);
}

/* Get Directions Button */
.direction-btn {
    background: #16a34a;
    color: #ffffff;
}

.direction-btn:hover {
    background: #15803d;
    transform: translateY(-3px);
}

.direction-btn:hover i {
    transform: translateY(-3px) scale(1.15);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ===== ADMISSIONS CTA SECTION BUTTONS ===== */

.admission-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.admission-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 15px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.admission-cta-btn i {
    font-size: 1.2rem;
    transition: transform 0.35s ease;
}

/* Visit School Office Button */
.office-btn {
    background: linear-gradient(135deg, #22d3ee, #0ea5e9);
    color: #042f2e;
}

.office-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(34,211,238,0.45);
}

.office-btn:hover i {
    transform: scale(1.15) rotate(-8deg);
}

/* Call Now Button */
.call-butn {
    background: linear-gradient(135deg, #fde047, #facc15);
    color: #422006;
}

.call-butn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(250,204,21,0.45);
}

.call-butn:hover i {
    transform: scale(1.2) rotate(8deg);
}

/* Ripple Hover Effect */
.admission-cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.18);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admission-cta-btn:hover::after {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .admission-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
.feature-btn {
  margin-bottom: 1.2rem;
}

.grid.grid-3 > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* CTA Buttons */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta-btns {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

/* Icons */
.cta-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Admission Button */
.cta-admission {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Call Button */
.cta-calls {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* Hover Effects */
.cta-btns:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.cta-btns::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-btns:hover::after {
  opacity: 1;
}

/* Click animation */
.cta-btns:active {
  transform: scale(0.96);
}

/* Mobile */
@media (max-width: 600px) {
  .cta-actions {
    flex-direction: column;
  }
  .cta-btns {
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}/* Center the action button inside each card */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Text center (already mostly, but force clean look) */
.feature-item h3,
.feature-item p {
  text-align: center;
}

/* Button center + spacing */
.feature-item .feature-btn {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smooth professional hover */
.feature-item .feature-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Ensure icon inside button stays centered */
.feature-item .feature-btn svg {
  display: block;
}
/* ===== Bounce animation ===== */
@keyframes softBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Apply bounce to all icon buttons */
.feature-btn {
  animation: softBounce 2.2s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Pause animation on hover */
.feature-btn:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* Hold effect on click */
.feature-btn:active {
  animation-play-state: paused;
  transform: translateY(0) scale(0.96);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
/* Button stays pressed after click */
.btn-clicked {
  transform: scale(0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: default;
}
.feature-item:nth-child(1) .feature-btn { animation-delay: 0s; }
.feature-item:nth-child(2) .feature-btn { animation-delay: 0.3s; }
.feature-item:nth-child(3) .feature-btn { animation-delay: 0.6s; }
.feature-item:nth-child(4) .feature-btn { animation-delay: 0.9s; }

/* Quick action button bounce */
.quick-btn {
  animation: quickBounce 2s infinite;
}

/* Pause animation on hover */
.quick-btn:hover {
  animation-play-state: paused;
}

/* Bounce keyframes */
@keyframes quickBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* After click (hold state) */
.quick-btn-clicked {
  animation: none !important;
  transform: scale(0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: default;
}
/* Wrapper */
.premium-cta {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* Button */
.cta-btn-pro {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.8rem;
  min-width: 220px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  animation: floatUp 3s ease-in-out infinite;
}

/* Secondary */
.cta-btn-pro.secondary {
  background: linear-gradient(135deg, #16b7eb, #037398);
  box-shadow: 0 12px 30px rgb(22,183,235);
}

/* Hover animation */
.cta-btn-pro:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* Icon */
.cta-icon {
  font-size: 1.8rem;
}

/* Text */
.cta-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.cta-text small {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Click hold */
.cta-btn-pro:active {
  transform: scale(0.97);
  animation: none;
}

/* Floating animation */
@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .cta-btn-pro {
    width: 100%;
    justify-content: center;
  }
}
/* ===============================
   MAP ACTION BUTTONS – FIXED
================================ */

.map-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    padding: 0.9rem 2rem;
    border-radius: 999px;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;

    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);

    position: relative;
    overflow: hidden;
}

/* ICON */
.action-btn .icon {
    font-size: 1.2rem;
}

/* ===============================
   GET DIRECTIONS (GREEN)
================================ */

.direction-btn {
    background: linear-gradient(135deg, #15803d, #16a34a);
}

.direction-btn:hover {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(22, 163, 74, 0.45);
}

/* ===============================
   CALL NOW (DARK)
================================ */

.call-btn {
    background: linear-gradient(135deg, #1f2937, #374151);
}

.call-btn:hover {
    background: linear-gradient(135deg, #374151, #4b5563);
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(31, 41, 55, 0.45);
}

/* ===============================
   SUBTLE PROFESSIONAL ANIMATION
================================ */

.action-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transition: all 0.6s ease;
}

.action-btn:hover::after {
    left: 100%;
}
/* ===========================
ABOUT HERO HEADER
=========================== */

.about-hero{

position:relative;
padding-top:110px;
overflow:hidden;

background:linear-gradient(
135deg,
#0f172a,
#016146,
#1e3a8a,
#052465,
#38bdf8
);

color:rgb(250, 252, 250);

animation:gradientMove 10s ease infinite;
background-size:300% 300%;
}

/* animated gradient */

@keyframes gradientMove{

0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}

}

/* layout */

.hero-content{

display:flex;
align-items:center;
gap:80px;

position:relative;
z-index:2;

flex-wrap:wrap;

}

/* logo */

.hero-logo{

flex:0 0 auto;
margin-left:40px;

}

.hero-logo img{

width:130px;

border-radius:16px;

box-shadow:0 15px 40px rgba(0,0,0,0.35);

animation:logoFloat 4s ease-in-out infinite;

}

/* floating animation */

@keyframes logoFloat{

0%{transform:translateY(0px)}
50%{transform:translateY(-10px)}
100%{transform:translateY(0px)}

}

/* text */

.hero-text{

max-width:850px;

animation:fadeUp 1.2s ease;

}

/* badge */

.admission-badge{

display:inline-block;

padding:7px 18px;

background:linear-gradient(135deg,#4d6ff5,#272de6);

border-radius:50px;

font-weight:600;

font-size:14px;

margin-bottom:15px;

box-shadow:0 0 15px rgba(0, 42, 255, 0.6);

animation:badgeGlow 2s infinite alternate;

}

@keyframes badgeGlow{

from{box-shadow:0 0 8px #272de6}
to{box-shadow:0 0 20px #4d6ff5}

}

/* title */

.hero-title{
font-size:46px;
font-weight:700;
margin-bottom:12px;

}

.hero-title span{

background:linear-gradient(90deg,#22c55e,#4ade80);

-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

}

/* subtitle */

.hero-subtitle{
opacity:0.9;
font-size: 2rem;
opacity: 0.9;
margin-bottom: 5rem;
font-size:24px;
font-weight:700;
}

/* text animation */

@keyframes fadeUp{

from{

opacity:0;
transform:translateY(30px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/* floating stickers */

.hero-icons span{

position:absolute;

font-size:28px;

opacity:0.6;

animation:iconFloat 6s ease-in-out infinite;

}

.hero-icons span:nth-child(1){

top:20%;
left:10%;

}

.hero-icons span:nth-child(2){

top:70%;
left:15%;

}

.hero-icons span:nth-child(3){

top:30%;
right:15%;

}

.hero-icons span:nth-child(4){

top:75%;
right:10%;

}

@keyframes iconFloat{

0%{transform:translateY(0)}
50%{transform:translateY(-15px)}
100%{transform:translateY(0)}

}

/* mobile */

@media(max-width:768px){

.hero-content{

flex-direction:column;
text-align:center;
gap:30px;

}

.hero-logo{

margin-left:0;

}

.hero-logo img{

width:100px;

}

.hero-title{

font-size:32px;

}

}
/* JOURNAL SECTION */

.journal-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
margin-top:40px;
align-items:start;
}

.journal-card{

background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:all 0.4s ease;

}
.journal-card.expanded{
grid-column:1 / -1;
}
.journal-card:hover{

transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.15);

}

.journal-card img{

width:100%;
height:200px;
object-fit:cover;

}

.journal-content{

padding:25px;

}

.journal-content h3{

margin-bottom:12px;
color:#1e3a8a;

}

.journal-content p{

color:#555;
margin-bottom:20px;

}

.journal-btn{

text-decoration:none;
font-weight:600;
color:#2563eb;

}

.journal-btn:hover{

color:#1e40af;

}
.more-text{
display:none;
}

.journal-text{
color:#555;
line-height:1.6;
}

.read-more-btn{

background:none;
border:none;
color:#2563eb;
font-weight:600;
cursor:pointer;
margin-top:10px;

}

.read-more-btn:hover{
color:#1e40af;
}

