/* Bold text with dark blue background */
.bold-dark-blue {
    font-weight: bold;
    background-color: #1a237e;
    color: white;
    padding: 10px;
    border-radius: 4px;
}


/* Alternative class for just bold text */
.bold-text {
    font-weight: bold;
}

/* Third intro paragraph styling with DM Serif Text font */
.thirdintro {
    font-family: 'DM Serif Text', serif;
    color: #D5EEF8;
    font-size: 24px;
    line-height: 1.5;
    margin: 20px 0;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.dark-blue-bg {
    background-color: #1a237e;
    color: white;
    padding: 10px;
    border-radius: 4px;
}

/* Center all header elements */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    font-family: 'Copperplate', 'Copperplate Gothic Light', fantasy;
    font-size: 100%;
}

/* Navigation bar styling */
nav {
    padding: 15px 20px;
    margin: 0;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    transform: translateY(0);
}

/* Navigation bar with background (when scrolled) */
nav.scrolled {
    background-color: #D5EEF8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Navigation bar hidden state */
nav.nav-hidden {
    transform: translateY(-100%);
}

/* Navigation list styling */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Main navigation items (excluding home and contact us) */
nav ul.main-nav {
    justify-content: center;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Home positioning */
nav ul.logo-nav {
    position: absolute;
    top: -15px;
    left: 0px;
    justify-content: flex-start;
    gap: 20px;
    width: auto;
    pointer-events: auto !important;
    z-index: 25;
    background-color: #D5EEF8;
    border-radius: 10px;
    padding: 8px 15px 8px 15px;
}
.logo-nav img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    vertical-align: middle;
}

/* Social Media positioning */
nav ul.social-nav {
    position: absolute;
    top: 40px;
    right: 20px;
    justify-content: flex-end;
    gap: 15px;
    width: auto;
    pointer-events: auto;
    z-index: 10;
}

.social-nav img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Social media hover effects */
.social-nav a {
    padding: 8px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 50px !important;
    min-height: 50px !important;
    position: relative;
    z-index: 20;
    flex-direction: row !important;
    gap: 0 !important;
    font-size: 0 !important;
    pointer-events: auto !important;
    text-decoration: none;
    cursor: pointer;
}

.social-nav a:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.social-nav a:hover .nav-icon {
    transform: scale(1.2);
    filter: brightness(1.3) drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

/* Navigation list styling */
nav li {
    margin: 0;
}

/* Navigation link styling */
nav a {
    color: black;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-direction: column;
    text-align: center;
    background: none;
    border: 2px solid transparent;
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 80px;
    min-height: 100px;
    justify-content: center;
    position: relative;
    z-index: 15;
    box-sizing: border-box;
    pointer-events: auto;
}

/* Specific styling for main navigation links */
.main-nav a {
    padding: 15px;
    min-width: 100px;
    min-height: 120px;
    border-radius: 10px;
    pointer-events: auto;
    border: 2px solid transparent;
}

/* Main navigation hover effect */
.main-nav a:hover {
    background-color: rgba(3, 3, 3, 0) !important;
    border: 2px solid rgba(0, 0, 0, 0) !important;
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    border-radius: 15px;
}

/* Main navigation icon hover effect */
.main-nav a:hover .nav-icon {
    transform: scale(1.2);
    filter: brightness(1.3) drop-shadow(0,0,0,0.3);
}

/* Logo navigation hover effect */
.logo-nav a {
    padding: 2px !important;
    border-radius: 2px !important;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 30;
    min-width: auto !important;
    min-height: auto !important;
    flex-direction: row !important;
    gap: 0 !important;
    font-size: 0 !important;
    pointer-events: auto !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.logo-nav a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.logo-nav a:hover .nav-icon,
.logo-nav a:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Navigation icon styling */
.nav-icon {
    width: 80px;
    height: 80px;
    vertical-align: middle;
    background: transparent;
    border: none;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* DTC Logo styling with hover */
.dtc-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* ===========================================
   HAMBURGER MENU STYLES
   =========================================== */

/* Hamburger Menu Button - Hidden by default on desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    padding: 0;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile navigation states */
.main-nav.mobile-hidden {
    display: none !important;
}

.main-nav.mobile-visible {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #D5EEF8 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    border-radius: 0 0 15px 15px !important;
    padding: 20px 0 !important;
    gap: 10px !important;
    z-index: 999 !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Background with windmill cartoon */
body {
    background-color: #000000;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 100px;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scrolling issues */
    overflow-y: auto; /* Ensure smooth vertical scrolling */
    min-height: 100vh; /* Ensure body has minimum height */
    scroll-behavior: smooth;
}

/* Homepage-specific windmill background */
body.homepage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('greenwindmill.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Educators page-specific windmill background */
body.educators::before {
   content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('educators3.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}
/* Employers Different Background */
body.employers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('EmployersGemini.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Volunteers page-specific windmill background */
body.volunteers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('VolunteersGemini.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

/* the background for the resources page  */
body.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('ChatGPT\ Image\ Jul\ 14\,\ 2025\,\ 03_03_30\ PM.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

body.contactus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('ContactUsnow.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}
/* Header section styling */
header {
    background: transparent;
    padding: clamp(20px, 4vh, 60px) clamp(10px, 3vw, 40px);
    margin: 0;
    width: 100%;
    min-height: clamp(50vh, 70vh, 80vh);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Header text styling with Bowlby One SC font */
.header-title {
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    font-size: clamp(100px, 10vw, 300px);
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    line-height: 1.1;
    hyphens: auto;
}
.homeheader {
    font-family: "Tourney", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    font-size: clamp(48px, 8vw, 140px);
    text-align: center;
    color: #D5EEF8;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    max-width: 100%;
    line-height: 1.2;
    hyphens: auto;
}

.educatorstart {
    font-family: "Tourney", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
font-size: clamp(40px, 7vw, 120px);
    text-align: center;
    color: #D5EEF8;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
}
/* Subtitle styling with Bowlby One SC font */
.subtitle {
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif !important;
    font-weight: bold !important;
    font-size: 150% !important;
    text-align: center !important;
    color: #D5EEF8 !important; /* Temporary red color for testing */
    margin: 15px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
}

/* The style for the bold text at the start of the page */
.tabheader{
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    font-size: 800%;
    text-align: center;
    margin: 0 auto;
    color:#00b3ff;
}

/* Intro Paragraph styling with DM Serif Text font */

/* Center and resize images */
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    height: auto;
}

/* image styling for Windyville */
img {
    max-width: 450px;
    width: 100%;
    height: fit-content;
    object-fit: cover;
    vertical-align: middle;
}

/* Header container styling */
.header-container {
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 100%;
}

/* Header image with shadow */
.header-image {
    flex: 0 0 40%;
    max-width: 100%;
    min-width: 250px;
}

.header-image img {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    margin: 0;
    width: 100%;
}

.header-image img:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.header-text {
    flex: 1;
    max-width: 60%;
    padding-left: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    min-width: 0;
}

/* Footer styling */
footer {
    background-color: #D5EEF8;
    text-align: left;
    padding: 20px;
    margin: 40px 0 0 0;
    width: 100%;
    border-top: 2px solid #91c97d;
    box-sizing: border-box;
    position: relative;
}

/* Back to Top Button */
.back-to-top-btn {
    background-color: #000000;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.section-nav-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
  position: relative;
}

/* Default section navigation buttons for screens not covered by media queries */
.section-nav-button {
  flex: 1;
  margin: 0 10px;
  color: white;
  border: 2px solid white;
  background-color: transparent;
  padding: 12px 0;
  margin-top: -70px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  border-radius: 8px;
  pointer-events: auto;
}

.section-nav-button:hover {
  background-color: rgba(14, 126, 216, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
} 


.back-to-top-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.scroll-button {
    background-color: #000000;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.scroll-button:hover {
    background-color: #1d1919;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


.vertical-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: auto;
  margin-left: -50px;
  padding: 20px;
}

.vertical-form input,
.vertical-form textarea {
 font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
}

.vertical-form textarea {
  resize: vertical;
  min-height: 120px;
}

.vertical-form button {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    padding: 16px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.vertical-form button:hover {
  background-color: #ffffff;
}

.formheader{
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    font-size: 400%;
    text-align: left;
    color:#ffffff;
    padding-left: 20px;
}

.formheader2{
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    font-size: 400%;
    text-align: center;
    color:#ffffff;
    padding-left: 20px;
}
/* Contact page layout styles */
.contact-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}

/* Contact section specific subtitle alignment */
#ContactUS .subtitle {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 20px !important;
}

/* Contact section specific text styling for compact layout */


/* Contact text styling */
.contact-text {
    flex: 1;
    min-width: 300px;
    margin-right: -20px;
}

/* Contact form styling */
.contact-form {
    flex: 0 0 500px;
    max-width: 500px;
}

/* Responsive contact layout */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-form {
        flex: 1;
        max-width: 100%;
    }
}

/* Main content section styling */
#main-content {
    scroll-margin-top: 80px; /* Account for fixed navigation */
    padding-top: 20px;
    min-height: 100px; /* Ensure it's a valid scroll target */
}

.back-to-top-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* footer font design */
footer p {
    margin: 0;
    font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 20px;
    color: #000000;
    font-weight: bold;
    text-align: left;
}

/* footer UDRI and DTC logo styling */
footer .logos {
    width: 50px !important;
    height: 50px !important;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
    object-fit: contain;
}

/* Jet Robot styling */
footer .jetrobot {
    width: 60px !important;
    height: 60px !important;
    position: absolute;
    right: 20px;
    top: 20px;
    object-fit: contain;
}

/* The employers image design body */
.image-text-container {
  display: flex;
  align-items: center; /* Vertically aligns image and text */
  gap: 20px; /* Adds space between image and text */
    width: 100%;
  max-width: none;
  margin: 0 auto;
   width: 100vw;       /* Full viewport width */
  height: 800px;      /* Adjust to desired vertical size */
    padding: 20px; /* Optional padding */
}

.left-image img {
  margin-top: -50px;
  margin-left: 80px;
    flex-shrink: 0; /* Prevents image from shrinking */

}

.right-text {
  flex: 1; /* Allows text to take up remaining space */
}


/* Project timeline font for the Days */
.projecttimeline {
    font-family: Tahoma, sans-serif;
}

/* Make bold elements within intro class extra bold */

/* paragraph font styling */
p {
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 14px;
    line-height: 2.5;
    margin: 20px 0;
    width: 100%;
    color: #D5EEF8;
    /* height:max-content; */
}

/* Specific styling for hyperlinks with class "hyper" */
.hyper {
    color: #87CEEB !important; /* Light blue color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.hyper:hover {
    color: #00BFFF !important; /* Slightly brighter blue on hover */
    text-decoration: none;
}

.hyper:visited {
    color: #87CEEB !important; /* Keep same light blue for visited links */
}

.link-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 24px;
  color: white;
  border: 2px solid white;
  background-color: transparent;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  border-radius: 8px;
  pointer-events: auto;
  text-decoration: none;
  text-align: center;
}

.link-button:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
    
/* ===========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   =========================================== */

/* Mobile and Tablet - Base styles for smaller devices */
@media  (max-width: 1150px) {
    /* Navigation adjustments for mobile */
    nav {
        padding: 10px 15px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        position: relative;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex !important;
        top: 15px !important;
        right: 15px !important;
    }
    
    .hamburger-line {
        background-color: #000 !important;
    }
    
    /* Hide main navigation by default on mobile */
    .main-nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background-color: #D5EEF8 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
        border-radius: 0 0 15px 15px !important;
        padding: 15px 0 !important;
        flex-direction: column !important;
        gap: 8px !important;
        z-index: 999 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }
    
    /* Show main navigation when toggled */
    .main-nav.mobile-visible {
        display: flex !important;
    }
    
    /* Mobile navigation items styling */
    .main-nav li {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    .main-nav a {
        width: 100% !important;
        min-width: auto !important;
        min-height: 60px !important;
        padding: 10px 15px !important;
        margin: 0 !important;
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 14px !important;
        border-radius: 0 !important;
        border: none !important;
        background-color: transparent !important;
        transition: background-color 0.3s ease !important;
    }
    
    .main-nav a:hover {
        background-color: rgba(0, 0, 0, 0.1) !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .logo-nav {
        top: -30px !important;
        left: 10px !important;
    }
    
    .logo-nav img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .social-nav {
        top: 20px !important;
        right: 60px !important;
        gap: 10px !important;
    }
    
    .social-nav img {
        width: 25px !important;
        height: 25px !important;
    }
    
    /* Mobile social nav adjustments */
    .social-nav a {
        padding: 6px !important;
        min-width: 35px !important;
        min-height: 35px !important;
        border-radius: 6px !important;
        pointer-events: auto !important;
        z-index: 25;
    }
    
    /* Mobile back to top button */
    .back-to-top-btn {
        font-size: 14px;
        padding: 10px 16px;
        margin-top: 10px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        gap: 10px !important;
        justify-content: center;
    }
    
    .nav-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    nav a {
        font-size: 8px;
        padding: 15px 10px;
        min-width: 80px;
        min-height: 100px;
        border-radius: 8px;
    }
    
    /* Header adjustments for mobile */
    header {
        padding: clamp(40px, 8vh, 80px) clamp(10px, 4vw, 20px);
        min-height: clamp(40vh, 50vh, 60vh);
        margin: 0 0 20px 0;
        box-sizing: border-box;
    }
    
     .header-title {

        text-align: center;

        padding: 0 15px;

        box-sizing: border-box;

        max-width: 100%;

        word-wrap: break-word;

        font-size: clamp(45px, 7vw, 100px) !important;

    }

    

    .homeheader {

        padding: 0 15px;

        max-width: 100%;

        word-wrap: break-word;

        line-height: 1.1;

        font-size: clamp(25px, 5vw, 65px) !important;

    }

    

    .subtitle {

        font-size: 85% !important;

        padding: 0 15px;

        margin: 10px auto;

    }

    

    .tabheader {

        font-size: 300% !important;

        padding: 0 15px;

        margin: 10px auto;

        word-wrap: break-word;

    }

    

   

    

    /* Content adjustments for mobile */

    .header-container {

        flex-direction: column !important;

        gap: 20px !important;

        padding: 0 10px !important;

        align-items: center !important;

        flex-wrap: nowrap !important;

        text-align: center !important;

        justify-content: center !important;

    }

    

    .header-image {

        flex: 0 0 auto !important;

        width: 100% !important;

        max-width: 300px !important;

        min-width: 200px !important;

        order: 1 !important; /* Move image above text */

    }

    

    .header-image img {

        max-width: 100% !important;

        width: 100% !important;

        height: auto !important;

    }

    

    .header-text {

        flex: 1 !important;

        padding: 0 10px !important;

        text-align: center !important;

        max-width: 100% !important;

        order: 2 !important; /* Move text below image */

        padding-left: 0 !important;

    }

    

    body {

        padding-top: 60px;

        padding-left: 10px;

        padding-right: 10px;

    }

    

    /* Responsive background adjustments for mobile */

    body.homepage::before {

        height: 70vh;

        background-size: cover;

        background-position: center center;

    }

    

    body.educators::before {

        height: 75vh;

        background-size: cover;

        background-position: center top;

    }

    

    body.employers::before {

        height: 75vh;

        background-size: cover;

        background-position: center top;

    }

    

    body.volunteers::before {

        height: 80vh;

        background-size: cover;

        background-position: center top;

    }

    

    body.resources::before {

        height: 75vh;

        background-size: cover;

        background-position: center top;

    }

    

    body.contactus::before {

        height: 75vh;

        background-size: cover;

        background-position: center top;

    }
    
    footer {
        margin: 15px 0 0 0;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    
    footer p {
        font-size: clamp(10px, 2vw, 12px) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    
    .logos {
        width: clamp(20px, 4vw, 30px) !important;
        height: clamp(20px, 4vw, 30px) !important;
        margin-right: 4px !important;
    }
    
    footer .jetrobot {
        width: clamp(25px, 5vw, 35px) !important;
        height: clamp(25px, 5vw, 35px) !important;
        right: 10px !important;
        top: 10px !important;
    }
    
    /* Mobile logo nav adjustments */
    .logo-nav a {
        padding: 3px !important;
        border-radius: 4px !important;
        pointer-events: auto;
    }
    
    /* Mobile section navigation buttons */
    .section-nav-button {
        flex: 1;
        margin: 0 5px;
        color: white;
        border: 2px solid white;
        background-color: transparent;
        padding: 8px 0;
        margin-top: -50px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        border-radius: 6px;
        pointer-events: auto;
    }
}

/* Tablet Portrait */


/* Large Desktop / Laptop */
@media (min-width: 1600px) {
    .header-container {
        width: 100%;
        margin: 0;
        max-width: none;
        gap: 5rem;
        flex-direction: row;
        align-items: center;
    }
    
    body {
        max-width: none;
        width: 100%;
        margin: 0;
        position: relative;
    }
    
    nav {
        max-width: none;
        width: 100%;
        margin: 0;
        left: 0;
        transform: none;
        padding: 15px 20px;
        box-sizing: border-box;
    }
    
    footer {
        max-width: none;
        width: 100%;
        margin: 40px 0 0 0;
        padding: 20px;
        box-sizing: border-box;
    }
    
    /* Make content sections span full width */
    header {
        width: 100%;
        padding: 100px 40px;
        min-height: 65vh;
    }
    
    .header-title {
        font-size: 900%;
    }
    
    .homeheader {
        font-size: 800%;
    }
    
    .subtitle {
        font-size: 200%;
    }
    
    /* Adjust content padding for full-width layout */
    p {
        padding: 0 60px;
        margin: 20px 0;
        box-sizing: border-box;
    }
    
    ul {
        padding-left: 60px;
        padding-right: 40px;
    }
    
    h2 {
        padding: 0 40px;
    }
    
    .nav-icon {
        width: 80px;
        height: 80px;
    }
    
    nav a {
        font-size: 20px;
        padding: 20px;
        min-width: 120px;
        min-height: 140px;
    }
    
    .logo-nav img {
        width: 150px;
        height: 150px;
    }
    
    .logo-nav {
        top: -15px !important;
        left: 0px !important;
        padding: 8px 15px 8px 15px !important;
    }
    
    /* Section navigation buttons for large desktop */
    .section-nav-button {
        flex: 1;
        margin: 0 12px;
        color: white;
        border: 2px solid white;
        background-color: transparent;
        padding: 14px 0;
        margin-top: -45px;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: "Bowlby One SC", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        border-radius: 9px;
        pointer-events: auto;
    }
}


/* iPhone-specific font size adjustments - smaller fonts for iPhone screens */

@media (max-width: 480px) {

    .header-title {

        font-size: clamp(40px, 7vw, 90px) !important;

    }

    

    .homeheader {

        font-size: clamp(24px, 5vw, 55px) !important;

    }

    

    .tabheader {

        font-size: 280% !important;

    }

    

    .subtitle {

        font-size: 85% !important;

    }

    

    .educatorstart {

        font-size: clamp(28px, 5.5vw, 65px) !important;

    }

    

    .formheader2 {

        font-size: 230% !important;

    }

    

    .thirdintro {

        font-size: 22px !important;

    }

    

    p {

        font-size: 14px !important;

    }

    

    /* Move section navigation buttons higher on iPhone */

    .section-nav-button {

        margin-top: -50px !important;

        transform: translateY(-100px) !important;

        font-size: 11px !important;

        padding: 6px 0 !important;

    }

    

    /* Move section buttons lower for specific pages on iPhone */

    body.educators .section-nav-button,

    body.resources .section-nav-button,

    body.contactus .section-nav-button {

        transform: translateY(-60px) !important;

    }

}
/* Extra Large Screens - Full Width Optimization */


/* ===========================================
   SMOOTH PAGE TRANSITIONS AND ANIMATIONS
   =========================================== */

/* Page fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply fade-in to body for smooth page loading */
body {
    animation: fadeIn 0.6s ease-out;
    transition: opacity 0.3s ease-in-out;
}

/* Smooth content loading animation */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header animation */
header {
    animation: slideInFromTop 0.8s ease-out 0.2s both;
}

/* Content sections animation with stagger effect */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animations for content sections - handled by ScrollReveal */
/* .intro, .secondintro, .thirdintro animations are controlled by ScrollReveal */

/* Footer animation */
footer {
    animation: slideInFromBottom 0.8s ease-out 1s both;
}

/* Background image smooth loading */
body.homepage::before,
body.educators::before {
    animation: fadeIn 1s ease-out;
    transition: opacity 0.5s ease-in-out;
}

/* Navigation smooth appearance */
nav {
    animation: slideInFromTop 0.6s ease-out;
}

/* Smooth link transitions for page navigation */
nav a, .hyper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Preload animation for better perceived performance */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Loading state for images and content */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Page exit transition preparation */
.page-exit {
    animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Enhanced hover transitions for interactive elements */
.nav-icon, .social-nav img, .back-to-top-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, filter;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    body,
    header,
    .intro,
    .secondintro,
    .thirdintro,
    footer,
    nav,
    body.homepage::before,
    body.educators::before {
        animation: none;
    }
    
    * {
        transition-duration: 0.1s !important;
        animation-duration: 0.1s !important;
    }
}

/* Page loaded state for smooth entrance */
body.page-loaded {
    animation: fadeIn 0.6s ease-out;
}

/* Enhanced page transition states */
body.page-exit {
    animation: fadeOut 0.3s ease-in-out forwards;
}

/* Smooth background image transitions */
body.homepage::before,
body.educators::before {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

/* Improved navigation link transitions */
nav a {
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease-in-out;
}

nav a:hover::before {
    left: 100%;
}

/* Smooth image loading transitions */
img {
    transition: opacity 0.3s ease-in-out;
}

img.loading {
    opacity: 0.7;
}

/* Enhanced hover effects for better feedback */
.nav-icon, .social-nav img {
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content sections animation - handled by ScrollReveal in script.js */

/* ===========================================
   THANK YOU MESSAGE STYLING
   =========================================== */

/* Thank You Message Container */
.thank-you-message {
    display: none;
    text-align: center;
    padding: 40px 30px;
    background-color: #125079;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(6, 125, 185, 0.82), 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    margin-left: -50px;
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Show state for thank you message */
.thank-you-message[style*="block"] {
    transform: scale(1);
    opacity: 1;
}

/* Animated background gradient */
.thank-you-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent, 
        rgba(255,255,255,0.05), 
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

/* Success icon floating particles */
.thank-you-message::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
    background-size: 60px 60px, 40px 40px, 80px 80px;
    animation: floatingParticles 8s infinite linear;
    pointer-events: none;
}

/* Thank You Title */
.thank-you-title {
    font-family: "DM Serif Text", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif !important;
    font-size: clamp(24px, 4vw, 36px) !important;
    color: white !important;
    margin: 0 0 20px 0 !important;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.3) !important;
    position: relative;
    z-index: 2;
    animation: titlePulse 2s ease-in-out infinite alternate;
}

/* Thank You Text */
.thank-you-text {
    font-family: 'DM Serif Text', serif !important;
    font-size: clamp(16px, 2.5vw, 20px) !important;
    color: white !important;
    margin: 0 0 25px 0 !important;
    line-height: 1.5 !important;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    text-align: left;
}

/* Thank You Icon */
.thank-you-icon {
    font-size: clamp(40px, 6vw, 56px) !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    width: clamp(70px, 10vw, 90px);
    height: clamp(70px, 10vw, 90px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    animation: checkmarkBounce 1s ease-out 0.5s forwards;
    transform: scale(0) rotate(-180deg);
}


/* ===========================================
   THANK YOU ANIMATIONS
   =========================================== */

/* Shimmer effect */
@keyframes shimmer {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg); 
    }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg); 
    }
}

/* Floating particles */
@keyframes floatingParticles {
    0% { 
        transform: translateY(0) rotate(0deg); 
    }
    100% { 
        transform: translateY(-20px) rotate(360deg); 
    }
}

/* Title pulse effect */
@keyframes titlePulse {
    0% { 
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% { 
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(255, 255, 255, 0.6);
    }
}

/* Fade in up animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkmark bounce animation */
@keyframes checkmarkBounce {
    0% { 
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        opacity: 1;
    }
    70% { 
        transform: scale(0.9) rotate(10deg);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* ===========================================
   RESPONSIVE THANK YOU MESSAGE
   =========================================== */

/* Mobile adjustments */
@media screen and (max-width: 480px) {
    .thank-you-message {
        padding: 25px 20px;
        margin: 15px 0;
        border-radius: 15px;
    }
    
    .thank-you-title {
        margin-bottom: 15px !important;
    }
    
    .thank-you-text {
        margin-bottom: 20px !important;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .thank-you-message {
        padding: 35px 25px;
        border-radius: 18px;
    }
}

/* Large screens */
@media screen and (min-width: 1025px) {
    .thank-you-message {
        padding: 45px 40px;
        border-radius: 25px;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .thank-you-message,
    .thank-you-message::before,
    .thank-you-message::after,
    .thank-you-title,
    .thank-you-text,
    .thank-you-icon {
        animation: none !important;
        transition: opacity 0.3s ease !important;
    }
    
    .thank-you-message[style*="block"] {
        transform: none !important;
    }
    
    .thank-you-icon {
        transform: scale(1) rotate(0deg) !important;
    }
}
/* PHONE-SPECIFIC: Lower background height for educators page */

@media screen and (max-width: 480px) {

    body.educators::before {

        height: 80vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}



/* LARGER PHONES: Lower background height for educators page */

@media screen and (min-width: 481px) and (max-width: 768px) {

    body.educators::before {

        height: 85vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}




/* PHONE-SPECIFIC: Lower background height for resources page */

@media screen and (max-width: 480px) {

    body.resources::before {

        height: 80vh !important;

        background-size: cover !important;

        background-position:center top!important;

    }
}



/* LARGER PHONES: Lower background height for resources page */

@media screen and (min-width: 481px) and (max-width: 768px) {

    body.resources::before {

        height: 85vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}



/* PHONE-SPECIFIC: Lower background height for volunteers page */

@media screen and (max-width: 480px) {

    body.volunteers::before {

        height: 80vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}



/* LARGER PHONES: Lower background height for volunteers page */

@media screen and (min-width: 481px) and (max-width: 768px) {

    body.volunteers::before {

        height: 85vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}



/* PHONE-SPECIFIC: Lower background height for employers page */

@media screen and (max-width: 480px) {

    body.employers::before {

        height: 75vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}



/* LARGER PHONES: Lower background height for employers page */

@media screen and (min-width: 481px) and (max-width: 768px) {

    body.employers::before {

        height: 80vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}



/* PHONE-SPECIFIC: Lower background height for contactus page */

@media screen and (max-width: 480px) {

    body.contactus::before {

        height: 80vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}



/* LARGER PHONES: Lower background height for contactus page */

@media screen and (min-width: 481px) and (max-width: 768px) {

    body.contactus::before {

        height: 85vh !important;

        background-size: cover !important;

        background-position: center top !important;

    }

}

