/* Global Styles */
:root {
    --primary-color: #2a7de1;
    --secondary-color: #ff9f43;
    --accent-color: #4a94f1;
    --light-color: #f5f6fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 125, 225, 0.3);
}

.btn-secondary {
    background: linear-gradient(to right, var(--secondary-color), #f7b267);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(to right, #f7b267, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 159, 67, 0.3);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/Children-Enjoying-Books-Outdoors.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

/*
.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
*/

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px; /* Adjust as needed */
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.about-image img:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .about-image {
        max-width: 80%;
    }
}


/* Benefits Section */
.benefits {
    background-color: var(--light-color);
}

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

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Plans Section */
.plan-category {
    margin-bottom: 50px;
}

.plan-category h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

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

.plan-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.plan-header h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.plan-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.plan-features {
    padding: 20px;
}

.plan-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.plan-features ul li:last-child {
    border-bottom: none;
}

.plan-pricing {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

.price-option {
    text-align: center;
}

.price-option h5 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.plan-card .btn {
    display: block;
    margin: 20px;
}

.plan-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.special-edition .plan-header {
    background-color: var(--secondary-color);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Reviews Section */
.reviews {
    background-color: var(--light-color);
}

.reviews-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 30px;
}

.review-card {
    min-width: 100%;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
}

.review-content {
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer Styles */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 30px;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.newsletter-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    margin-top: 15px;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 2px solid var(--primary-color);
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 280px;
}

.newsletter-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.newsletter-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.newsletter-btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

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

.developer-credits {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.developer-credits a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credits a:hover {
    color: var(--primary-color);
}

.developer-credits i {
    margin-left: 5px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .footer-column {
        flex: 100%;
        padding-right: 0;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 15px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .plan-pricing {
        flex-direction: column;
    }
    
    .price-option {
        margin-bottom: 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Subscription form styles */
#subscriptionDetails {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--box-shadow);
}

#subscriptionDetails h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.subscription-info p {
    margin-bottom: 15px;
}

.subscription-info strong {
    color: var(--dark-color);
}

.price-info {
    margin-top: 15px;
    font-size: 1.1rem;
}

.price-info #subscriptionPrice {
    color: var(--primary-color);
    font-weight: 600;
}

/* Make all plan cards the same height */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.plan-features {
    flex-grow: 1;
}

/* Fix nested plans-grid in special edition */
.special-edition .plans-grid .plans-grid {
    display: block;
    margin: 0;
}

/* Contact Form */

/* School Partnerships CTA */
.school-partnerships-cta {
    background: linear-gradient(45deg, rgba(42, 125, 225, 0.9), rgba(74, 148, 241, 0.9));
    color: white;
    text-align: center;
    padding: 40px 0;
    margin: 20px 0;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(42, 125, 225, 0.3);
}

.school-partnerships-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png'), linear-gradient(45deg, rgba(42, 125, 225, 0.8), rgba(74, 148, 241, 0.8));
    opacity: 0.15;
    z-index: 1;
}

.school-partnerships-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.school-partnerships-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.school-partnerships-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.schools-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.school-logo {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.school-logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    border-radius: 50%;
    z-index: 1;
}

.school-logo::after {
    content: 'School';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 2;
}

.school-logo:nth-child(2)::after {
    content: 'Partner';
}

.school-logo:nth-child(3)::after {
    content: 'Academy';
}

.school-logo img {
    display: none;
}

.school-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

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

.btn-white:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* End of School Partnerships CTA */

/* Form Validation Styling */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 1rem;
    font-weight: 500;
    padding-left: 5px;
    border-left: 2px solid #e74c3c;
    display: none;
    transition: all 0.3s ease;
}

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

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.phone-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.phone-input-group select {
    width: 30%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
}

.phone-input-group input {
    width: 70%;
}

.submit-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.submit-status.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.submit-status.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

.form-container {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.radio-label {
    font-weight: normal;
}

.consent-checkbox {
    margin-top: 10px;
}

.consent-checkbox label {
    font-size: 0.9rem;
    font-weight: normal;
}

.error-message {
    color: #d9534f;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.submit-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    text-align: center;
    display: none;
}

.submit-status.success {
    background-color: #dff0d8;
    color: #3c763d;
    display: block;
}

.submit-status.error {
    background-color: #f2dede;
    color: #a94442;
    display: block;
}

.submit-status.loading {
    background-color: #f5f5f5;
    color: #333;
    display: block;
}

@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
} 
