/* Google Font Poppins is already imported in the HTML */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header Styles */
.header {
    background-color: #2c7a7b;
    padding: 15px 0;
    color: white;
}

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

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-size: 14px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #e0e0e0;
}

/* Hero Section */
.hero {
    background-color: #2c7a7b;
    color: white;
    padding: 40px 0 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    margin-bottom: 30px;
    font-size: 15px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #2c7a7b;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: left;
    margin-bottom: 30px;
}

.section-title {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.section-heading {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

/* Delivery Section */
.delivery {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.delivery h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.delivery-content p {
    margin-bottom: 15px;
    font-size: 15px;
}

/* Book Section Styles */
.book-section, .english-books {
    padding: 80px 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.book-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.book-image {
    height: 250px;
    overflow: hidden;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 15px 10px;
}

.book-card p {
    font-size: 14px;
    color: #666;
    margin: 0 15px 15px;
}

/* Articles Section */
.articles {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 15px 10px;
}

.article-card p {
    font-size: 14px;
    color: #666;
    margin: 0 15px 15px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
}

.newsletter-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.newsletter-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-content {
    flex: 1;
}

.newsletter h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.newsletter p {
    margin-bottom: 30px;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    border: none;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 5px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    display: none; /* Initially hidden, will be shown via JS */
}

.cookie-popup h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
}

.cookie-popup p {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-button {
    padding: 10px 30px;
    border-radius: 30px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reject {
    background-color: #e0e0e0;
    color: #333;
}

.accept {
    background-color: #2c7a7b;
    color: white;
}

.cookie-button:hover {
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .books-grid, .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container, .newsletter-container {
        flex-direction: column;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .hero-image, .newsletter-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .books-grid, .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}




.success-section {
    padding: 80px 0;
    min-height: calc(100vh - 250px); /* Adjust to ensure footer is at bottom */
    display: flex;
    align-items: center;
}

.success-container {
    text-align: left;
    max-width: 800px;
}

.success-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.success-section p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.6;
}

.success-section .cta-button {
    background-color: #2c7a7b;
    color: white;
    display: inline-block;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header Styles */
.header {
    background-color: #2c7a7b;
    padding: 15px 0;
    color: white;
}

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

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-size: 14px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #e0e0e0;
}

/* Hero Section */
.hero {
    background-color: #2c7a7b;
    color: white;
    padding: 40px 0 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    margin-bottom: 30px;
    font-size: 15px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #2c7a7b;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: left;
    margin-bottom: 30px;
}

.section-title {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.section-heading {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

/* Delivery Section */
.delivery {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.delivery h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.delivery-content p {
    margin-bottom: 15px;
    font-size: 15px;
}

/* Book Section Styles */
.book-section, .english-books {
    padding: 80px 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.book-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.book-image {
    height: 250px;
    overflow: hidden;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 15px 10px;
}

.book-card p {
    font-size: 14px;
    color: #666;
    margin: 0 15px 15px;
}

/* Articles Section */
.articles {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 15px 10px;
}

.article-card p {
    font-size: 14px;
    color: #666;
    margin: 0 15px 15px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
}

.newsletter-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.newsletter-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-content {
    flex: 1;
}

.newsletter h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.newsletter p {
    margin-bottom: 30px;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    border: none;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 5px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    display: none; /* Initially hidden, will be shown via JS */
}

.cookie-popup h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
}

.cookie-popup p {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-button {
    padding: 10px 30px;
    border-radius: 30px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reject {
    background-color: #e0e0e0;
    color: #333;
}

.accept {
    background-color: #2c7a7b;
    color: white;
}

.cookie-button:hover {
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .books-grid, .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container, .newsletter-container {
        flex-direction: column;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .hero-image, .newsletter-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .books-grid, .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}