* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Woman Green: #6DC065 rgb(109,192,101) */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #002147;
    color: #ffffff;
    line-height: 1.6;

    scrollbar-width: auto;
    scrollbar-color: #225B6A #093151; /* thumb track */
}

/* Chrome, Safari, and Opera (WebKit) */
::-webkit-scrollbar,
.modal::-webkit-scrollbar,
.modal-scrollable-content::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-track,
.modal-scrollable-content::-webkit-scrollbar-track {
    background: #093151;
}
::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb,
.modal-scrollable-content::-webkit-scrollbar-thumb {
    background: #225B6A;
    border-radius: 6px;
}

.modal, .modal-scrollable-content, .modal-body {
    scrollbar-width: auto;
    scrollbar-color: #225B6A #093151;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Istok Web', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 5px 0;
    position: sticky;
    top: 0;
    /* background-color: #002147; */ /* Original Background */
    z-index: 1000;
    /* background: url('width_800.webp') top right no-repeat; */
    background-color: rgba(0, 33, 71, 0.5); /* Background with transparency */
    background-size: auto 100%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(93, 190, 163, 0.3);
}

header::before {
    content: "";
    background: url('width_800.webp') top right no-repeat;
    background-size: auto 100%;
    /* background-size: cover; */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    z-index: -1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    
}

nav a, .terms-link {
    color: #b8c9da;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease-in-out;
    position: relative;
    padding: 8px 8px;
    border-radius: 50px;
    z-index: 1;
    display: inline-block;
    text-align: center;
}

nav a::before, .terms-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid;
    border-image: linear-gradient(to right, #7ec36b, #4891d9) 1;
    opacity: 0;
    z-index: -1;
    /* background: linear-gradient(to right, #7ec36b, #4fa1a7, #4891d9); */
    transition: opacity 0.3s ease-in-out;
}

nav a:hover, .terms-link:hover {
    color: #ffffff;
}

nav a:hover::before, .terms-link:hover::before {
    opacity: 0.8;
}

nav a.login-btn {
    border-radius: 0;
}

nav a.login-btn:hover {
    /* Background is handled by ::after pseudo-element for transition */
}

nav a.login-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, #7ec36b, #4891d9);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

nav a.login-btn:hover::after {
    opacity: 1;
}

