/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(52, 152, 219, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #3498db;
    font-weight: 800;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.logo-text {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #3498db;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #3498db;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section - Headspace Inspired */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 50%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: left;
    width: 100%;
}

/* Malunda Typing Animation */
.malunda-typing-container {
    margin-bottom: 2rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.malunda-typing {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out 0.5s forwards;
}

.malunda-typing .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: letterDrop 0.6s ease-out forwards;
}

.malunda-typing .letter:nth-child(1) { 
    font-family: 'Pacifico', cursive; 
    color: #ff6b6b;
    animation-delay: 1s;
}
.malunda-typing .letter:nth-child(2) { 
    font-family: 'Playfair Display', serif; 
    color: #4ecdc4;
    animation-delay: 1.2s;
}
.malunda-typing .letter:nth-child(3) { 
    font-family: 'Montserrat', sans-serif; 
    color: #45b7d1;
    animation-delay: 1.4s;
}
.malunda-typing .letter:nth-child(4) { 
    font-family: 'Lobster', cursive; 
    color: #f9ca24;
    animation-delay: 1.6s;
}
.malunda-typing .letter:nth-child(5) { 
    font-family: 'Raleway', sans-serif; 
    color: #6c5ce7;
    animation-delay: 1.8s;
}
.malunda-typing .letter:nth-child(6) { 
    font-family: 'Press Start 2P', cursive; 
    color: #ff6b9d;
    animation-delay: 2s;
    font-size: 0.8em;
}
.malunda-typing .letter:nth-child(7) { 
    font-family: 'Inter', sans-serif; 
    color: #ffcc00; /* New color for the letter "N" */
    animation-delay: 2.2s;
}

@keyframes letterDrop {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
    }
    50% {
        transform: translateY(-10px) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) rotateX(0deg);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: slideInUp 1s ease-out 2.5s forwards;
    text-align: left !important;
    max-width: 100%;
    width: 100%;
    display: block;
    position: relative;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s forwards;
    text-align: left;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out 3.5s forwards;
    text-align: left;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.05);
    border-color: #4facfe;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.2);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
    transition: width 0.8s ease 0.3s;
}

.section-title.animate::after {
    width: 80px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.section-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about {
    background: #f8f9fa;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(79, 172, 254, 0.03) 50%, transparent 51%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 80px;
}

.about-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.about-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.1), transparent);
    transition: left 0.6s;
}

.about-card:hover::after {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.about-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* Services Section */
.services {
    background: white;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
}

.service-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.service-card:nth-child(even) {
    transform: translateX(50px);
}

.service-card:nth-child(even).animate {
    transform: translateX(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4);
}

.service-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #4facfe;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.service-card:hover .service-features li {
    opacity: 1;
    transform: translateX(0);
}

.service-features li:nth-child(1) { transition-delay: 0.1s; }
.service-features li:nth-child(2) { transition-delay: 0.2s; }
.service-features li:nth-child(3) { transition-delay: 0.3s; }
.service-features li:nth-child(4) { transition-delay: 0.4s; }

.service-features i {
    color: #4facfe;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-features li:hover i {
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    background: #1a1a2e;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(79, 172, 254, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.contact-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-details p {
    opacity: 0.8;
    color: white;
}

.contact-details a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-details a:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-details address {
    color: white;
    font-style: normal;
}

.leadership-info {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease 0.3s;
}

.leadership-info.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form-container h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-form-container p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4facfe;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form select {
    cursor: pointer;
}

.contact-form select option {
    background: #1a1a2e;
    color: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #0f0f1a;
    color: white;
    padding: 60px 0 20px;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4facfe, #00f2fe, transparent);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(79, 172, 254, 0.5);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.5);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card,
    .about-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Custom Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(79, 172, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
    }
}

/* Utility Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Image Loading Optimizations */
.image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 50%, #e0e0e0 100%);
    background-size: 200% 100%;
}

.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-placeholder.loaded img {
    opacity: 1;
}

.image-placeholder.loaded .skeleton-loader {
    display: none;
}

