/* 
   Investment Masters Pro - Main Stylesheet
   A stock market/trading themed design with MetaTrader 4 focus
*/

/* ========== GENERAL STYLES ========== */
:root {
    --primary-color: #2e7ed3; /* Blue - representing finance/trading */
    --secondary-color: #2c3e50; /* Dark blue-gray - professional appearance */
    --accent-color: #f39c12; /* Orange/gold - representing gold/profit */
    --success-color: #28a745; /* Green - representing market up/profit */
    --danger-color: #dc3545; /* Red - representing market down/loss */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --light-gray-color: #e9ecef;
    --text-color: #212529;
    --body-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --heading-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fafafa;
    overflow-x: hidden;
}

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

a:hover {
    color: #1b5a9f;
}

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    line-height: 1.5;
}

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

.primary-btn:hover {
    background-color: #1b5a9f;
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

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

.nav-menu a:hover:after, .nav-menu a.active:after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #2e7ed3 0%, #1b5a9f 100%);
    color: white;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiI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HM0LTEuNzkxIDQtNHoiLz48L2c+PC9nPjwvc3ZnPg==');
    opacity: 0.1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 5rem 0;
    background-color: white;
}

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

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray-color);
    box-shadow: var(--box-shadow);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* ========== COURSE OVERVIEW SECTION ========== */
.course-overview {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.course-overview .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.overview-content {
    flex: 1;
}

.overview-list {
    list-style: none;
    margin-bottom: 2rem;
}

.overview-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.overview-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.overview-image {
    flex: 1;
}

.overview-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2rem;
    -ms-overflow-style: none;  /* Hide scrollbar in IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar in Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari and Opera */
}

.testimonial {
    min-width: 320px;
    max-width: 400px;
    flex: 1;
}

.testimonial-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #f8f9fa transparent;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-details p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a252f 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

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

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* ========== LATEST POSTS SECTION ========== */
.latest-posts {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding-top: 4rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    flex: 2;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-column address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-column address a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column address a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ========== COOKIE CONSENT ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    padding: 1.5rem;
    display: none;
    z-index: 9999;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.accept {
    background-color: var(--primary-color);
    color: white;
}

.customize {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.reject {
    background-color: transparent;
    color: white;
}

.cookie-policy {
    font-size: 0.8rem;
    opacity: 0.8;
}

.cookie-policy a {
    color: white;
    text-decoration: underline;
}

/* ========== BLOG PAGE ========== */
.page-banner {
    background: linear-gradient(135deg, #2e7ed3 0%, #1b5a9f 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj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+PC9nPjwvc3ZnPg==');
    opacity: 0.1;
}

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

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.blog-content {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    gap: 2.5rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .blog-card {
        flex-direction: row;
    }
}

.blog-image {
    flex: 1;
    min-width: 280px;
}

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

.blog-details {
    flex: 2;
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.blog-details h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-details h2 a {
    color: var(--secondary-color);
}

.blog-details h2 a:hover {
    color: var(--primary-color);
}

.blog-details p {
    margin-bottom: 1.5rem;
}

/* ========== NEWSLETTER ========== */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    border: none;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #1a252f;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========== ABOUT PAGE ========== */
.about-story {
    padding: 5rem 0;
    background-color: white;
}

.about-story .container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.story-content {
    flex: 3;
}

.story-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image {
    flex: 2;
}

.story-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.our-values {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

.value-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.team-section {
    padding: 5rem 0;
    background-color: white;
}

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

.team-member {
    text-align: center;
    transition: var(--transition);
}

.team-member img {
    width: 100%;
    max-width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.team-member p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--gray-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

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

.credentials {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.credentials-content {
    display: grid;
    gap: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.credential-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.credential-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

/* ========== CONTACT PAGE ========== */
.contact-info {
    padding: 4rem 0;
    background-color: white;
}

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

.contact-card {
    background: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-card address {
    font-style: normal;
    line-height: 1.8;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.contact-form-section .container {
    display: flex;
    gap: 4rem;
}

.form-container {
    flex: 3;
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.form-container p {
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #eee;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.map-container {
    flex: 2;
}

.map-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.map {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

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

.office-hours h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.office-hours ul {
    list-style: none;
}

.office-hours ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.office-hours ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.faq {
    padding: 5rem 0;
    background-color: white;
}

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

.faq-item {
    background: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--success-color);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.modal-content p {
    margin-bottom: 1.5rem;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
    .hero {
        padding: 5rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .course-overview .container {
        flex-direction: column;
    }
    
    .overview-image {
        order: -1;
        margin-bottom: 3rem;
    }
    
    .about-story .container {
        flex-direction: column;
    }
    
    .story-image {
        order: -1;
        margin-bottom: 3rem;
    }
    
    .contact-form-section .container {
        flex-direction: column;
    }
    
    .map-container {
        margin-top: 3rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-bottom: 1rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons a {
        width: 100%;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .blog-card {
        flex-direction: column;
    }
    
    .blog-image {
        min-height: 200px;
    }
    
    .credential-item {
        flex-direction: column;
        text-align: center;
    }
}
