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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #faf9f6;
    overflow-x: hidden;
}

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

/* ========================
   ANIMATION KEYFRAMES
   ======================== */

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatBook {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Scroll-reveal base class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   TOP NAV
   ======================== */

.top-nav {
    background-color: #f7f6f2;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    animation: fadeInDown 0.6s ease-out both;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: 10%;
}

.site-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}

/* ========================
   FLAGS SECTION
   ======================== */

.flags-section {
    background-color: #f7f6f2;
    padding: 2rem 0 4rem 0;
}

.flags-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: scaleIn 0.5s ease-out both;
    transition: transform 0.3s ease;
}

.flag-item:nth-child(1) { animation-delay: 0.1s; }
.flag-item:nth-child(2) { animation-delay: 0.2s; }
.flag-item:nth-child(3) { animation-delay: 0.3s; }
.flag-item:nth-child(4) { animation-delay: 0.4s; }
.flag-item:nth-child(5) { animation-delay: 0.5s; }
.flag-item:nth-child(6) { animation-delay: 0.6s; }

.flag-item:hover {
    transform: translateY(-4px);
}

.flag-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.flag-item:hover .flag-circle {
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
    transform: scale(1.08);
}

.flag-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    display: flex;
    min-height: 80vh;
}

.hero-left {
    flex: 1;
    background: linear-gradient(135deg, #0a3d62 0%, #1b6ca8 50%, #3dc1d3 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle animated overlay glow */
.hero-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: floatBook 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-text-wrapper {
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInLeft 0.8s ease-out 0.3s both;
}

.author {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    animation: fadeInLeft 0.8s ease-out 0.5s both;
}

.btn-explore {
    display: inline-block;
    background-color: white;
    color: #0a3d62;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-right {
    flex: 1;
    background: linear-gradient(180deg, #e8f4f8 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.hero-book {
    max-width: 90%;
    max-height: 700px;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 20px 40px rgba(10, 61, 98, 0.3));
    animation: fadeInRight 0.9s ease-out 0.4s both,
               floatBook 4s ease-in-out 1.3s infinite;
}

/* ========================
   CTA SECTION
   ======================== */

.cta-section {
    padding: 5rem 10%;
    text-align: center;
    background-color: #fff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-section p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.cta-section .btn-explore {
    background-color: #0a3d62;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    animation: none;
}

.cta-section .btn-explore:hover {
    background-color: #1b6ca8;
}

/* ========================
   PRODUCTS SECTION
   ======================== */

.products-section {
    padding: 5rem 10%;
    text-align: center;
}

.products-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.product-card {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.1rem;
    color: #000;
}

/* ========================
   NEWSLETTER SECTION
   ======================== */

.newsletter-section {
    padding: 3rem 10%;
    display: flex;
    justify-content: center;
}

.newsletter-card {
    background-color: #fbf9f2;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.newsletter-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.newsletter-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.newsletter-sub {
    text-align: center;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.newsletter-list {
    list-style: none;
    margin-bottom: 1.2rem;
}

.newsletter-list li {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: #444;
    line-height: 1.3;
}

.required-note {
    text-align: right;
    font-size: 0.75rem;
    color: #e74c3c;
    margin-bottom: 0.6rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: #1b6ca8;
    box-shadow: 0 0 0 3px rgba(27, 108, 168, 0.1);
}

.success-message {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background-color: #0a3d62;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 0.6rem;
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    background-color: #1b6ca8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 61, 98, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.spam-note {
    text-align: center;
    font-size: 0.72rem;
    color: #888;
}

/* ========================
   NAVIGATION ADDITIONS
   ======================== */

.desktop-nav {
    margin-left: auto;
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1b6ca8;
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: #1b6ca8;
}

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

/* ========================
   GUIDES SECTION
   ======================== */

.guides-section {
    padding: 5rem 10%;
    background-color: #fff;
    text-align: center;
}

.guides-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.guides-intro {
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

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

.guide-card {
    background-color: #faf9f6;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.guide-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.guide-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    font-weight: 600;
    color: #1b6ca8;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #0a3d62;
    text-decoration: underline;
}

/* ========================
   FAQ SECTION
   ======================== */

.faq-section {
    padding: 5rem 10%;
    background-color: #faf9f6;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.faq-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.faq-item a {
    color: #1b6ca8;
    text-decoration: underline;
}

/* ========================
   FOOTER
   ======================== */

.site-footer {
    background-color: #0a0a0a;
    color: #fff;
    padding: 4rem 10%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #bbb;
    transition: color 0.3s ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #3dc1d3;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

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

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }
    .hero-left {
        padding: 2rem;
        justify-content: center;
        text-align: center;
    }
    .hero-left h1 {
        font-size: 2.5rem;
    }
    .hero-right {
        padding: 1.5rem;
        justify-content: center;
        text-align: center;
    }
    .hero-book {
        max-width: 95%;
        max-height: none;
    }
    .flags-section {
        padding: 1rem 0 1.5rem 0;
    }
    .flags-container {
        gap: 1.2rem;
    }
    .flag-circle {
        width: 40px;
        height: 40px;
    }
    .flag-item span {
        font-size: 0.6rem;
    }
    .cta-section {
        padding: 3rem 6%;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .newsletter-section {
        padding: 2rem 5%;
    }
    .newsletter-card {
        padding: 1.5rem;
    }
    .top-nav {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1.5rem;
    }
    .desktop-nav {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .logo-container {
        margin-left: 0;
    }
    .site-footer {
        padding: 3rem 6%;
    }
}
/* ========================
   BLOG SAMPLE SECTION
   ======================== */

.blog-sample-section {
    padding: 5rem 10%;
    background-color: #f7f6f2;
}

.blog-sample-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3.5rem;
}

.blog-sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-sample-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-sample-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image-holder {
    width: 100%;
    height: 220px;
    background-color: #eee;
    overflow: hidden;
}

.blog-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-sample-card:hover .blog-image-holder img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #0a3d62;
    line-height: 1.3;
}

.blog-card-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-view-all {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #0a3d62;
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-view-all:hover {
    background-color: #1b6ca8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .blog-sample-section {
        padding: 4rem 5%;
    }
    .section-title {
        font-size: 2rem;
    }
    .blog-sample-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================
   PRODUCT SHOWCASE
   ======================== */

.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.product-sample-card {
    background: #fbfbfb;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-sample-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.product-sample-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-sample-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-sample-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: #333;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a3d62;
}

@media (max-width: 1200px) {
    .product-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-showcase-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.8rem;
    }
    .product-sample-card {
        padding: 0.8rem;
    }
    .product-sample-info h3 {
        font-size: 0.7rem;
        min-height: 1.8rem;
    }
}

/* ========================
   BLOG BANNER SECTION
   ======================== */

.blog-banner {
    padding: 6rem 10%;
    background: linear-gradient(135deg, #0a3d62 0%, #1b6ca8 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 4rem 10%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(10, 61, 98, 0.2);
}

.blog-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/site logo.jpg') center/cover no-repeat;
    opacity: 0.1;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.blog-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-banner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.blog-banner p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.btn-banner {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background-color: white;
    color: #0a3d62;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-banner:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    background-color: #fff;
    color: #1b6ca8;
}

@media (max-width: 768px) {
    .blog-banner {
        padding: 4rem 1.5rem;
        margin: 2rem 5%;
        border-radius: 16px;
    }
    .blog-banner h2 {
        font-size: 2.2rem;
    }
    .blog-banner p {
        font-size: 1.1rem;
    }
}
