/* Ensure Tailwind's base styles are applied if not using its CDN directly in CSS */
/* @tailwind base; */
/* @tailwind components; */
/* @tailwind utilities; */

body {
    font-family: 'Inter', sans-serif;
    /* Ensure Inter font is applied */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    /* Tailwind bg-white */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    /* Tailwind shadow-xl */
    z-index: 50;
    /* Tailwind z-50 */
    min-width: 12rem;
    /* w-48 */
    border-radius: 0.375rem;
    /* rounded-md */
}

.dropdown-menu a {
    /* color: black; Default text color, can be customized via Tailwind */
    padding: 0.5rem 1rem;
    /* Tailwind px-4 py-2 */
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
    /* text-sm */
}

/* Custom hover for dropdown items if needed, Tailwind handles this well with hover:bg-collegeBlue hover:text-white */
/* .dropdown-menu a:hover {
    background-color: #f1f1f1;
} */

/* Hero Section Styling */
.hero-section {
    height: 600px;
    /* Adjust as needed, or use vh unit e.g., 75vh */
    position: relative;
    /* Needed for absolute positioning of video and overlay */
    overflow: hidden;
    /* Ensures video doesn't overflow its container */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 10;
    /* Behind overlay and button */
    transform: translate(-50%, -50%);
    background-size: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Optional: Dark overlay for better text readability */
    z-index: 15;
    /* Above video, below button */
}

.enquire-now-button {
    /* Tailwind classes are used directly in HTML for this button */
    /* position: absolute; */
    /* top: 2.5rem; */
    /* top-10 */
    /* right: 2.5rem; */
    /* right-10 for md, lg:right-20 */
    /* z-index: 20; */
    /* Above overlay */
}

/* Mobile menu specific styles if not fully covered by Tailwind */
#mobile-menu {
    /* Tailwind classes handle most of this: md:hidden hidden absolute top-full left-0 right-0 bg-white shadow-lg py-2 z-40 */
}

.mobile-dropdown-menu {
    /* Tailwind: hidden pl-4 */
}


/* Additional custom styles can go here */
/* Compatibility for 'Why Jhunjhunu Academy' section */
.why-section {
    height: auto;
}

.about-btn {
    background-color: white;
    color: #0d47a1;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.about-btn:hover {
    background-color: #f1f1f1;
}

.enquire-btn {
    background-color: #002171;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
}

.enquire-btn:hover {
    background-color: #001f54;
}

/* Ensure Tailwind's base styles are applied if not using its CDN directly in CSS */
/* @tailwind base; */
/* @tailwind components; */
/* @tailwind utilities; */

body {
    font-family: 'Inter', sans-serif;
    /* Ensure Inter font is applied */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    /* Tailwind bg-white */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    /* Tailwind shadow-xl */
    z-index: 50;
    /* Tailwind z-50 */
    min-width: 12rem;
    /* w-48 */
    border-radius: 0.375rem;
    /* rounded-md */
}

.dropdown-menu a {
    /* color: black; Default text color, can be customized via Tailwind */
    padding: 0.5rem 1rem;
    /* Tailwind px-4 py-2 */
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
    /* text-sm */
}

/* Custom hover for dropdown items if needed, Tailwind handles this well with hover:bg-collegeBlue hover:text-white */
/* .dropdown-menu a:hover {
    background-color: #f1f1f1;
} */

/* Hero Section Styling */
.hero-section {
    height: 600px;
    /* Adjust as needed, or use vh unit e.g., 75vh */
    position: relative;
    /* Needed for absolute positioning of video and overlay */
    overflow: hidden;
    /* Ensures video doesn't overflow its container */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 10;
    /* Behind overlay and button */
    transform: translate(-50%, -50%);
    background-size: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Optional: Dark overlay for better text readability */
    z-index: 15;
    /* Above video, below button */
}

.enquire-now-button {
    /* Tailwind classes are used directly in HTML for this button */
    /* position: absolute; */
    /* top: 2.5rem; */
    /* top-10 */
    /* right: 2.5rem; */
    /* right-10 for md, lg:right-20 */
    /* z-index: 20; */
    /* Above overlay */
}