nav a.login-btn::before {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo span:first-child {
    color: #5dbea3;
}

.logo span:last-child {
    color: #ffffff;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 80px 0;
}

.hero-content h2 {
    font-size: 14px;
    color: #8ab4d4;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: #5dbea3;
    background: linear-gradient(
        to right, 
        #7ec36b 0%,   /* Light Green */
        #4fa1a7 50%,  /* Teal/Blue-green */
        #4891d9 100%  /* Bright Blue */
    );

    /* 2. Clip the background to the text */
    -webkit-background-clip: text;
    background-clip: text;

    /* 3. Make the actual text color transparent so the background shows through */
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    /* Helps with rendering on some browsers */
    /* display: inline-block; */
}

.highlight2 {
    color: #ffffff;
}

.focus {
    font-weight: bold;
    color: #5dbea3;
    background: linear-gradient(
        to right, 
        #7ec36b 0%,   /* Light Green */
        #4fa1a7 50%,  /* Teal/Blue-green */
        #4891d9 100%  /* Bright Blue */
    );

    /* 2. Clip the background to the text */
    -webkit-background-clip: text;
    background-clip: text;

    /* 3. Make the actual text color transparent so the background shows through */
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    /* Helps with rendering on some browsers */
    /* display: inline-block; */
}

.hero-content p {
    font-size: 16px;
    color: #b8c9da;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s;
    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #5dbea3;
    color: #002147;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #5dbea3;
}

.hero-image {
    position: relative;
    text-align: center; /* For image wrapper centering */
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

.purpose-section {
    padding: 80px 0;
    border-top: 1px solid rgba(93, 190, 163, 0.3);
    /* border-bottom: 1px solid rgba(93, 190, 163, 0.3); */
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.section-label {
    font-size: 30px;
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-category {
    font-size: 12px;
    color: #8ab4d4;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h2, h3 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background-color: rgba(93, 190, 163, 0.1);
    border: 2px solid rgba(93, 190, 163, 0.3);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    /* border: 2px solid rgba(93, 190, 163, 0.3); */
    border: 1px solid #5dbea3;
    flex-shrink: 0;
}
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-panel .path-card {
    border: none;
    background: transparent;
    padding: 20px 0;
}

.card h4 {
    color: #5dbea3;
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    color: #b8c9da;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.blueprint-section {
    padding: 80px 0;
    /* background: linear-gradient(135deg, rgba(74, 159, 216, 0.08) 0%, rgba(93, 190, 163, 0.08) 100%); */
    border-top: 1px solid rgba(93, 190, 163, 0.3);
    border-bottom: 1px solid rgba(93, 190, 163, 0.3);
}

.path-intro {
    text-align: center;
    margin: 0 auto 60px;
    max-width: 800px;
}

.path-intro-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.path-intro-content img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #5dbea3;
    flex-shrink: 0;
}

.contact-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #5dbea3;
    flex-shrink: 0;
}

.path-intro-content > div {
    flex: 0;
}

.path-intro-content p {
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
    flex: 1;
    text-align: justify;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.path-card {
    background-color: rgba(74, 159, 216, 0.1);
    border: 1px solid rgba(74, 159, 216, 0.3);
    border-radius: 10px;
    padding: 30px;
}

.path-number {
    color: #4a9fd8;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.path-card h4 {
    color: #5dbea3;
    font-size: 24px;
    margin-bottom: 10px;
}

.path-card .subtitle {
    color: #8ab4d4;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.path-card p {
    color: #b8c9da;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.choice-section {
    padding: 80px 0;
    text-align: center;
    /* border-top: 1px solid rgba(93, 190, 163, 0.3); */
    border-bottom: 1px solid rgba(93, 190, 163, 0.3);
}

.choice-section .section-label {
    font-size: 30px;
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-section {
    padding: 80px 0;
    background-color: rgba(93, 190, 163, 0.05);
    border-bottom: 1px solid rgba(93, 190, 163, 0.3);
    border-top: 1px solid rgba(93, 190, 163, 0.3);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
#community .about-content .btn {
    margin-top: 40px;
}


.about-content h3 {
    margin-bottom: 30px;
}

.about-content p {
    color: #b8c9da;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

#community .about-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 30px;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 20px;
    text-align: left;
}

#community .about-content li {
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 0;
    position: relative;
    padding-left: 30px;
}

#community .about-content li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #5dbea3;
    position: absolute;
    left: 0;
    top: 3px;
}

.about-content .section-label {
    font-size: 30px;
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-paragraph {
    text-align: justify;
    padding-left: 10px;
    padding-right: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 80px;
}
#community .about-stats {
    grid-template-columns: 1fr;
    margin-top: 40px;
}


.stat-card {
    text-align: center;
}

.stat-number {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: #5dbea3;
    margin-bottom: 10px;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.stat-number.glow {
    text-shadow: 0 0 20px #5dbea3, 0 0 40px #7ec36b;
    color: #ffffff;
}

.stat-label {
    color: #8ab4d4;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

.original-price {
    position: relative;
    display: inline-block;
    color: #5dbea3;
    font-size: 0.6em;
    margin-right: 10px;
    opacity: 0.7;
    font-weight: normal;
    text-decoration: line-through;
    /* font-family: 'Roboto', sans-serif; */
    /* font-family: 'Istok Web', sans-serif; */
}
.price-unit {
    font-size: 24px;
    color: #8ab4d4;
}

.founders-section {
    margin-top: 80px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 40px;
}

.founder-card {
    background-color: rgba(74, 159, 216, 0.1);
    border: 1px solid rgba(74, 159, 216, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.founder-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 4px solid #5dbea3;
    background-color: rgba(93, 190, 163, 0.2);
    text-align: center; /* For image wrapper centering */
}

.founder-image .image-wrapper {
    width: 100%;
    height: 100%;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-card h4 {
    color: #5dbea3;
    font-size: 28px;
    margin-bottom: 5px;
}

.founder-title {
    color: #8ab4d4;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.founders-section > p {
    margin-bottom: 40px;
}

.founder-card p {
    color: #b8c9da;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    text-align: left;
}

.founder-achievements {
    background-color: rgba(93, 190, 163, 0.1);
    border-left: 3px solid #5dbea3;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5dbea3;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    transition: color 0.3s;
    font-family: 'Roboto', sans-serif;
}
.linkedin-link .social-icon {
    color: #b8c9da;
}


.linkedin-link:hover {
    color: #4a9fd8;
}

.choice-section h3 {
    margin-bottom: 20px;
}

.choice-section > p {
    color: #b8c9da;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 60px;
    font-family: 'Roboto', sans-serif;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.choice-card {
    background: linear-gradient(135deg, rgba(74, 159, 216, 0.15) 0%, rgba(93, 190, 163, 0.15) 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.choice-card-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 4px solid #5dbea3;
    text-align: center; /* For image wrapper centering */
}

.choice-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.choice-card h3 {
    color: #5dbea3;
    font-size: 28px;
    margin-bottom: 20px;
}

.choice-card p {
    color: #b8c9da;
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif;
}

footer {
    padding: 80px 0 30px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(93, 190, 163, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    color: #ffffff;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #5dbea3;
}

.social-icon.highlight-effect {
    background-color: #5dbea3;
}

.copyright {
    color: #8ab4d4;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}

.copyright a {
    color: #8ab4d4;
    text-decoration: none;
}

.copyright a:hover {
    color: #5dbea3;
    text-decoration: underline;
}

.cheetsheet {
    position: relative; 
    width: 100%; 
    max-width: 90%; 
    height: 80vh;
    max-height: 90%; 
    padding-top: 50%;
    padding-bottom: 0;
    box-shadow: 0 2px 8px 0 rgba(63,69,81,0.16);
    margin: 1.6em auto 0.9em auto; 
    overflow: hidden;
    /* border-radius: 8px;  */
    will-change: transform;
    background-color: rgba(74, 159, 216, 0.1);
    border: 1px solid rgba(74, 159, 216, 0.3);
    border-radius: 15px;
    padding: 40px;
    /* text-align: center; */
}

.canva {
    position: absolute; 
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0; 
    border: none; 
    padding: 0;
    margin: 0;
}

@media (max-width: 1100px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(0, 33, 71, 1);
        background-size: auto 100%;
        backdrop-filter: blur(10px);
        border-top: 1px solid transparent;
        border-bottom: 1px solid transparent;
        padding-bottom: 0;
        max-height: 0;
        opacity: 1;
        visibility: hidden;
        overflow: hidden;
        transition: 0.5s ease-in-out;
    }

    nav.active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border-top: 1px solid rgba(93, 190, 163, 0.3);
    }

    nav.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(93, 190, 163, 0.3);
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 720px) {
    .hero, .purpose-grid, .path-grid, .choice-grid, .about-stats, .founders-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        display: flex;
        flex-direction: column;
    }

    .hero-text-wrapper {
        display: contents;
    }

    .hero-content { order: 1; }
    .hero-image { order: 2; margin-bottom: 30px; }
    .cta-buttons { order: 3; }
    
    .card {
        flex-direction: column;
        text-align: center;
    }
    
    .card img {
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-label {
        font-size: 32px;
    }

    .cta-buttons, .section-cta {
        flex-direction: column;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .cheetsheet {
        height: 75vh;
        width: 100%;
    }

    .path-intro-content {
        flex-direction: column;
        align-items: center;
    }
}

    @media (max-width: 890px) {
    .cheetsheet {
        transform: scale(1.1);
    }
    }

@media (max-width: 850px) {
}

@media (max-width: 480px) {
    #community .about-content ul {
        grid-template-columns: max-content;
    }
}

/* Accordion Styles */
.accordion-button {
    background-color: rgba(74, 159, 216, 0.1);
    color: #fff;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    transition: 0.4s;
    border-bottom: 1px solid rgba(74, 159, 216, 0.3);
    font-family: 'Istok Web', sans-serif;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:hover, .accordion-button.active {
    background-color: rgba(74, 159, 216, 0.2);
}

.accordion-button:after {
    content: '\f078'; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #5dbea3;
    float: right;
    margin-left: 5px;
}

.accordion-button.active:after {
    content: "\f077"; /* fa-chevron-up */
}

.accordion-panel {
    padding: 0 18px;
    background-color: rgba(0, 33, 71, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-left: 1px solid rgba(74, 159, 216, 0.3);
    border-right: 1px solid rgba(74, 159, 216, 0.3);
    border-bottom: 1px solid rgba(74, 159, 216, 0.3);
}

.accordion-intro {
    padding: 20px;
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    /* border-bottom: 1px solid rgba(74, 159, 216, 0.3); */
    margin-top: 20px;
    margin-bottom: 10px;

    background-color: rgba(93, 190, 163, 0.1);
    border: 2px solid rgba(93, 190, 163, 0.3);
    border-radius: 10px;
    text-align: justify;
}

.inner-button {
    font-size: 16px;
    background-color: rgba(0, 33, 71, 0.5);
    padding-left: 30px;
    color: #b8c9da;
}

.inner-button:hover, .inner-button.active {
    background-color: rgba(0, 33, 71, 0.7);
    color: #fff;
}

.inner-panel {
    padding: 0 18px;
    border: none;
}

/* Modal Styles */
.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #002147;
    margin: auto; 
    /* padding-top: 40px;
    padding-bottom: 40px; */
    border: 1px solid #5dbea3;
    width: 90%;
    max-width: 520px;
    height: 410px;
    transition: max-width 0.5s ease, min-height 0.5s ease, height 0.5s ease;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(93, 190, 163, 0.2);
    overflow: hidden;
    max-height: 90vh; /* Prevent modal from going off-screen */
    padding: 0 !important; /* Ensure no padding affects layout */
}

#genericModal .modal-content {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px 1fr 50px;
}

#genericModalBody iframe {
    height: 100%;
    width: 100%;
    border: none;
    flex-grow: 1;
    /* background-color: pink; */
}

.modal-content.wide {
    max-width: 800px;
    height: 85vh;
}

/* #genericModalBody iframe {
    width: 100%;
    height: 75vh;
    border: none;
} */

.modal-loader {
    display: flex;
    flex-direction: column;
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    height: 100%;
}

.modal-loader .spinner-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    animation: spin-ccw 3s linear infinite;
}

.modal-content h2, .modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
}

.modal-content p {
    text-align: center;
    margin-bottom: 20px;
    color: #b8c9da;
}

.close {
    color: #aaa;
    float: right;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 0px;
    right: 1rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1000;
}

/* New Modal Layout Styles */
.modal-header {
    height: 50px;
    width: 100%;
    position: relative;
    background-color: #002147;
    /* border-bottom: 1px solid rgba(93, 190, 163, 0.3); */
    flex-shrink: 0;
    grid-column: 1 / span 3;
    grid-row: 1;
}

.modal-header .close {
    top: 0px; /* Center in header */
    right: 1rem;
}

.modal-footer {
    height: 50px;
    width: 100%;
    position: relative;
    background-color: #002147;
    flex-shrink: 0;
    grid-column: 1 / span 3;
    grid-row: 3;
}

.modal-body {
    flex-grow: 1;
    width: 100%;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 2;
}

.modal-body.centered {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.close:hover,
.close:focus {
    color: #5dbea3;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #b8c9da;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #5dbea3;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    font-size: 16px;
}

.form-group input:focus {
    box-shadow: 0 0 5px #5dbea3;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 4px;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #5dbea3;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235dbea3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background-color: #002147;
    color: #fff;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #5dbea3;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    resize: vertical;
}

.form-group textarea:focus {
    box-shadow: 0 0 5px #5dbea3;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(93, 190, 163, 0.1);
    backdrop-filter: blur(5px);
    color: #5dbea3;
    border: 2px solid #5dbea3;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.floating-btn.hidden-right {
    transform: translateX(100px);
    opacity: 0;
    pointer-events: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #002147;
    background-color: rgba(93, 190, 163, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(93, 190, 163, 0.3);
    /* border-top: 1px solid rgba(93, 190, 163, 0.3); */
    /* border-bottom: 1px solid rgba(93, 190, 163, 0.3); */
    padding: 20px;
    margin: 0 auto 60px;
    max-width: 900px;
    text-align: left;
}

.contact-grid > h2 {
    grid-column: 1 / 4;
    grid-row: 1;
    text-align: center;
}

.contact-grid > p:first-of-type {
    grid-column: 1 / 2;
    grid-row: 2;
    margin-bottom: 0;
    text-align: center;
}

.contact-grid > .linkedin-link:nth-of-type(1) {
    grid-column: 1/2;
    grid-row: 3;
    margin-top: 0;
    justify-self: center;
}

/* .contact-grid > .linkedin-link:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    justify-self: left;
} */

.contact-grid > .image-wrapper {
    grid-column: 3;
    grid-row: 2 / 4;
}

@media (max-width: 720px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid > .image-wrapper {
        height: 150px;
        width: 150px;
        margin: 20px 0;
        order: -1;
    }

    .contact-grid > h2 {
        order: -2;
    }
}

@keyframes bob-vertical {
    0% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.bob-animation {
    animation: bob-vertical 1s ease-in-out;
}

.section-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Image loader styles */
.image-wrapper {
    position: relative;
    display: inline-block; /* Shrink-wrap the image */
    line-height: 0; /* Remove extra space below image */
}

.image-wrapper .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #5dbea3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

/* Terms Modal Specific Styles */
#termsModal .modal-content h3 {
    color: #5dbea3;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

#termsModal .modal-content {
    max-width: 800px;
    height: 85vh;
    padding: 0 !important;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px 1fr 50px;
}

img.loading {
    visibility: hidden;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-ccw {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Add padding specifically for the Terms modal body text */
#termsModal .modal-body {
    padding: 20px 40px;
}

@media (max-width: 720px) {
    #termsModal .modal-body {
        padding: 20px;
    }

    .modal-content,
    .modal-content.wide,
    #termsModal .modal-content {
        width: 90%;
        height: 90%;
        max-width: 90%;
        max-height: 90%;
        border-radius: 15px;
        border: 1px solid #5dbea3;
        margin: auto;
    }

    #genericModal .modal-content,
    #termsModal .modal-content {
        grid-template-columns: 15px 1fr 15px;
        grid-template-rows: 40px 1fr 40px;
    }

    .modal-header,
    .modal-footer {
        height: 40px;
    }

    .modal-header .close {
        font-size: 28px;
        right: 10px;
        top: 2px;
    }
}
