/* Global Styles - Combined & Enhanced */
:root {
    --primary-color: #0a2463; /* Royal Blue */
    --secondary-color: #d4af37; /* Gold */
    --accent-color: #3e92cc;
    --light-color: #ffffff;
    --dark-color: #1e1e1e;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --success-color: #4caf50;
    --error-color: #f44336;
    --gradient-primary: linear-gradient(135deg, #0a2463 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #d4af37 0%, #fbbf24 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Circular Buttons - Enhanced */
.circle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
    margin: 0 15px;
}

.primary {
    background-color: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
}

.secondary {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.circle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.circle-btn:hover::before {
    left: 100%;
}

.circle-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.primary:hover {
    background-color: var(--light);
}

.secondary:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

.highlight {
    color: var(--secondary-color);
}

.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 1.5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

/* Header Styles - Enhanced */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header-scrolled {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.logo {
    height: 90px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Tablet devices (768px and below) */
@media (max-width: 768px) {
    .logo {
        height: 60px;
    }
}

/* Mobile devices (480px and below) */
@media (max-width: 500px) {
    .logo {
        height: 60px;
    }
    
    /* Optional: Adjust logo container padding */
    .logo-container {
        left: 1rem;
    }
}

/* Very small devices (360px and below) */
@media (max-width: 360px) {
    .logo {
        height: 45px;
    }
}
.header-scrolled .logo {
    height: 40px;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 600;
    position: relative;
    color: var(--dark-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--secondary-color);
}

.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section - Enhanced */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%;
    background: var(--gradient-hero), url('hero-bg.jpg') no-repeat center center/cover;
    color: var(--light-color);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    background: none;
    -webkit-text-fill-color: var(--light-color);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Services Section - Enhanced */
.services {
    padding: 6rem 0;
    background-color: var(--light-gray);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.services h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* Quote Section - Enhanced */
.quote-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--light-color);
    text-align: center;
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.03)" cx="500" cy="500" r="400"/></svg>');
    background-size: cover;
}

.quote-section blockquote {
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    line-height: 1.6;
}

.quote-section blockquote::before,
.quote-section blockquote::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.5;
    position: absolute;
}

.quote-section blockquote::before {
    top: -20px;
    left: -40px;
}

.quote-section blockquote::after {
    bottom: -40px;
    right: -40px;
}

/* About Page Styles */
.about-main {
    padding-top: 100px;
}

.about-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.7)), url('about-bg.jpg') no-repeat center center/cover;
    color: var(--light-color);
    text-align: center;
}

.about-hero-content h1 {
    font-size: 3rem;
    color: var(--light-color);
}

.about-hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.values-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Vision Page Styles - FIXED IMAGE SIZE */
.vision-main {
    padding-top: 100px;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
}

.vision-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.7)), url('vision-bg.jpg') no-repeat center center/cover;
    color: var(--light-color);
    text-align: center;
}

.vision-hero-content h1 {
    font-size: 3rem;
    color: var(--light-color);
}

.vision-hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 0;
    align-items: start;
}

.vision-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 120px;
    max-height: 600px; /* Fixed maximum height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vision-image:hover img {
    transform: scale(1.05);
}

.vision-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.vision-list {
    margin-top: 2rem;
}

.vision-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.vision-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background-color: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vision-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.vision-quote {
    background-color: var(--secondary-color);
}

.vision-quote blockquote {
    color: var(--primary-color);
}

/* Mission Page Styles */
.mission-main {
    padding-top: 100px;
}

.mission-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.7)), url('mission-bg.jpg') no-repeat center center/cover;
    color: var(--light-color);
    text-align: center;
}

.mission-hero-content h1 {
    font-size: 3rem;
    color: var(--light-color);
}

.mission-hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.mission-content {
    padding: 5rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.mission-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.mission-points {
    margin-top: 3rem;
}

.mission-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow);
}

.mission-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background-color: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-details h3 {
    margin-bottom: 0.5rem;
}

.mission-approach {
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.impact-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
}

.impact-section h2 {
    color: var(--light-color);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.impact-title {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact Page Styles */
.contact-main {
    padding-top: 100px;
}

.contact-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.7)), url('contact-bg.jpg') no-repeat center center/cover;
    color: var(--light-color);
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    color: var(--light-color);
}

.contact-hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 36, 99, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background-color: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
}

.social-section {
    margin-top: 3rem;
    text-align: center;
}

.social-section h3 {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.office-hours {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

.office-hours h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.office-hours p {
    margin-bottom: 0.5rem;
    text-align: center;
}

.map-section {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Footer Styles - Enhanced */
footer {
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: 4rem 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: var(--light-color);
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--light-color);
    opacity: 0.8;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social .social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Gallery Specific Styles */
.gallery-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.8)), url('gallery-hero.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-container {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border: 3px solid white;
    border-radius: 5px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

/* Video Gallery Items */
.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-item:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video Section Styles */
.video-section {
    padding: 4rem 5%;
    background-color: var(--light-gray);
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* Lightbox Video Styles */
.lightbox video {
    max-width: 90vw;
    max-height: 90vh;
    outline: none;
}

/* Contact Form Status Messages */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Page Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Contact Method Styling */
.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background-color: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-hours {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 36, 99, 0.2);
}

/* Enhanced Hamburger Menu */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Enhanced Contact Button */
.contact-btn {
    background: var(--gradient-secondary);
    color: var(--primary-color) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--light-color);
    color: var(--primary-color) !important;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Enhanced Hub Button */
.hub-btn {
    background: var(--gradient-primary);
    color: var(--light-color) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: var(--transition);
}

.hub-btn:hover {
    background: var(--light-color);
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    animation: fadeInUp 1s ease-out;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.service-card {
    animation: fadeInUp 0.6s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Enhanced Selection */
::selection {
    background: var(--secondary-color);
    color: var(--primary-color);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .vision-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image,
    .vision-image {
        height: 400px;
    }
    
    /* Vision page responsive fixes */
    .vision-image {
        position: static;
        max-height: 400px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--light-color);
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .mission-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mission-icon {
        margin-bottom: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    /* Vision page mobile fixes */
    .vision-content {
        gap: 2rem;
    }
    
    .vision-image {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-hero-content h1,
    .vision-hero-content h1,
    .mission-hero-content h1,
    .contact-hero-content h1 {
        font-size: 2.2rem;
    }

    .quote-section blockquote {
        font-size: 1.4rem;
    }
    
    /* Vision page small screen fixes */
    .vision-image {
        max-height: 250px;
    }
    
    .vision-list li {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}