/* Image rendering optimizations */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.vision-img {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Moodboard Carousel Section */
.moodboard {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 50%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.moodboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(52, 152, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
}

.moodboard .section-title,
.moodboard .section-subtitle {
    color: white;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    width: fit-content;
}

.carousel-slide {
    min-width: 300px;
    flex-shrink: 0;
}

.mood-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    transition: all 0.3s ease;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid rgba(52, 152, 219, 0.1);
    overflow: hidden;
    position: relative;
}

.mood-card .image-placeholder {
    border-radius: 15px;
}

.mood-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.25);
    border-color: rgba(52, 152, 219, 0.3);
}

.vision-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.mood-card:hover .vision-img {
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.carousel-dot.active {
    background: #3498db;
    transform: scale(1.2);
    border-color: #3498db;
}

.carousel-dot:hover {
    background: #3498db;
    transform: scale(1.1);
    border-color: #3498db;
}

/* Vision Description Paragraph */
.vision-description {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Mood CTA Button Styling */
.mood-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    font-size: 0.95rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.mood-card:hover .mood-cta {
    opacity: 1;
    bottom: 25px;
}

.mood-card {
    position: relative;
}

/* Project Modal Styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 1);
    color: #3498db;
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
}

.modal-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.project-type {
    font-size: 1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-info {
        padding: 1.5rem;
    }
    
    .modal-info h3 {
        font-size: 1.5rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-image {
        height: 200px;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-info h3 {
        font-size: 1.3rem;
    }
}

/* Founders Section - WhatsApp Chat Style */
.founders {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.chat-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.chat-bubble {
    display: flex;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.chat-bubble.animate {
    opacity: 1;
    transform: translateY(0);
}

.chat-bubble.left {
    justify-content: flex-start;
}

.chat-bubble.right {
    justify-content: flex-end;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 1rem;
    flex-shrink: 0;
}

.chat-content {
    max-width: 60%;
    background: #f1f3f4;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    position: relative;
}

.chat-bubble.right .chat-content {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.chat-name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.chat-message {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.chat-time {
    font-size: 0.7rem;
    opacity: 0.6;
    text-align: right;
}

/* Purpose Section */
.purpose {
    background: #ffffff;
    position: relative;
}

.purpose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(52, 152, 219, 0.03) 0%, transparent 50%);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.purpose-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    border: 2px solid transparent;
}

.purpose-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.purpose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.2);
}

.purpose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.purpose-card:hover .purpose-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.purpose-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.purpose-card p {
    color: #666;
    line-height: 1.6;
}

/* Vision Section */
.vision {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.08) 0%, transparent 50%);
}

.vision .section-title,
.vision .section-subtitle {
    color: white;
}

.vision-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.vision-before,
.vision-after {
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-50px);
}

.vision-before.animate,
.vision-after.animate {
    opacity: 1;
    transform: translateX(0);
}

.vision-after {
    transform: translateX(50px);
}

.vision-after.animate {
    transform: translateX(0);
}

