/* Theme Variables */
:root {
    /* Default theme colors (dark theme) */
    --bg-primary: #000000;
    --bg-secondary: #36454F;
    --text-primary: #fff;
    --text-secondary: #ababab;
    --accent-color: #BA0018;
    --highlight-color: #008080;
    --purple-accent: #640064;
}

/* Light theme colors */
body.light-theme {
    --bg-primary: #fff;
    --bg-secondary: #f8f8f8;
    --text-primary: #080808;
    --text-secondary: #666;
    --accent-color: #BA0018;
    --highlight-color: #008080;
    --purple-accent: #640064;
}

*{
    margin: 0;
    padding: 0;
    font-family:  "Book Antiqua";/*'Poppins',sans-serif;*/
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: var(--bg-primary);
    color: var(--text-primary); 
}
#header{
    width: 100%;
    height: 130vh;
    background-image:url(images/Together.jpg);
    background-size: cover;
    background-position: center;
}
.container{
    padding: 40px 7%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--text-primary);
}
.logo{
    width: 120px;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    color: var(--text-primary);
    text-decoration: none;
    font-size: 30px;
    position: relative; 
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;

}
nav ul li a:hover:after{
    width: 100%;
}
.header-text{
    margin-top: 1%;
    font-size: 30px;
    color: var(--text-primary); 
    font-weight: bold;

}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span{
    color: var(--purple-accent);
}
/* ------------about--------- */
#about{
    padding: 80px 0;
    color: var(--text-secondary);
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    height: 60vh;/*might be bad for mobile?*/
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}
.about-col-2 h1 span{
    color: var(--purple-accent);
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: var(--text-primary);
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: var(--text-primary);
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 100%;
}
.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: var(--highlight-color);
    font-size: 14px;
}
.tab-contents{
    display: none;
}
.tab-contents p span{
    color: var(--highlight-color);
    font-size: 14px;
}
.tab-contents.active-tab{
    display: block;
}
/* -------------services------- */
#services{
    padding: 30px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div{
    background: var(--bg-secondary);
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: var(--text-primary);
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background: var(--accent-color);
    transform: translateY(-10px);
}
/* ---------portfolio------ */
#portfolio{
    padding: 50px 0;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 50px;    
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    /* border: 1px solid white;  */
}
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6),var(--accent-color));
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: var(--text-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid var(--accent-color);
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.5s;
}
.btn:hover{
    background: var(--accent-color);
}
/* ---------subtle link--------- */
.subtle-link {
    text-decoration: underline;
    font-weight: bold;
    color: inherit;  /* This will make it use the same color as its parent element */
}

.subtle-link:hover {
    color: inherit;  /* This ensures the color doesn't change on hover */
    opacity: 0.8;   /* Optional: slight opacity change on hover for feedback */
}
/* ------------testimonials----------- */
#testimonials {
    padding: 80px 0;
    background: #000000;
}

.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-box {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    flex-basis: calc(33.33% - 20px);
    min-width: 300px;
    transition: transform 0.5s;
}

.testimonial-box:hover {
    transform: translateY(-10px);
}

.quote {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Responsive adjustments for testimonials */
@media screen and (max-width: 768px) {
    .testimonial-box {
        flex-basis: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .testimonial-box {
        flex-basis: 100%;
    }
}
/* Testimonial Styles */
.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-box {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 15px;
    flex: 1 1 300px;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-10px);
}

.testimonial-box .quote {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .testimonial-box {
        flex: 1 1 100%;
    }
}
/* ---------facilitators------ */
#facilitators{
    padding: 80px 0;
    color: var(--text-secondary);
    /* height: 140vh; */
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}
.fac-col-1{
    flex-basis: 45%;
    display: flex;    
    flex-direction: column;    
    justify-content: space-between;    
    height: 100%;
}
.fac-col-1 img{
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.fac-col-1 h1 span{
    color: var(--purple-accent);
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 100%;
}
.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: var(--highlight-color);
    font-size: 14px;
}
.tab-contents{
    display: none;
}
.tab-contents p span{
    color: var(--highlight-color);
    font-size: 14px;
}
.tab-contents.active-tab{
    display: block;
}
.fac-col-2{
    flex-basis: 45%;
    display: flex;    
    flex-direction: column;    
    justify-content: space-between;    
    height: 100%;
}
.fac-col-2 img{
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.fac-col-2 h1 span{
    color: var(--purple-accent);
}
.sub-title{
    font-size: 60px;
    font-weight: 300;
    color: var(--text-primary);
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 100%;
}
.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: var(--highlight-color);
    font-size: 14px;
}
.tab-contents{
    display: none;
}
.tab-contents p span{
    color: var(--highlight-color);
    font-size: 14px;
}
.tab-contents.active-tab{
    display: block;
}
/* ------------application----------- */
#application {
    padding: 80px 0;
    background: var(--bg-primary);
}

