/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --secondary-color: #222;
    --accent-color: #3ba764;
    --text-color: #fff;
    --text-muted: #999;
    --border-color: #333;
    --transition: all 0.3s ease;
    --base-font-size: 18px; /* Increased base font size */
}

body {
    font-family: 'Verdana, Segoe UI', Tahoma, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    font-size: var(--base-font-size); /* Apply base font size */
}

/* Background Styles */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border: 12px solid var(--primary-color);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #121212, #2c2c2c, #121212);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    filter: blur(8px);
}

@keyframes gradient-animation {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.welcome-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 0 clamp(10px, 2vw, 20px);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 2vw, 20px) 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo img, .header-logo {
    height: clamp(8em, 12vw, 14em);
    width: clamp(8em, 12vw, 14em);
    object-fit: contain;
    border-radius: 4px;
}

.footer-logo {
    width: clamp(150px, 20vw, 220px);
    height: auto;
}

.logo h1 {
    font-size: 2.2em;
    line-height: 1;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
    font-size: clamp(1.1rem, 2vw, 1.5rem); /* Responsive font size */
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Main Content Styles */
main {
    padding: clamp(30px, 5vw, 60px) 0;
}

section {
    margin-bottom: clamp(40px, 6vw, 80px);
}

h1, h2, h3 {
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem; /* Increased from 2.5rem */
}

h2 {
    font-size: 2.4rem; /* Increased from 2rem */
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}



h3 {
    font-size: 1.8rem; /* Added explicit h3 size */
}

p {
    margin-bottom: 20px;
    font-size: 1.4rem; /* Increased paragraph text size */
    font-family: 'Verdana, Segoe UI', Tahoma, sans-serif;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: clamp(40px, 6vw, 80px) 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(20px, 4vw, 40px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: clamp(20px, 4vw, 40px);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    padding: 14px 34px; /* Larger padding for the button */
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 1.2rem; /* Larger text for CTA button */
}

/* Sponsors Section */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sponsor-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.sponsor-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background-color: var(--border-color);
    border-radius: 8px;
}

.sponsor-logo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo.placeholder::after {
    content: "Logo";
    color: var(--text-muted);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid var(--accent-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-card p {
    font-size: 1.1rem; /* Increased card paragraph size */
}

.benefit-card i {
    font-size: 3rem; /* Increased from 2.5rem */
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    padding: 0;
    margin-top: clamp(40px, 6vw, 80px);
}

.footer-box {
    background-color: var(--secondary-color);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    padding: clamp(30px, 4vw, 60px) clamp(20px, 4vw, 60px) 0;
    margin: 0 auto;
    max-width: 1200px;
    width: 95%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: clamp(20px, 3vw, 40px);
    padding: 0;
    justify-items: center;
}

.footer-section {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}

.footer-section h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem; /* Increased footer link size */
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: none;
    margin: 0 60px;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 30px 0 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* About Page Styles */
.about-grid, .team-grid, .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2, .team-text h2, .intro-text h2 {
    text-align: left;
}

.about-image, .team-image, .intro-image {
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.image-placeholder {
    background-color: var(--secondary-color);
    height: 350px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.mission-list {
    list-style: none;
    margin: 30px 0;
    text-align: left; /* Align the list to the right */
}

.mission-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-end; /* Align items to the right */
}

.mission-list li i {
    color: var(--accent-color);
    margin-right: 0; /* Remove right margin */
    margin-left: 15px; /* Add left margin instead */
    font-size: 1.2rem;
    order: 2; /* Change the order to put icon on the right */
}

.mission-list li span {
    order: 1; /* Change the order to put text on the left */
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.timeline-content p {
    margin-bottom: 5px;
}

/* Sponsor Logos Section */
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.sponsor-logo-item {
    width: 200px;
    height: 120px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.sponsor-logo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-container {
    text-align: center;
    margin-top: 40px;
}

/* Team Page Styles */
.member-grid, .mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.member-card, .mentor-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding-bottom: 20px;
}

.member-card:hover, .mentor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.member-photo, .mentor-photo {
    width: 100%;
    height: 200px;
    background-color: var(--border-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo i, .mentor-photo i {
    font-size: 4rem;
    color: var(--text-muted);
}

.member-card h3, .mentor-card h3 {
    margin-bottom: 5px;
}

.member-role, .mentor-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-desc, .mentor-desc {
    padding: 0 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
}

.member-skills span {
    background-color: var(--border-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.join-team {
    background-color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
    border-radius: 8px;
    margin-top: 60px;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Plans Page Styles */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: clamp(15px, 3vw, 25px);
    transition: var(--transition);
}

.benefit-item i {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--accent-color);
    margin-right: clamp(10px, 2vw, 20px);
    margin-top: 5px;
}

.benefit-item h3 {
    margin-bottom: 5px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.package-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.package-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-color);
}

.featured-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.package-header {
    background-color: var(--border-color);
    padding: 20px;
    text-align: center;
}

.package-header h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.package-body {
    padding: 30px;
}

.package-body ul {
    list-style: none;
    margin-bottom: 30px;
}

.package-body ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.package-body ul li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.package-button {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background-color: var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    margin-top: 20px;
}

.package-button:hover {    background-color: var(--accent-color);
    color: var(--primary-color);
}

.custom-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    margin: clamp(20px, 4vw, 40px) 0;
}

.custom-option {
    background-color: var(--secondary-color);
    padding: clamp(15px, 3vw, 30px);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.custom-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.custom-option i {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--accent-color);
    margin-bottom: clamp(10px, 2vw, 20px);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 30px;
    padding: 0 20px;
}

.testimonial-quote i.fa-quote-left {
    position: absolute;
    top: -10px;
    left: 0;
    color: var(--accent-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.testimonial-quote i.fa-quote-right {
    position: absolute;
    bottom: -10px;
    right: 0;
    color: var(--accent-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    margin-top: clamp(20px, 4vw, 40px);
}

.faq-item {
    background-color: var(--secondary-color);
    padding: clamp(15px, 3vw, 30px);
    border-radius: 8px;
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--border-color);
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2);
}

.submit-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-items {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 10px;
}

.info-item p {
    margin-bottom: 5px;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent-color);
}

.social-connect h3 {
    margin-bottom: 20px;
}

.social-connect .social-icons {
    justify-content: flex-start;
}

/* Responsive Styles */
/* Large screens (tablets, small laptops) */
@media (max-width: 1200px) {
    :root {
        --base-font-size: 17px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    p {
        font-size: 1.2rem;
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .about-grid, .team-grid, .intro-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image, .team-image, .intro-image {
        order: -1;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .custom-options {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .responsive-pdf {
        height: 500px !important;
    }
}

/* Small screens (tablets, large phones) */
@media (max-width: 768px) {
    :root {
        --base-font-size: 16px;
    }
    
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0;
        margin-bottom: 15px;
    }
    
    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .sponsor-grid, .benefits-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.6rem;
    }
    
    .responsive-pdf {
        height: 400px !important;
    }
}

/* Extra small screens (mobile phones) */
@media (max-width: 576px) {
    :root {
        --base-font-size: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 1.1rem;
    }
    
    .benefits-list, .custom-options {
        grid-template-columns: 1fr;
    }
    
    .responsive-pdf {
        height: 350px !important;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero, section {
    animation: fadeIn 1s ease-out;
}

/* Responsive Elements */
img, video {
    max-width: 100%;
    height: auto;
}

embed.responsive-pdf {
    max-width: 100%;
    border: none;
    box-sizing: border-box;
}

.pdf-placeholder {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Scroll Animation */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animation.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* Summary Section Styles */
.summary-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
    margin: clamp(20px, 4vw, 40px) 0;
    flex-wrap: wrap;
}

.summary-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    padding: clamp(20px, 3vw, 40px) clamp(15px, 2vw, 32px);
    color: var(--text-color);
    text-align: left;
}

.summary-image {
    flex-shrink: 0;
    margin: 0 clamp(20px, 3vw, 40px) 0 0;
}

.summary-image img {
    width: clamp(300px, 30vw, 450px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.summary-image img:hover {
    transform: scale(1.03);
}

.section-underline {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 20px;
}

/* Media query for smaller screens */
@media (max-width: 992px) {
    .summary-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .summary-content {
        margin-bottom: clamp(15px, 3vw, 30px);
        padding: 20px 15px;
        max-width: 100%;
        text-align: center;
        order: 1;
    }
    
    .summary-image {
        margin: 0;
        order: 2;
    }
    
    .section-underline {
        margin: 0 auto 20px;
    }
}

@media (max-width: 576px) {
    .summary-image img {
        width: 100%;
        max-width: 350px;
    }
}