:root {
    --primary-color: #003366; /* Deep Professional Blue */
    --accent-color: #FF7B00;  /* Vibrant Action Orange */
    --text-dark: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}
/* Updated Navbar Container */
.navbar {
    display: flex;
    align-items: center;
    padding: 0.8rem 5%;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Remove justify-content: space-between; */
    gap: 40px; /* This creates the consistent spacing between Logo and Nav Links */
}
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

/* THE SECRET SAUCE: Pushes the Auth Section to the far right */
.auth-section {
    margin-left: auto; 
    display: flex;
    align-items: center;
    gap: 20px;
}.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}
.logo-area {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between image and text */
    text-decoration: none; /* Removes underline from link */
}
/* Professional touch for the brand link */
.logo-wrapper {
    margin-right: 10px; /* Extra breathing room from the links */
}
.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1; /* Makes the stacked text tight and professional */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #003366; /* Matching your primary Deep Blue */
    transition: var(--transition);
}

/* Second line of the name (Africa) */
.brand-name span {
    color: #FF7B00; /* Matching your accent Orange */
    font-size: 1.2rem; /* Slightly larger for emphasis */
}

/* Hover effect for the whole logo area */
.logo-wrapper:hover .brand-name {
    transform: scale(1.02);
}


/* Ensure Nav Links lean left */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}
/* THE SECRET SAUCE: Pushes the Auth Section to the far right */
.auth-section {
    margin-left: auto; 
    display: flex;
    align-items: center;
    gap: 20px;
}
.login-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .form-card {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.form-header { margin-bottom: 25px; text-align: center; }
.form-header h3 { color: var(--primary-color); font-size: 1.8rem; margin-bottom: 5px; }

/* Form Elements */
form input, form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

form input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #e66e00;
    letter-spacing: 1px;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.switch-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.switch-text a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide for mobile toggle */
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: white; padding: 20px;
    }
    .nav-links.mobile-active { display: flex; }
    .menu-btn { display: block; font-size: 1.5rem; cursor: pointer; }
}

/**slider css*/
.home {
    position: relative;

   z-index: 1; /* Lower than navbar's 1000 */
    overflow: hidden;
    background: #000;
}

.slider {
    width: 100%;
    height: calc(100vh - 80px); /* Full screen minus nav height */
    position: relative;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

/* Professional Dark Overlay so text pops */
.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.8) 20%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.slide img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.slide .content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
    opacity: 0;
}

.slide.active .content {
    transform: translateY(0);
    opacity: 1;
}

.content h3 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #fff;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}
/*mission goals section*/
/* --- Core Values Section Styles --- */
.core-values-section {
    padding: 80px 20px;
    background-color: #fcfcfc; /* Soft White */
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #FFD700; /* Gold */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-title h2 {
    color: #1a1a1a; /* Dark */
    font-size: 2.5rem;
    margin-top: 10px;
    font-weight: 800;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eef0f2;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700; /* Gold */
}

/* Make Mission Stand Out */
.value-card.featured {
    background: #1a1a1a; /* Dark */
    color: #ffffff;
}

.value-card.featured h3 {
    color: #FFD700; /* Gold */
}

