* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #fff;
    color: #1a2a44;
    line-height: 1.8;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a2a44;
    padding: 20px 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 60px;
    margin-top: 8px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff5733;
}

.hamburger {
    display: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.cta-buttons .btn {
    margin: 15px;
}

/* Specific styles for secondary buttons in hero */
.hero .cta-buttons .btn.secondary {
    color: #fff;
    border: 2px solid #fff;
}

.hero .cta-buttons .btn.secondary:hover {
    background: #fff;
    color: #1a2a44;
}

/* Sections */
.section {
    padding: 100px 60px;
    text-align: center;
    transition: opacity 0.5s ease;
}

.section.dark-bg {
    background: #1a2a44;
    color: #fff;
}

.section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Specific margin for Podcasts headline */
.section#books h2 {
    margin-top: 40px;
}

.subheadline {
    font-size: 1.5rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 30px;
}

.dark-bg .subheadline {
    color: #d1d8e6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    padding: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dark-bg .card {
    background: #2e4066;
    color: #fff;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.card p {
    font-size: 1rem;
    color: #666;
}

.dark-bg .card p {
    color: #d1d8e6;
}

.card p a {
    color: #ff5733;
    text-decoration: none;
}

.card p a:hover {
    text-decoration: underline;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.about-text {
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn.primary {
    background: #ff5733;
    color: #fff;
}

.btn.primary:hover {
    background: #e64a2e;
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.4);
}

.btn.secondary {
    background: transparent;
    color: #ff5733;
    border: 2px solid #ff5733;
}

.btn.secondary:hover {
    background: #ff5733;
    color: #fff;
}

/* Carousel */
.carousel {
    position: relative;
    max-width: 1200px;
    margin: 60px auto;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-item {
    min-width: 33.33%;
    padding: 0 15px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 42, 68, 0.7);
    color: #fff;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: #ff5733;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Video Popup */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.video-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 90vw;
    width: 100%;
    overflow: hidden;
}

#videoFrame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
}

/* Success Popup */
.success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.success-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.success-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a44;
    margin-bottom: 20px;
}

.success-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.close-success {
    background: #ff5733;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-success:hover {
    background: #e64a2e;
}

/* PDF Signup Popup */
.pdf-signup-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-signup-popup.active {
    display: flex;
    opacity: 1;
}

.pdf-signup-content {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow-y: auto;
}

.pdf-signup-left {
    flex: 1;
    min-width: 0;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-preview {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pdf-signup-right {
    flex: 1;
    min-width: 0;
    padding: 15px;
    text-align: left;
}

.pdf-signup-right h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2a44;
    margin-bottom: 15px;
}

.pdf-signup-right p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pdf-signup-right p strong {
    color: #ff5733;
}

#pdfSignupForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-link {
    margin-top: 20px;
}

.close-pdf-signup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #1a2a44;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-pdf-signup:hover {
    color: #ff5733;
}

/* Contact Form */
form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

input, textarea {
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dark-bg input, .dark-bg textarea {
    background: #2e4066;
    color: #fff;
}

textarea {
    height: 180px;
}

/* Footer */
footer {
    background: #1a2a44;
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 1rem;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ff5733;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #1a2a44;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 20px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .video-bg iframe {
        width: 300vw;
        height: 100vh;
        min-width: 300%;
        min-height: 100%;
        transform: translate(-25%, -50%);
        object-fit: cover;
    }

    .section {
        padding: 60px 20px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .carousel-item {
        min-width: 100%;
    }

    .pdf-signup-content {
        max-width: 95%;
        margin: 10px;
    }

    .pdf-signup-left, .pdf-signup-right {
        padding: 10px;
    }

    .pdf-signup-right h3 {
        font-size: 1.5rem;
        line-height:25px;
    }

    .pdf-signup-right p {
        font-size: 1rem;
    }

    .pdf-preview {
        max-width: 200px;
    }

    #pdfSignupForm {
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .pdf-signup-content {
        flex-direction: row;
        padding: 30px;
    }
    
    .pdf-signup-left {
        min-width: 250px;
    }
    
    .pdf-signup-right {
        min-width: 300px;
    }
}