.application-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.application-content h2 {
    color: var(--accent-color);
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.application-steps {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
}

.application-steps h3 {
    color: var(--text-primary);
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: center;
}

.application-steps ol {
    margin-left: 20px;
    margin-bottom: 30px;
}

.application-steps li {
    color: var(--text-primary);
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.note {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 5px;
    font-style: italic;
}

.confirmation-info {
    margin: 30px 0;
    padding: 20px;
    border-left: 3px solid var(--accent-color);
}

.scenarios {
    margin-top: 20px;
}

.scenarios p {
    margin-bottom: 15px;
}

.next-steps {
    margin-top: 30px;
}

.next-steps h4 {
    color: var(--text-primary);
    font-size: 1.3em;
    margin-bottom: 20px;
}

#application .btn {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 15px 40px;
    font-size: 1.2em;
    background: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

#application .btn:hover {
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .application-content {
        padding: 10px;
    }
    
    .application-steps {
        padding: 20px;
    }
    
    .application-content h2 {
        font-size: 1.5em;
    }
}
/* -------contact ----------*/
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: var(--text-secondary);
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: var(--accent-color);
    transform:translateY(-5px)
}
.btn.btn2{
    display: inline-block;
    background: var(--accent-color);
}
.contact-right form{
    width: 100%;
}
form input,form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: var(--bg-secondary);
    padding: 15px;
    margin: 15px 0;
    color: var(--text-primary);
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: var(--bg-secondary);
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    color: var(--purple-accent);
}

/* Application Form Styles */
#application-form {
    padding: 0 0 80px 0;
    margin-top: -100px;
    background: var(--bg-primary);
}

.application-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.application-content p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.guidelines-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.guidelines-link:hover {
    color: var(--highlight-color);
}

.required-note {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.3em;
    line-height: 1.4;
}

/* Special styling for the checkbox label */
.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.1em;
}

.form-group input[type="checkbox"] {
    margin-top: 4px;
}

#application-form form input,
#application-form form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: var(--bg-secondary);
    padding: 15px;
    color: var(--text-primary);
    font-size: 18px;
    border-radius: 6px;
}

#application-form form textarea {
    height: 150px;
    resize: vertical;
}

#application-form .btn2 {
    display: inline-block;
    background: var(--accent-color);
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
    border: none;
    color: var(--text-primary);
}

#application-form .btn2:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#msg {
    color: var(--highlight-color);
    margin-top: 20px;
    display: block;
    text-align: center;
}

/* Add asterisk to required fields */
.form-group label:has(+ input[required]),
.form-group label:has(+ textarea[required]) {
    position: relative;
}

.form-group label:has(+ input[required])::after,
.form-group label:has(+ textarea[required])::after {
    content: ' *';
    color: var(--accent-color);
}
/* -----------------checkbox styling----------- */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 1.1em;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: auto !important;
}

.checkbox-label span {
    flex: 1;
}
.required-asterisk {
    color: var(--accent-color);  /* This uses your theme's accent color (red) */
    margin-left: 2px;
}
.logo-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
/* -----------logo styling----------- */
.logo {
    max-width: 200px;  /* Adjust this value to your preferred logo size */
    height: auto;
}
/* ---------------css for small screens------- */
nav .fas{
    display: none;
}
@media only screen and (max-width: 600px){
    #header{
        height: 200vh;
        background-image: url(images/Together-mobile.jpeg);
        /* background-position: center 100%; */
        /* background-size: auto;
        height: auto; */
    }
    .header-text{
        /* margin-top: 10%; */
        /* width: 40%; */
        font-size: 16px;
        display: none;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: var(--accent-color);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .fac-col-1, .fac-col-2, .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .fac-col-1, .about-col-1{
        margin-bottom: 30px;
    }
    .fac-col-2, .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }
    #facilitators{
        height: auto;
    }
}
#msg{
    color: var(--highlight-color);
    margin-top: -40px;
    display: block;
}

/* Add this after your existing #header styles */

/* Class to hide the banner completely */
.no-banner #header {
    height: auto;
    min-height: 0;
    background-image: none;
}

/* Class to remove just the background image but keep the height */
.no-banner-image #header {
    background-image: none;
}

/* Optional: Class for a minimal banner */
.minimal-banner #header {
    height: auto;
    min-height: 60px; /* Adjust this value as needed */
    background-image: none;
}

/* Title Section */
#title-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.main-title {
    font-size: 120px; /* Increased from previous size */
    color: var(--accent-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.subtitle {
    font-size: 3.5em; /* Increased from 2.5em */
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: normal;
    text-align: center;
    line-height: 1.3;
}

.description {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Add responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .main-title {
        font-size: 80px;
    }
    
    .subtitle {
        font-size: 2.5em;
    }
}

@media screen and (max-width: 480px) {
    .main-title {
        font-size: 60px;
    }
    
    .subtitle {
        font-size: 2em;
    }
}