.vision-before {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.vision-after {
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid rgba(46, 204, 113, 0.3);
}

.vision-before h3,
.vision-after h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vision-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.vision-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.vision-item i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.vision-before .vision-item i {
    color: #e74c3c;
}

.vision-after .vision-item i {
    color: #2ecc71;
}

.vision-statement {
    text-align: center;
    position: relative;
    z-index: 1;
}

.vision-statement blockquote {
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 800px;
    margin: 0 auto;
}

/* Closing Section */
.closing {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.closing-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.closing-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.closing-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.closing-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.closing-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

.closing-prayer {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.4s;
}

.closing-prayer.animate {
    opacity: 1;
    transform: translateY(0);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Prayer Form */
.prayer-request {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.prayer-request h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

.prayer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prayer-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.prayer-form textarea:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.15);
}

.prayer-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer Social Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

/* WhatsApp Icon Glow Effect */
.footer-social .social-link:hover .fa-whatsapp {
    text-shadow: 0 0 10px #8a2be2, 0 0 20px #8a2be2, 0 0 30px #8a2be2 !important;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    }
    
    .nav-link {
        display: block;
        padding: 1.2rem 2rem;
        width: 100%;
        text-align: left;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(52, 152, 219, 0.05);
        transform: translateX(5px);
    }
    
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    /* Hero Section */
    .malunda-typing {
        font-size: 3rem;
    }
    
    .malunda-typing-container {
        height: 80px;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .btn {
        margin: 0;
        width: 100%;
        justify-content: center;
    }
    
    /* Chat Section */
    .chat-container {
        padding: 1rem;
    }
    
    .chat-content {
        max-width: 80%;
    }
    
    .chat-avatar {
        width: 45px;
        height: 45px;
    }
    
    .chat-avatar img {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Carousel */
    .carousel-container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .carousel-track {
        gap: 1rem;
    }
    
    .carousel-container {
        padding: 1rem 0.5rem;
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .carousel-slide {
        min-width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .mood-card {
        height: 350px;
        width: 100%;
        margin: 0 auto;
    }
    
    .mood-cta {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    
    .vision-description {
        font-size: 1rem;
        padding: 0 1rem;
        color: white !important;
    }
    
    .moodboard .section-subtitle {
        color: white !important;
    }
    
    /* Vision Comparison */
    .vision-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-before,
    .vision-after {
        transform: translateY(50px);
        padding: 1.5rem;
    }
    
    .vision-before.animate,
    .vision-after.animate {
        transform: translateY(0);
    }
    
    .vision-statement blockquote {
        font-size: 1.5rem;
    }
    
    /* Closing Section */
    .closing-title {
        font-size: 2.5rem;
    }
    
    .closing-subtitle {
        font-size: 1.2rem;
    }
    
    .closing-prayer {
        font-size: 1rem;
        padding: 1.5rem;
    }
    
    /* Purpose Section */
    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .purpose-card {
        padding: 2rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    /* Section Spacing */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo img {
        height: 30px !important;
    }
    
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Hero Section */
    .malunda-typing {
        font-size: 2.5rem;
    }
    
    .malunda-typing-container {
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Chat Section */
    .chat-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 0.5rem;
    }
    
    .chat-avatar img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .chat-content {
        max-width: 85%;
        padding: 0.8rem 1rem;
    }
    
    .chat-name {
        font-size: 0.7rem;
    }
    
    .chat-message {
        font-size: 0.9rem;
    }
    
    /* Carousel */
    .carousel-slide {
        min-width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .mood-card {
        height: 300px;
        width: 100%;
        margin: 0 auto;
    }
    
    .vision-description {
        color: white !important;
    }
    
    .mood-cta {
        padding: 8px 20px;
        font-size: 0.8rem;
        bottom: 15px;
    }
    
    .mood-card:hover .mood-cta {
        bottom: 20px;
    }
    
    .carousel-dots {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .carousel-dot {
        width: 12px;
        height: 12px;
    }
    
    .vision-description {
        font-size: 0.95rem;
        margin-top: 2rem;
    }
    
    /* Purpose Cards */
    .purpose-card {
        padding: 1.5rem;
    }
    
    .purpose-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .purpose-card h3 {
        font-size: 1.3rem;
    }
    
    .purpose-card p {
        font-size: 0.95rem;
    }
    
    /* Vision Section */
    .vision-before h3,
    .vision-after h3 {
        font-size: 1.5rem;
    }
    
    .vision-item {
        padding: 0.8rem;
    }
    
    .vision-item i {
        font-size: 1.2rem;
        width: 30px;
    }
    
    .vision-item p {
        font-size: 0.9rem;
    }
    
    /* Closing Section */
    .closing-title {
        font-size: 2rem;
    }
    
    .closing-subtitle {
        font-size: 1rem;
    }
    
    .closing-prayer {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Contact Section */
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details p,
    .contact-details address {
        font-size: 0.9rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-form-container h3 {
        font-size: 1.3rem;
    }
    
    .contact-form-container p {
        font-size: 0.9rem;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-info h3 {
        font-size: 1.3rem;
    }
    
    .project-type {
        font-size: 0.85rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    /* Section Spacing */
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .vision-statement blockquote {
        font-size: 1.2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .malunda-typing {
        font-size: 2rem;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .carousel-slide {
        min-width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .mood-card {
        height: 280px;
        width: 100%;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .closing-title {
        font-size: 1.8rem;
    }
}
