/* Base styles and variables */
:root {
    --primary-color: #2C3E50;    /* Deep Blue */
    --secondary-color: #3498DB;  /* Bright Blue */
    --accent-color: #E74C3C;     /* Red Accent */
    --success-color: #2ECC71;    /* Green */
    --warning-color: #F1C40F;    /* Yellow */
    --danger-color: #E74C3C;     /* Red */
    --light-color: #ECF0F1;      /* Light Gray */
    --dark-color: #2C3E50;       /* Dark Blue */
    --text-color: #34495E;       /* Dark Gray Blue */
    --text-light: #7F8C8D;       /* Medium Gray */
    --background-light: #F8F9FA;  /* Off White */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --gradient-light: linear-gradient(135deg, var(--light-color), var(--accent-color));
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 0.5rem;
}

* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Navbar styles */
.navbar {
    position: fixed;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.7)),
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #e2e2e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s ease;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.motto {
    margin: 2rem 0;
    font-style: italic;
}

.motto p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Director's Section */
.director {
    padding: 80px 0;
    background: linear-gradient(to right, #f8f9fa 50%, #ffffff 50%);
}

.director-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.director-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.director-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.director-image:hover img {
    transform: scale(1.05);
}

.director-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
}

.director-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.director-overlay p {
    margin: 5px 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

.director-message {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.message-content {
    position: relative;
    padding: 20px 0;
}

.quote-icon {
    font-size: 2rem;
    color: #0066cc;
    opacity: 0.2;
}

.ri-double-quotes-l {
    position: absolute;
    top: 0;
    left: -10px;
}

.ri-double-quotes-r {
    position: absolute;
    bottom: 0;
    right: -10px;
}

.signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.signature h4 {
    margin: 5px 0;
    color: #0066cc;
    font-size: 1.2rem;
}

.signature span {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .director-content {
        grid-template-columns: 1fr;
    }
    
    .director {
        background: #ffffff;
    }
}

/* Vision & Core Values */
.vision {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3') fixed center/cover;
    position: relative;
    overflow: hidden;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.vision-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.vision-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.vision-card h3 i {
    font-size: 2rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vision-card li {
    background: rgba(52, 152, 219, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    list-style: none;
}

.vision-card li:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(10px);
}

/* Programs Section */
.programs {
    background: linear-gradient(135deg, #f6f9fc, #edf2f7);
    position: relative;
    overflow: hidden;
}

.programs::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.program-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
}

.program-header {
    margin-bottom: 25px;
    position: relative;
}

.program-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.program-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.program-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0;
}

.duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.program-card ul {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.program-card li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.program-card li i {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #f6f9fc, #edf2f7);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 40px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon i {
    color: white;
    font-size: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 20px 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(52, 152, 219, 0.1);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}

/* Contact Section Styles */
.contact {
    background: linear-gradient(135deg, #f6f9fc, #edf2f7);
    padding: 100px 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group textarea + label {
    top: 20px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 80px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float .tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0 40px;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-brand p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    opacity: 0;
    transition: all 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon i {
    font-size: 1.2rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

.footer-links h4,
.footer-programs h4,
.footer-contact h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-programs h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.footer-links ul,
.footer-programs ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-programs li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-programs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before,
.footer-programs a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover::before,
.footer-programs a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a:hover,
.footer-programs a:hover {
    color: white;
    transform: translateX(10px);
}

.contact-info .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-extra-links {
    display: flex;
    gap: 30px;
}

.footer-extra-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-extra-links a:hover {
    color: white;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links h4::after,
    .footer-programs h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info .info-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-extra-links {
        justify-content: center;
    }

    .info-item {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .footer-brand p {
        max-width: 100%;
        word-wrap: break-word;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn.primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .director-content,
    .vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active a {
        margin: 10px 0;
        padding: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Updated logo styles */
.logo img {
    height: 50px;
    width: auto;
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .director-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .director-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .director-image img {
        height: 400px;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Loading Overlay */
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.form-overlay.active {
    display: flex;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner svg {
    width: 50px;
    height: 50px;
    transform-origin: center;
    animation: rotate 2s linear infinite;
}

.loading-spinner circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.loading-spinner p {
    margin-top: 15px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

/* Success Message Styles */
.success-popup {
    max-width: 500px !important;
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-details {
    text-align: left;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.success-details ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.success-details li {
    margin: 5px 0;
    color: #666;
}

/* Button loading state */
.rotating {
    animation: rotate 1s linear infinite;
}

/* Director Section Styles */
.director-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

/* Wave Shapes */
.custom-shape-divider-top,
.custom-shape-divider-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top {
    top: 0;
}

.custom-shape-divider-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top svg,
.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.shape-fill {
    fill: #ffffff;
}

/* Layout */
.director-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Director Card Styles */
.director-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.director-image {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
}

.director-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.director-card:hover .director-image img {
    transform: scale(1.05);
}

.director-info {
    padding: 25px;
    text-align: center;
    background: linear-gradient(to right, #0066cc, #0052a3);
    color: white;
}

.director-info h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.director-info span {
    display: block;
    margin-top: 5px;
    font-size: 1rem;
    opacity: 0.9;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

/* Message Content Styles */
.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    color: #0066cc;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    margin: 10px 0 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.message-content {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: #0066cc;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.greeting {
    color: #0066cc;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.highlight {
    color: #0066cc;
    font-weight: 600;
}

.message-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4a4a4a;
}

.signature-block {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.signature-img {
    max-width: 200px;
    margin: 15px 0;
}

.signature-block h4 {
    margin: 10px 0 5px;
    color: #0066cc;
    font-size: 1.2rem;
}

.signature-block span {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .director-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .director-image-column {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .director-section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Modern Floating Card Style */
.director-image-column {
    position: relative;
    perspective: 1000px;
}

.director-card {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-inner {
    position: relative;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.director-card:hover .card-inner {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.2);
}

.director-image {
    position: relative;
    padding-top: 125%;
    overflow: hidden;
}

.director-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.director-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    color: white;
    transform: translateZ(50px);
}

.info-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.director-card:hover .info-content {
    opacity: 1;
    transform: translateY(0);
}

.director-info h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.position {
    display: block;
    margin-top: 5px;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.separator {
    width: 50px;
    height: 3px;
    background: #0066cc;
    margin: 15px 0;
}

.credentials {
    margin-top: 15px;
}

.credential-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.credential-item i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #0066cc;
}

.credential-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Optional: Add floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.director-card {
    animation: float 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .director-card {
        max-width: 320px;
    }
    
    .director-info h3 {
        font-size: 1.5rem;
    }
    
    .position {
        font-size: 1rem;
    }
}

/* Optional: Add a decorative background pattern */
.director-image-column::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #0066cc 3px, transparent 4px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: -1;
}

.director-image-column::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #0066cc 3px, transparent 4px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: -1;
}

.nav-links {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(-20px);
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.footer-contact .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-contact .info-item {
        justify-content: center;
        text-align: left;
    }

    .info-item {
        max-width: 100%;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

/* Add these new styles for text wrapping */
.footer-brand p,
.footer-links a,
.footer-programs a,
.footer-contact p,
.info-item p {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.5;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    flex-shrink: 0;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-info .info-item {
        justify-content: center;
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}