/* Mobile menu specific styles if not fully covered by Tailwind */
#mobile-menu {
    /* Tailwind classes handle most of this: md:hidden hidden absolute top-full left-0 right-0 bg-white shadow-lg py-2 z-40 */
}

.mobile-dropdown-menu {
    /* Tailwind: hidden pl-4 */
}


/* Additional custom styles can go here */
/* Compatibility for 'Why Jhunjhunu Academy' section */
.why-section {
    height: auto;
}

.about-btn {
    background-color: white;
    color: #0d47a1;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.about-btn:hover {
    background-color: #f1f1f1;
}

.enquire-btn {
    background-color: #002171;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
}

.enquire-btn:hover {
    background-color: #001f54;
}

/* Custom colors based on the design */
:root {
    --primary-blue: #0D47A1;
    /* A deep blue for primary elements, derived from the images */
    --secondary-red: #D32F2F;
    /* The red used in the "School Plus" section */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8F8F8;
    --border-color: #E0E0E0;
}

/* Specific styles for the "Creating World Citizens" section */
.world-citizens-section {
    background-color: white;
    padding: 4rem 0;
}

.world-citizens-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .world-citizens-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.world-citizens-text {
    flex: 1;
    padding: 0 1rem;
}

.world-citizens-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.world-citizens-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.world-citizens-video-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.world-citizens-video {
    width: 100%;
    max-width: 600px;
    /* Adjust based on screenshot for pixel-perfect */
    height: auto;
    aspect-ratio: 16 / 9;
    /* Standard video aspect ratio */
    border-radius: 8px;
    /* Slightly rounded corners as per image */
    overflow: hidden;
    /* Ensures video within bounds */
}

/* School Plus section */
.school-plus-section {
    background-color: var(--secondary-red);
    padding: 2.5rem 0;
    color: white;
    text-align: center;
}

.school-plus-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .school-plus-container {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}

.school-plus-icon {
    font-size: 3rem;
    /* Adjust size of the cross/plus icon */
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-plus-icon img {
    width: 50px;
    /* Adjust size for the specific icon in the image */
    height: 50px;
}

.school-plus-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .school-plus-content {
        align-items: flex-start;
        text-align: left;
    }
}

.school-plus-content p {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.school-plus-button {
    background-color: white;
    color: var(--secondary-red);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.school-plus-button:hover {
    background-color: #f0f0f0;
    color: var(--secondary-red);
}

/* Amenities Section */
.amenities-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.amenities-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.amenity-item {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Subtle shadow as per image */
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    width: 60px;
    /* Adjust icon size to match image */
    height: 60px;
    margin-bottom: 1rem;
    stroke: var(--secondary-red);
    /* Use the red color for icons */
    stroke-width: 1.5px;
    /* Adjust stroke thickness */
    fill: none;
    /* Ensure no fill for outline icons */
}

.amenity-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* School You Would Want To Be In Section (Sports and Clubs) */
.school-sports-section {
    padding: 4rem 0;
    background-color: white;
    text-align: center;
}

.school-sports-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sport-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sport-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sport-item img {
    width: 100%;
    height: 200px;
    /* Fixed height for image consistency */
    object-fit: cover;
    display: block;
}

.sport-item p {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer Section */
.site-footer {
    background-color: #222222;
    /* Dark background as per image */
    color: #f0f0f0;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 1rem;
}

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

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col p,
.footer-col a {
    font-size: 0.95rem;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: block;
}

.footer-col a:hover {
    color: white;
}

.footer-col .contact-info {
    margin-top: 1.5rem;
}

.footer-col .contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-col .contact-info svg {
    margin-right: 0.5rem;
    color: #b0b0b0;
    width: 18px;
    height: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    background-color: #1a1a1a;
    color: #808080;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #808080;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: white;
}

@media only screen and (max-width: 768px) {
    .hero-section {
        height: 215px !important;
        position: relative;
        overflow: hidden;
    }

    .world-citizens-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
        align-items: center;
    }

    .classh1 {
        font-size: 2em !important;
        background: linear-gradient(to right, #ff4e50, #f9d423);
        background-clip: border-box;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    }

    .classh2 {
        font-size: 21px;
    }