.value-card.featured p {
    color: #bbbbbb;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #fffdf0; /* Very light gold tint */
    color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.featured .value-icon {
    background: rgba(255, 215, 0, 0.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.value-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.value-details {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.value-details li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-details li i {
    color: #FFD700;
}

@media (max-width: 768px) {
    .section-title h2 { font-size: 2rem; }
}
/* Button Styling */
.btn-group {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-main {
    background: #FF7B00; /* Logo Orange */
    color: white;
}

.btn-main:hover {
    background: #e66e00;
    transform: translateY(-3px);
}

.btn-alt {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-alt:hover {
    background: white;
    color: #003366;
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #FF7B00;
    width: 30px;
    border-radius: 10px;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .content h3 { font-size: 2.2rem; }
    .content p { font-size: 1rem; }
    .home { height: 60vh; }
}
/* Services Section Layout */
.services {
    padding: 80px 10%;
    background: #fdfdfd; /* Light gray background to make white cards pop */
    text-align: center;
}

.services-header {
    margin-bottom: 50px;
}

.heading {
    font-size: 2.5rem;
    color: #003366; /* Deep Navy */
    margin-bottom: 10px;
}

.heading span {
    color: #FF7B00; /* Vibrant Orange */
}

.sub-heading {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Container - Responsive Grid */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Individual Card Styling */
.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    border-bottom: 4px solid #003366; /* Accent border at bottom */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: left; /* Professional left-aligned text */
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
    border-bottom-color: #FF7B00; /* Changes to Orange on hover */
}

/* Icon Styling */
.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 123, 0, 0.1); /* Very light orange background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.3s;
}

.icon-box i {
    font-size: 2rem;
    color: #FF7B00; /* Main Orange */
}

.service-card:hover .icon-box {
    background: #FF7B00;
}

.service-card:hover .icon-box i {
    color: #fff;
}

/* Typography inside cards */
.service-card h3 {
    font-size: 1.4rem;
    color: #003366;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Link Styling */
.service-link {
    text-decoration: none;
    color: #FF7B00;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.service-link:hover {
    gap: 12px; /* Moves arrow slightly on hover */
    color: #003366;
}

/* Responsive Mobile Tweaks */
@media (max-width: 768px) {
    .services { padding: 50px 5%; }
    .heading { font-size: 2rem; }
}
/**why choose us*/
.why-choose-us {
    padding: 100px 10%;
    background: #ffffff;
    overflow: hidden;
}

.why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-us .row {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.why-content {
    flex: 1;
    min-width: 400px;
}

.upper-title {
    color: #FF7B00; /* Brand Orange */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-content .heading {
    font-size: 2.8rem;
    color: #003366; /* Deep Navy */
    line-height: 1.2;
    margin-bottom: 25px;
}

.why-content .heading span {
    color: #FF7B00;
}

.description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Feature Bullets */
.feature-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #003366;
    font-size: 0.95rem;
}

.bullet i {
    color: #FF7B00;
}

/* Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s all ease;
    margin-top: 10px;
}

.read-more-btn:hover {
    background: #FF7B00;
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(255, 123, 0, 0.3);
}

/* Image Box Styling */
.image-box {
    flex: 1;
    min-width: 400px;
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

/* Decorative background behind image */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 10px solid #f0f4f8;
    z-index: -1;
    border-radius: 20px;
}

.image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

/* Floating Badge */
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: #FF7B00;
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .why-content, .image-box { min-width: 100%; }
    .why-content .heading { font-size: 2.2rem; }
    .image-box { margin-top: 50px; }
    .experience-badge { left: 20px; }
}
/* Video Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #FF7B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}

.video-play-btn:hover {
    background: #003366;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Pulsing Effect */
.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #FF7B00;
    opacity: 0.6;
    z-index: -1;
    animation: videoPulse 2s infinite;
}

@keyframes videoPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Video Modal Overlay */
.video-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.video-overlay.active { display: flex; }

.video-container {
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.close-video {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
/**subject pdf sectio**/
.subjects {
    padding: 80px 10%;
    background:linear-gradient(135deg, #003366 0%, #001a33 100%); /* Soft contrast background */
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Grid Layout */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Card Design */
.subject-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.subject-card:hover {
    transform: translateY(-8px);
    border-color: #FF7B00; /* Logo Orange border on hover */
    box-shadow: 0 12px 25px rgba(0, 51, 102, 0.1);
}

/* Icon Styling */
.s-icon {
    font-size: 2.5rem;
    color: #003366; /* Logo Navy */
    margin-bottom: 15px;
    transition: 0.3s;
}

.subject-card:hover .s-icon {
    color: #FF7B00;
    transform: scale(1.1);
}

.subject-card h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 8px;
}

.subject-card p {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Centered Button Container */
.btn-container-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: #FF7B00; /* Bold Orange */
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(255, 123, 0, 0.3);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #003366; /* Switch to Navy on hover */
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
    transform: scale(1.05);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .subjects { padding: 60px 5%; }
    .subject-grid { grid-template-columns: 1fr 1fr; } /* 2 columns on mobile */
}

@media (max-width: 480px) {
    .subject-grid { grid-template-columns: 1fr; } /* 1 column on small phones */
}
/*course section slider
*/
.course-slider-section {
    padding: 60px 10%;
    background: #ffffff;
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.course-card-small {
    flex: 0 0 calc(25% - 15px); /* 4 cards on desktop */
    min-width: 250px;
    height: 180px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.course-card-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.course-card-small:hover img {
    transform: scale(1.1);
}

/* Text Overlay Styling */
.card-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(transparent, rgba(0, 51, 102, 0.9)); /* Brand Navy Gradient */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.course-card-small h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Slide Buttons */
.slide-btn {
    background: #FF7B00; /* Brand Orange */
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 123, 0, 0.3);
    z-index: 10;
    transition: 0.3s;
}

.slide-btn:hover {
    background: #003366;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .course-card-small { flex: 0 0 calc(33.33% - 15px); }
}
@media (max-width: 768px) {
    .course-card-small { flex: 0 0 calc(50% - 10px); }
    .course-slider-section { padding: 40px 5%; }
}
/**newsletter form*/
.newsletter-section {
        padding: 60px 20px;
        background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%); /* African Sunset Gradient */
        border-radius: 20px;
        margin: 40px auto;
        max-width: 1000px;
        text-align: center;
    }
    .newsletter-container { position: relative; }
    .newsletter-content h2 { font-size: 2rem; color: #1a1a1a; margin-bottom: 10px; }
    .newsletter-content .highlight { color: #8B4513; text-shadow: 1px 1px #fff; }
    .newsletter-content p { color: #444; margin-bottom: 30px; font-weight: 500; }
    
    .subscribe-form {
        display: flex;
        justify-content: center;
        gap: 10px;
        max-width: 600px;
        margin: 0 auto;
    }
    .subscribe-form input {
        flex: 1;
        padding: 15px 20px;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .subscribe-form button {
        padding: 15px 35px;
        background: #8B4513; /* Earthy Brown */
        color: white;
        border: none;
        border-radius: 50px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }
    .subscribe-form button:hover { background: #5D2E0A; transform: translateY(-2px); }

    .alert {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 10px;
        font-weight: bold;
    }
    .alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
    .alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.badge {
    display: inline-block;
    background: rgba(255, 123, 0, 0.2);
    color: #FF7B00;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.text-area h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.text-area p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* Form Styling - Glassmorphism */
.newsletter-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.input-field {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 20px;
}

.input-field .icon {
    color: #FF7B00;
    margin-right: 15px;
}

.input-field input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 1rem;
}

.input-field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Button Styling */
.subscribe-btn {
    background: #FF7B00;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-btn:hover {
    background: #fff;

    color: #003366;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.alert {
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.privacy-note {
    margin-top: 25px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .newsletter-input-wrapper {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 15px;
    }
    
    .input-field {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px 20px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }
    
    .text-area h3 { font-size: 1.8rem; }
}
/**toast notificatio*/
.toast-notification {
    position: fixed;
    top: 30px;
    right: -400px; /* Start hidden off-screen */
    background: #fff;
    padding: 20px 25px 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 6px solid #FF7B00; /* Brand Orange */
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.toast-notification.active {
    right: 30px;
}

.toast-content {
    display: flex;
    align-items: center;
}

.toast-icon {
    font-size: 35px;
    color: #FF7B00;
}

.toast-message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.toast-message .text-1 {
    font-weight: 800;
    color: #003366; /* Brand Navy */
    font-size: 1.1rem;
}

.toast-message .text-2 {
    color: #666;
    font-size: 0.9rem;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.toast-close:hover { color: #333; }

/* Progress Bar Timer */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #ddd;
}

.toast-progress::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: #FF7B00;
}

.toast-notification.active .toast-progress::before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% { right: 100%; }
}

/*testimonial slider*/
.testimonials {
    padding: 100px 10%;
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-header .heading {
    color: #fff;
    font-size: 2.5rem;
}

.testimonial-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Glass Card Design */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05); /* Very transparent white */
    backdrop-filter: blur(15px); /* The "Glass" effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #FF7B00; /* Orange glow on hover */
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.user-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF7B00; /* Brand Orange Border */
}

.user-info h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stars {
    color: #FF7B00;
    font-size: 0.9rem;
}

.message {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.quote-icon {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(255, 123, 0, 0.15); /* Faded orange quote */
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials { padding: 60px 5%; }
    .testimonial-header .heading { font-size: 2rem; }
}
/*footer section*/
:root {
    --brand-yellow: #FFD700; /* Professional Gold/Yellow */
    --wa-green: #25D366;
}

/* Footer General */
.footer {
    background: #0f0f0f;
    color: #bbb;
    padding: 80px 0 0;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    color: var(--brand-yellow);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Links & Icons */
.footer-box ul { list-style: none; padding: 0; }
.footer-box ul li { margin-bottom: 12px; }
.footer-box ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: var(--brand-yellow);
    padding-left: 8px;
}

.social-icons a {
    color: var(--brand-yellow);
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
    filter: brightness(1.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i { color: var(--brand-yellow); }

/* Bottom Bar */
.footer-bottom {
    background: #000;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 60px;
}

.footer-bottom a {
    color: var(--brand-yellow);
    text-decoration: none;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--wa-green);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover { transform: scale(1.05); }

/* Scroll Top Button */
#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--brand-yellow);
    color: #000;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    transition: 0.3s;
}

#scroll-top:hover { background: #fff; }
/**contact pagecss*/
/* Header Section */
.heading-link {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), 
                url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 60px 10%;
    text-align: center;
    color: #fff;
}

.heading-link h3 { font-size: 3rem; text-transform: uppercase; }
.heading-link p a { color: #FF7B00; text-decoration: none; }

/* Info Cards */
.contact-info { padding: 80px 10%; background: #f9f9f9; }
.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 4px solid transparent;
}

.info-card:hover { 
    transform: translateY(-5px); 
    border-top-color: #FF7B00;
}

.circle-icon {
    width: 60px; height: 60px;
    background: rgba(255, 123, 0, 0.1);
    color: #FF7B00;
    line-height: 60px;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.info-card h3 { color: #003366; margin-bottom: 10px; }
.info-card p { color: #666; font-size: 0.9rem; }

/* Form & Map Section */
.contact-form-section { padding: 80px 10%; }
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0; /* Flush design */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.map-box { flex: 1 1 400px; min-height: 450px; }
.form-box { flex: 1 1 500px; padding: 50px; background: #fff; }

.contact-form h3 { font-size: 2rem; color: #003366; margin-bottom: 5px; }
.contact-form p { color: #777; margin-bottom: 30px; }

.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #f4f7f8;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #FF7B00;
    background: #fff;
    outline: none;
}

.main-btn {
    background: #FF7B00;
    color: #fff;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.main-btn:hover { background: #003366; }

@media (max-width: 768px) {
    .input-grid { grid-template-columns: 1fr; }
    .form-box { padding: 30px; }
}
/*schoolpage*/
/* --- School Registration Section Styling --- */

:root {
    --navy: #003366;
    --orange: #FF7B00;
    --academic-bg: #f0f4f8; /* Soft blue-grey background */
    --white: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --border-color: #dce4ec;
}

/* Header / Breadcrumb */
.heading-link {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.85)), 
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 10%;
    text-align: center;
    color: var(--white);
}

.heading-link h3 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.heading-link p a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.heading-link p a:hover {
    color: var(--white);
}

/* Main Section Layout */
.school-registration {
    background-color: var(--academic-bg);
    padding: 80px 10%;
}

.registration-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

/* Left Side: Info Content */
.registration-info {
    flex: 1;
    min-width: 350px;
}

.registration-info h1 {
    font-size: 2.8rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.registration-info h1 span {
    color: var(--orange);
}

.registration-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.benefits {
    list-style: none;
    padding: 0;
}

.benefits li {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.benefits li i {
    color: var(--orange);
    font-size: 1.2rem;
}

/* Right Side: Form Box */
.registration-form-box {
    flex: 1.2;
    min-width: 400px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
}

.styled-form .input-field {
    margin-bottom: 20px;
}

.styled-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.styled-form input, 
.styled-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background: #fdfdfd;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.styled-form input:focus, 
.styled-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 10px rgba(255, 123, 0, 0.1);
}

/* Flex Row for Email/Phone and Location/Town */
.flex-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.flex-row .input-field {
    flex: 1;
    min-width: 180px;
}

/* Terms Checkbox */
.terms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.terms input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
}

.terms label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}

/* Submit Button */
.main-btn {
    width: 100%;
    background: var(--orange);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

.main-btn:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2);
}

/* Responsive Tablet/Mobile */
@media (max-width: 991px) {
    .registration-container {
        flex-direction: column;
    }
    .registration-info, .registration-form-box {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .school-registration {
        padding: 60px 5%;
    }
    .heading-link h3 {
        font-size: 2.2rem;
    }
}
/*booking form**/
/* Color Palette Variables - Ensure these are defined in your main CSS */
:root {
    --navy: #003366;
    --orange: #FF7B00;
    --white: #ffffff;
    --input-bg: #f4f7f9; /* Soft grey-blue to replace black */
    --text-dark: #333333; /* Dark text for visibility */
    --bg-gradient: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
}

.booking-section {
    background: var(--bg-gradient);
    padding: 60px 10%;
    min-height: 80vh;
}

/* Success Alert at Top */
.booking-alert {
    max-width: 850px;
    margin: 0 auto 30px;
    background: #d4edda;
    border-left: 5px solid #28a745;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 8px;
    color: #155724;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.booking-alert i { font-size: 1.5rem; }

/* Form Container */
.booking-container {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.1);
}

.booking-text { text-align: center; margin-bottom: 40px; }
.booking-text h2 { color: var(--navy); font-size: 2.2rem; margin-bottom: 10px; }
.booking-text h2 span { color: var(--orange); }
.booking-text p { color: #666; line-height: 1.6; }

/* Form Elements */
.input-group { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.input-field { flex: 1; min-width: 250px; margin-bottom: 20px; }

.input-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
}

.input-field label i { color: var(--orange); margin-right: 5px; }

/* FIXED: Visibility and Professionalism */
.input-field input, 
.input-field select, 
.input-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #dce4ec; /* Light border instead of black */
    border-radius: 8px;
    background: var(--input-bg); /* Soft light background */
    font-size: 1rem;
    color: var(--text-dark); /* Ensure text is visible */
    transition: all 0.3s ease;
}

/* Hover/Focus States */
.input-field input:focus, 
.input-field select:focus, 
.input-field textarea:focus {
    border-color: var(--orange);
    outline: none;
    background: var(--white); /* Turns white when typing for max focus */
    box-shadow: 0 0 10px rgba(255, 123, 0, 0.15);
    color: #000; /* Force black text on focus */
}

/* Button */
.booking-btn {
    width: 100%;
    background: var(--orange);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.booking-btn:hover {
    background: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.2);
}

@media (max-width: 768px) {
    .booking-container { padding: 30px 20px; }
    .input-group { gap: 0; }
}
/*css worksheet*/
:root {
    --navy: #003366;
    --orange: #FF7B00;
    --bg-light: #f4f7f9;
}

/* Controls (Search & Filter) */
.controls {
    padding: 30px 10%;
    background: var(--bg-light);
}

.search-filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.input-box, .select-box {
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #dce4ec;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 250px;
}

.input-box input, .select-box select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

.filter-btn {
    background: var(--navy);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Grid Layout */
.worksheet-grid { padding: 50px 10%; }
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.worksheet-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    transition: 0.3s;
}

.worksheet-card:hover { transform: translateY(-5px); border-color: var(--orange); }

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 50px;
}

.icon-box { font-size: 3rem; color: var(--navy); margin-bottom: 15px; }

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin: 15px 0;
}

.add-btn {
    background: var(--orange);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: 700;
    transition: 0.3s;
}/*workshee*/
/* Toast Notification */
.cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--navy);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
    border-left: 5px solid var(--orange);
}

.cart-toast.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

/* Cart Counter Animation */
#cart-count {
    display: inline-block;
    transition: transform 0.2s ease;
}

.cart-bump {
    transform: scale(1.5);
    background-color: var(--orange) !important;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.add-btn:hover { background: var(--navy); }
/*pastpaper page*/
/* Product Detail Modal Layout */
.product-detail-card {
    background: #fff;
    width: 90%;
    max-width: 900px;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.product-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap; /* Responsive for mobile */
}

/* Left Side: The Image */
.product-img-side {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.product-img-side img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Right Side: The Information */
.product-info-side {
    flex: 1.5;
    min-width: 300px;
}

#modalTitle {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-price {
    font-size: 1.5rem;
    color: #B12704; /* Amazon Red-Price Color */
    font-weight: bold;
    margin-bottom: 20px;
}

#modalDesc {
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

/* Preview Snippet Box */
.preview-box {
    background: #f7f7f7;
    border-left: 5px solid #FFD700; /* Your Gold Branding */
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.preview-box pre {
    white-space: pre-wrap;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #555;
}

/* Modal Add to Cart Button */
#modalAddToCart {
    width: 100%;
    padding: 15px;
    background: #FFD700; /* Gold */
    color: #111;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s;
}

#modalAddToCart:hover {
    background: #e6c200;
    transform: translateY(-2px);
}
/* --- Filter Section --- */
.archive-filter {
    background: #fff;
    padding: 30px 10%;
    border-bottom: 1px solid #eee;
}

.filter-box {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.search-form {
    flex: 2;
    position: relative;
    min-width: 280px;
}

.search-form i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy);
}

.search-form input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.search-form input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 10px rgba(255, 123, 0, 0.1);
}

.category-select {
    flex: 1;
    min-width: 200px;
}

.category-select select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

/* --- Paper Grid Styling --- */
.papers-archive {
    padding: 50px 10%;
    background: #f8fafc;
}

.paper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.paper-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
    overflow: hidden;
}

.paper-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.paper-icon {
    background: var(--navy);
    padding: 40px;
    text-align: center;
    position: relative;
    color: #fff;
}

.paper-icon i { font-size: 3.5rem; }

.year-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--orange);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.paper-info { padding: 20px; text-align: center; }
.paper-info h3 { color: var(--navy); margin-bottom: 5px; font-size: 1.2rem; }
.paper-info p { color: #666; margin-bottom: 10px; }
.paper-info .price { font-size: 1.4rem; font-weight: 800; color: var(--navy); }

.paper-actions { padding: 0 20px 20px; }
.cart-btn {
    width: 100%;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cart-btn:hover { background: var(--navy); }
/*about page*/
/* --- About Page Styles --- */

.about-story {
    padding: 80px 10%;
    background: #fff;
}

.about-story .container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-story .content { flex: 1; min-width: 350px; }
.about-story .image { flex: 1; min-width: 350px; }
.about-story .image img { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0 var(--navy); }

.subtitle {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.about-story h2 { font-size: 2.5rem; color: var(--navy); margin-bottom: 20px; }
.about-story p { line-height: 1.8; color: #666; margin-bottom: 30px; }

.stats { display: flex; gap: 30px; }
.stat-box h3 { color: var(--navy); font-size: 2rem; }
.stat-box p { font-weight: bold; color: var(--orange); }

/* --- Leadership Section --- */

.leadership {
    padding: 80px 10%;
    background: #f9f9f9;
}

.center-title { text-align: center; margin-bottom: 60px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid #eee;
}

.team-card:hover { transform: translateY(-10px); border-color: var(--orange); }

.member-img {
    width: 120px;
    height: 120px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
}

.member-info h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 5px; }
.member-info span { color: var(--orange); font-weight: 600; display: block; margin-bottom: 15px; }
.member-info p { font-size: 0.95rem; color: #777; line-height: 1.6; }

.socials { margin-top: 20px; display: flex; justify-content: center; gap: 15px; }
.socials a { color: var(--navy); font-size: 1.2rem; transition: 0.3s; }
.socials a:hover { color: var(--orange); }


/*service page*/
/* --- Services Page Styles --- */

.services-grid {
    padding: 80px 10%;
    background: #fdfdfd;
}

.center-title {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 51, 102, 0.05);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: 0.3s;
}

.service-card:hover .service-icon {
    background: var(--orange);
    color: #fff;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.service-card p {
    color: #777;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- CTA Section --- */

.cta-section {
    padding: 100px 10%;
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), 
                url('http://googleusercontent.com/image_collection/image_retrieval/7567237335399132622_0');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.cta-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-content p { font-size: 1.1rem; margin-bottom: 40px; opacity: 0.9; }

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #fff;
    transition: 0.3s;
}

.btn-primary:hover { background: #e66f00; }
.btn-secondary:hover { background: #fff; color: var(--navy); }
/*Dnation page*//* --- Donation Page Styles --- */
/* ────────────────────────────────────────────────
   Mobile-first base styles (default = phone)
───────────────────────────────────────────────── */

/* Reset / base typography for small screens */
* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #1e293b;
}
.heading-link {
    position: relative;
    background: 
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url('img/afri6.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.heading-link .overlay {
    z-index: 2;
}

.heading-link h3 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
}

.heading-link p {
    font-size: 18px;
}

.heading-link a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.heading-link a:hover {
    text-decoration: underline;
}
/* ────────────────────────────────────────────────
   Main donation container
───────────────────────────────────────────────── */
.donation-container {
    padding: 0 1rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.donation-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.donation-text h1 {
    font-size: 1.8rem;
    margin: 0.8rem 0 1.2rem;
}

.donation-text h1 span {
    color: #6366f1;
}

.donation-text .sub-heading {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.impact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.i-card {
    background: #f1f5f9;
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.i-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
    color: #1e293b;
}

/* Form card */
.donation-form-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.donation-form-card h3 {
    font-size: 1.35rem;
    margin: 1.5rem 0 1rem;
    color: #1e293b;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.amt-btn {
    flex: 1 1 80px;
    min-width: 80px;
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.amt-btn.active,
.amt-btn:hover {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

#customAmt {
    flex: 1 1 100%;
    padding: 0.9rem;
    font-size: 1.05rem;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pay-option {
    display: block;
}

.pay-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
}

.pay-option input:checked + .pay-box {
    border-color: #6366f1;
    background: rgba(99,102,241,0.05);
}

.donor-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.donor-details input {
    padding: 0.9rem;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 100%;
}

.main-btn {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* ────────────────────────────────────────────────
   Tablet & up (≥ 768px)
───────────────────────────────────────────────── */
@media (min-width: 768px) {

    .heading-link {
        margin: 0 2rem 2.5rem;
        padding: 1.8rem 2.5rem;
    }

    .heading-link h3 {
        font-size: 1.65rem;
    }

    .heading-link .breadcrumb {
        font-size: 1.05rem;
    }

    .donation-container {
        padding: 0 2rem 3rem;
        max-width: 1100px;
    }

    .donation-grid {
        flex-direction: row;
        gap: 2.5rem;
    }

    .donation-text {
        flex: 1 1 55%;
    }

    .donation-form-card {
        flex: 1 1 45%;
        align-self: start;
        position: sticky;
        top: 1.5rem;
    }

    .donation-text h1 {
        font-size: 2.4rem;
    }

    .impact-cards {
        flex-direction: row;
        gap: 1.5rem;
    }

    .i-card {
        flex: 1;
    }

    .amount-buttons {
        flex-wrap: nowrap;
    }

    #customAmt {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .payment-methods {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .pay-option {
        flex: 1 1 45%;
    }

    .donor-details {
        flex-direction: row;
    }

    .donor-details input {
        flex: 1;
    }
}

/* Large desktop (≥ 1024px) – optional polish */
@media (min-width: 1024px) {

    .donation-container {
        max-width: 1200px;
        padding: 0 3rem 4rem;
    }

    .donation-text h1 {
        font-size: 2.8rem;
    }

    .donation-form-card {
        padding: 2rem 2.2rem;
    }
}

/* Very small phones – rare extra safety (≤ 360px) */
@media (max-width: 360px) {
    .heading-link {
        padding: 1.2rem 1rem;
        margin: 0 0.8rem 1.2rem;
    }

    .amt-btn {
        padding: 0.8rem 0.9rem;
        font-size: 0.95rem;
    }
}
  /*sitemap css*/
  :root {
    --primary: #1a2a6c;
    --accent: #fdbb2d;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    padding: 50px 20px;
}

.sitemap-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sitemap-header {
    text-align: center;
    margin-bottom: 50px;
}

.sitemap-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.sitemap-column h3 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-column ul {
    list-style: none;
    padding: 0;
}

.sitemap-column ul li {
    margin-bottom: 12px;
}

.sitemap-column ul li a {
    text-decoration: none;
    color: #555;
    transition: 0.3s;
    display: block;
    padding: 5px 0;
}

.sitemap-column ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
    font-weight: 500;
}

.sitemap-footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.back-btn {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .sitemap-container { padding: 20px; }
}
/* Professional Terms Styling */
:root {
    --primary-color: #1a2a6c;
    --accent-color: #fdbb2d;
    --text-dark: #333;
    --text-light: #777;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    margin: 0;
    padding: 40px 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

.terms-container {
    max-width: 850px;
    margin: 0 auto;
}

.terms-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 8px solid var(--primary-color);
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.terms-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 10px;
}

.terms-content .section {
    margin-bottom: 30px;
}

.terms-content h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.terms-content h3 i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.terms-content p {
    color: #555;
    text-align: justify;
}

.terms-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.print-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.print-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 600px) {
    .terms-card { padding: 25px; }
    .terms-footer { flex-direction: column; gap: 20px; text-align: center; }
}
