/* Variables */
:root {
    --primary-color: #005b96; /* Deep Ocean Blue */
    --secondary-color: #ff7f50; /* Coral/Sunset Orange */
    --accent-color: #03396c; /* Darker Blue */
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-heading: "Outfit", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent-color);
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
}

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

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    margin-left: 15px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links .btn-primary {
    padding: 10px 25px;
    color: var(--white);
}

.nav-links .btn-primary:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero-slider {
    height: 100vh;
    position: relative;
    margin-top: -80px; /* Offset navbar height */
}

.swiper {
    width: 100%;
    height: 100%;
}

.hero {
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    height: 100%;
    width: 100%; /* Ensure it takes full width of container for text-align to work if needed */
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 91, 150, 0.8), rgba(3, 57, 108, 0.6));
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.vision-mission {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vm-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 127, 80, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.vm-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.vm-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.image-stack {
    position: relative;
    height: 500px;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 20px;
    border: 10px solid var(--white);
    z-index: 2;
    box-shadow: var(--shadow);
}

/* Fields Section */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.field-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.field-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.field-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.field-card:hover .field-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.field-card h3 {
    margin-bottom: 15px;
}

.field-card p {
    color: var(--light-text);
}

/* Programs Section */
.programs-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.program-card:hover {
    transform: translateY(-5px);
}

.program-img {
    height: 250px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-img img {
    transform: scale(1.1);
}

.program-content {
    padding: 30px;
}

.program-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(0, 91, 150, 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.program-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.program-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.program-list li i {
    color: var(--secondary-color);
}

/* Impact Section */
.impact {
    background: url("../assets/IMG_20251117_164418.jpg") no-repeat center
        center/cover;
    position: relative;
    background-attachment: fixed;
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 57, 108, 0.85);
}

.impact .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.8;
    max-width: 350px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-selector a {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 10px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    transition: var(--transition);
}

.language-selector a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.1);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .image-stack {
        height: 400px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
