/* ===== CSS Variables ===== */
:root {
    --primary-color: #8B5CF6;
    --secondary-color: #A855F7;
    --accent-color: #EC4899;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --text-color: #374151;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #A855F7 0%, #8B5CF6 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    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);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.nav-logo span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===== Hero Section & Carousel ===== */
.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.7) 0%,
        rgba(236, 72, 153, 0.6) 100%
    );
    z-index: 1;
}

.slide-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.animated-text {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.8s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Hero CTA */
.hero-cta {
    position: absolute;
    bottom: 2rem; /* Move buttons much lower - from 6rem to 2rem */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
    opacity: 0;
    animation: slideInUp 1s ease-out 1.2s forwards;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-cta {
        bottom: 3rem; /* Keep mobile positioning */
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        bottom: 2rem;
    }
}
.cta-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ===== Sections ===== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 4rem;
}

/* ===== Pillars Section ===== */
.pillars-section {
    padding: 5% 0;
    background: var(--light-color);
    overflow: hidden; /* Prevent content overflow */
}

@media (max-width: 768px) {
    .pillars-section {
        padding: 3rem 0;
    }
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 2% !important; 
    max-width: 95% !important; 
    margin: 0 auto;
    padding: 0 2%; 
}

/* Mobile-first approach */
@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr !important; 
        gap: 4% !important; 
        max-width: 90% !important; 
    }
}

/* Tablet view */
@media (min-width: 769px) and (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3% !important;
        max-width: 90% !important;
    }
    
    .pillar-card {
        padding: 4% !important;
        min-height: 300px !important; 
    }
    
    .card-icon {
        width: 65px !important;
        height: 65px !important;
    }
    
    .card-content h3 {
        font-size: 1.15rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .card-content p {
        font-size: 0.85rem !important;
        margin-bottom: 1.2rem !important; 
        line-height: 1.5 !important;
    }
    
    .card-link {
        font-size: 0.9rem !important;
        margin-top: auto !important;
    }
}

.pillar-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: auto; /* Ensure cards can expand */
    min-height: 300px; /* Set a minimum height */
}

/* Mobile adjustments for cards */
@media (max-width: 768px) {
    .pillar-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem; /* Add space between cards */
        min-height: auto; /* Remove fixed height on mobile */
        height: auto;
    }
}

@media (max-width: 480px) {
    .pillar-card {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1rem;
    }
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); 
}

.card-icon {
    width: 70px; 
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem; 
    transition: var(--transition);
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.8rem; 
    color: var(--white);
}

.pillar-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    font-size: 1.2rem; 
    font-weight: 600;
    margin-bottom: 0.8rem; 
    color: var(--dark-color);
    line-height: 1.3;
}

.card-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem; 
    line-height: 1.5; 
    font-size: 0.85rem; 
    flex-grow: 1; 
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    margin-top: auto; /* Push link to bottom */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--secondary-color);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    .hero {
        height: 70vh; /* Reduce height further on mobile */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 65vh;
    }
}
    
    .pillar-card {
        padding: 6% !important; 
        min-height: 320px !important; 
    }
     
    .card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.card-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px; /* Ensure consistent spacing */
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

/* Mobile text adjustments */
@media (max-width: 768px) {
    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        min-height: auto; /* Remove fixed height on mobile */
    }
}

@media (max-width: 480px) {
    .card-content h3 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
}
/* ===== About Section ===== */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item ul {
    list-style: none;
    padding-left: 0;
}

.value-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.value-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-image {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.about-stats {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* ===== Team Section ===== */
.team-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
}

.team-member.animate {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.member-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== Projects Section ===== */
.projects-section {
    padding: 6rem 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.9);
}

.project-card.animate {
    opacity: 1;
    transform: scale(1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(139, 92, 246, 0.1) 0%,
        rgba(139, 92, 246, 0.9) 100%
    );
    color: var(--white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-overlay p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.gallery-item.animate {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        transparent 100%
    );
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-btn.primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .cta-btn.secondary {
    background: rgb(202 10 162 / 50%);
    backdrop-filter: blur(10px);
    border: 1px solid #8b5cf6db;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* ===== 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);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* AOS Animation Classes */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .animated-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        position: static;
        margin-top: 2rem;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 2% !important; 
    max-width: 95% !important; 
    margin: 0 auto;
    padding: 0 2%; 
}

/* Mobile-first approach */
@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; /* Use rem instead of % for better spacing */
        max-width: 90% !important; 
        padding: 0 1rem;
    }
}

/* Tablet view */
@media (min-width: 769px) and (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 90% !important;
    }
}
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }
}

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .animated-text {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

   .slide-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

    .section-title {
        font-size: 1.8rem;
    }

.pillar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
}

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== Loading Animation ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.pillar-card {
    opacity: 1 !important; /* For debugging visibility */
    display: block !important; /* Ensure they are displayed */
}

/* Results Page Styles */
.results-hero {
    background: linear-gradient(135deg, #9c5cf0 0%, #e91e63 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.results-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: float 20s ease-in-out infinite;
}

.results-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.4;
}

.results-cta {
    margin-top: 40px;
}

.results-cta .cta-btn {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    border: none;
    display: inline-block;
}

.results-cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
    background: linear-gradient(45deg, #f57c00, #ef6c00);
}

/* Detailed Results Section */
.detailed-results {
    padding: 100px 0;
  /* background: #f8f9fa;*/
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.result-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #9c5cf0;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.result-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9c5cf0, #e91e63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.8rem;
}

.result-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.result-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.result-content ul {
    list-style: none;
    padding: 0;
}

.result-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.result-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9c5cf0;
    font-weight: bold;
}

/* Impact Stories Section */
.impact-stories {
    padding: 100px 0;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.story-card {
    background: #e00052;
    padding: 40px 30px;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: white;
}

.story-quote {
    margin-bottom: 25px;
}

.story-quote i {
    font-size: 2rem;
    color: #9c5cf0;
    margin-bottom: 20px;
    display: block;
}

.story-quote p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.story-author {
    border-top: 2px solid #e9ecef;
    padding-top: 20px;
}

.story-author strong {
    display: block;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.story-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number.animate {
    animation: countUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-text {
        padding: 0 1rem;
        margin-top: -3rem; /* Move text up to prevent button overlap */
        max-width: 90%;
    }
}
    
    .results-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .result-item {
        padding: 30px 20px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-card {
        padding: 30px 20px;
    }
    
    .detailed-results,
    .impact-stories {
        padding: 60px 0;
    }


@media (max-width: 480px) {
    .results-hero {
        padding: 100px 0 60px;
    }
    
    .results-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}





.pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .pillar-card {
        padding: 1.5rem;
        min-height: auto;
        text-align: center;
    }
    
    .card-icon {
        margin: 0 auto 1rem auto;
        width: 60px;
        height: 60px;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .card-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }




    /* Logo Integration CSS - Add this to your styles.css file */

/* Update the navigation logo section */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e91e63;
    margin: 0;
}

.nav-logo span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-logo img {
        width: 35px;
        height: 35px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .nav-logo span {
        font-size: 0.8rem;
    }
}

/* Footer logo styling */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    margin: 0;
    color: white;
    font-family: 'Playfair Display', serif;
}








/* Language Switcher Styles - Add these to your styles.css file */

.lang-switcher {
    margin-left: 20px;
}

.lang-btn {
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(157, 78, 221, 0.3);
}

.lang-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.4);
}

.lang-btn:active {
    transform: translateY(0);
}

.lang-btn i {
    font-size: 12px;
}

#lang-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* Make sure language switcher appears in mobile menu */
    .nav-menu.active .lang-switcher {
        display: block;
        text-align: center;
        margin: 15px 0;
    }
}

/* Animation for language switching */
.lang-switching {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lang-switching.complete {
    opacity: 1;
}









/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Styles for the detailed actions section */
.detailed-actions {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.action-detail {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8e44ad, #3498db, #e74c3c, #f39c12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-detail.highlighted::before {
    opacity: 1;
}

.action-detail.highlighted {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.action-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f2f6;
}

.action-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.action-title h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.action-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

.action-content {
    line-height: 1.8;
}

.intro-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #3498db;
}

.intro-text p {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.7;
}

.sub-actions {
    display: grid;
    gap: 30px;
}

.sub-action {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.sub-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 15px 15px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sub-action:hover::before {
    opacity: 1;
}

.sub-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sub-action h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-action h3 i {
    color: #3498db;
    font-size: 1.3rem;
}

.sub-action p {
    color: #5a6c7d;
    margin-bottom: 15px;
    line-height: 1.7;
}

.sub-action ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.sub-action li {
    color: #5a6c7d;
    margin-bottom: 8px;
    line-height: 1.6;
}

.formation-details,
.project-details,
.project-phases,
.beauty-program {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.formation-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.formation-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.formation-item p strong {
    color: #e74c3c;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .action-detail {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .action-header {
        flex-direction: column;
        text-align: center;
    }
    
    .action-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .action-title h2 {
        font-size: 2rem;
    }
    
    .sub-action {
        padding: 20px;
    }
    
    .sub-action h3 {
        font-size: 1.3rem;
    }
}

/* Animation for smooth appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.action-detail {
    animation: fadeInUp 0.6s ease-out;
}

/* Additional styling for better visual hierarchy */
.sub-action strong {
    color: #2c3e50;
    font-weight: 600;
}

.sub-action h4 {
    color: #34495e;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Styles for toggle details links */
.toggle-details {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border: 2px solid #3498db;
    border-radius: 25px;
    background: transparent;
    transition: all 0.3s ease;
    margin: 15px 0;
    cursor: pointer;
}

.toggle-details:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.toggle-details.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

.toggle-details.active:hover {
    background: #c0392b;
    border-color: #c0392b;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Styles for media sections in detailed actions */
.media-section {
    margin: 40px 0;
    padding: 30px 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.media-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.action-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-item:hover .action-image {
    transform: scale(1.05);
}

.video-container {
    position: relative;
}

.action-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.media-caption {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.media-caption h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.media-caption p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive design for media sections */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-image,
    .action-video {
        height: 200px;
    }
    
    .media-caption {
        padding: 15px;
    }
    
    .media-caption h4 {
        font-size: 1.1rem;
    }
    
    .media-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .action-image,
    .action-video {
        height: 180px;
    }
    
    .media-caption {
        padding: 12px;
    }
}

/* Styles for imgvideo section */
.imgvideo-container {
    margin: 25px 0;
    padding: 20px 0;
}

.imgvideo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.imgvideo-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.imgvideo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.imgvideo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imgvideo-item:hover .imgvideo-image {
    transform: scale(1.02);
}

.imgvideo-video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.imgvideo-caption {
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.imgvideo-caption h5 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.imgvideo-caption p {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive design for imgvideo section */
@media (max-width: 768px) {
    .imgvideo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .imgvideo-image,
    .imgvideo-video {
        height: 200px;
    }
    
    .imgvideo-caption {
        padding: 12px;
    }
    
    .imgvideo-caption h5 {
        font-size: 1rem;
    }
    
    .imgvideo-caption p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .imgvideo-image,
    .imgvideo-video {
        height: 180px;
    }
    
    .imgvideo-caption {
        padding: 10px;
    }
}

/* COMPACT LAYOUT - Remove empty space, keep text and buttons close but separate */

@media (max-width: 768px) {
    /* Text positioning - move it up slightly */
    .slide-text {
        position: absolute;
        top: 40% !important; /* Move text higher */
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
        z-index: 5;
        padding: 0 20px;
        width: 90%;
    }
    
    .animated-text {
        font-size: 1.6rem !important;
        margin-bottom: 8px !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
        line-height: 1.3;
    }
    
    /* Buttons positioning - closer to text but not overlapping */
    .hero-cta {
        position: absolute !important;
        top: 55% !important; /* Use top instead of bottom for better control */
        left: 50% !important;
        transform: translate(-50%, 0) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 20px !important;
        z-index: 20 !important;
        margin-top: 20px !important; /* Small gap from text */
    }
    
    .cta-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        min-width: 150px !important;
        max-width: 180px !important;
        border-radius: 20px !important;
        margin: 3px 0 !important;
        display: block !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    
    /* Indicators - move them to bottom */
    .carousel-indicators {
        position: absolute !important;
        bottom: 20px !important; /* Keep at very bottom */
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 15 !important;
        gap: 8px !important;
    }
    
    .indicator {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.6) !important;
    }
    
    .indicator.active {
        background: white !important;
    }
}

@media (max-width: 480px) {
    .slide-text {
        top: 38% !important; /* Even higher for small screens */
    }
    
    .hero-cta {
        top: 52% !important;
        margin-top: 15px !important;
    }
    
    .cta-btn {
        font-size: 0.75rem !important;
        min-width: 130px !important;
        padding: 6px 12px !important;
    }
    
    .animated-text {
        font-size: 1.4rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 360px) {
    .slide-text {
        top: 35% !important;
    }
    
    .hero-cta {
        top: 50% !important;
    }
    
    .animated-text {
        font-size: 1.3rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.8rem !important;
    }
}

/* Ensure no empty space at bottom */
.hero {
    min-height: 80vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}


/* ==========================================
   ENHANCED STAR PARTICLES & CARD DESIGNS
   Add this CSS to the END of your styles.css file
   ========================================== */

/* === MAGICAL STAR BACKGROUND === */
.star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Different types of stars */
.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star-small {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    animation: float-up 15s infinite linear;
}

.star-medium {
    width: 4px;
    height: 4px;
    background: rgba(212, 52, 124, 0.6);
    animation: float-up 20s infinite linear;
    box-shadow: 0 0 10px rgba(212, 52, 124, 0.4);
}

.star-large {
    width: 6px;
    height: 6px;
    background: rgba(255, 182, 193, 0.7);
    animation: float-up 25s infinite linear;
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.5);
}

/* Twinkling stars (static) */
.star-twinkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: twinkle 2s infinite alternate;
}

.star-twinkle::before,
.star-twinkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 10px;
    background: inherit;
    transform: translate(-50%, -50%);
}

.star-twinkle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: shoot 3s infinite;
    opacity: 0;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, #fff, transparent);
    transform: translateX(-50px);
}

/* Floating geometric shapes */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float-rotate 20s infinite linear;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid rgba(212, 52, 124, 0.3);
}

.shape-circle {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(139, 69, 19, 0.3);
    border-radius: 50%;
}

.shape-diamond {
    width: 10px;
    height: 10px;
    background: rgba(255, 182, 193, 0.3);
    transform: rotate(45deg);
}

/* Animation keyframes */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(100px);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(300px) translateY(-100px);
    }
}

@keyframes float-rotate {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* === ENHANCED CARD DESIGNS === */
.pillar-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(212, 52, 124, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Card background decoration */
.pillar-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 52, 124, 0.03), transparent);
    transition: all 0.5s ease;
    transform: rotate(45deg);
}

.pillar-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Card hover effects */
.pillar-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(212, 52, 124, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(212, 52, 124, 0.2);
}

/* Enhanced card icon */
.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #d4347c, #ff69b4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(212, 52, 124, 0.3);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #d4347c, #ff69b4, #d4347c);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover .card-icon::before {
    opacity: 1;
    animation: rotate-border 2s linear infinite;
}

.card-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.pillar-card:hover .card-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 40px rgba(212, 52, 124, 0.4);
}

.pillar-card:hover .card-icon i {
    transform: scale(1.1);
    animation: icon-pulse 1s infinite;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
}

/* Enhanced card content */
.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d4347c, #8b4513);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.pillar-card:hover .card-content h3 {
    transform: translateY(-2px);
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.pillar-card:hover .card-content p {
    color: #555;
}

/* Enhanced card link */
.card-link {
    display: inline-flex;
    align-items: center;
    color: #d4347c;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.card-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #8b4513;
    transform: translateX(5px);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* === ENHANCED SCROLL ANIMATIONS === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.revealed {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zoom-in.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* === ENHANCED BUTTONS === */
.cta-btn {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* === SECTION ENHANCEMENTS === */
.section-title {
    position: relative;
    background: linear-gradient(135deg, #d4347c, #8b4513);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4347c, #ff69b4, #d4347c);
    transition: all 0.8s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title.revealed::after {
    width: 100px;
}

/* === NAVBAR ENHANCEMENTS === */
.navbar {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    background: rgba(240, 158, 211, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(236, 233, 233, 0.1);
    border-bottom: 1px solid rgba(194, 37, 105, 0.1);
}

/* === LOADING ANIMATION === */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fa3bd1 0%, #0c0104 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 52, 124, 0.1);
    border-top: 4px solid #d4347c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: #d4347c;
    font-weight: 600;
    font-size: 1.1rem;
    animation: pulse-text 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* === MOBILE OPTIMIZATIONS === */
@media (max-width: 768px) {
    .star-background {
        opacity: 0.7;
    }
    
    .pillar-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .pillar-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
    }
    
    .card-icon i {
        font-size: 1.8rem;
    }
    
    .star-small, .star-medium, .star-large {
        animation-duration: 12s;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    .star, .star-small, .star-medium, .star-large,
    .star-twinkle, .shooting-star, .floating-shape {
        animation: none;
    }
    
    .scroll-reveal, .fade-in, .slide-up, .zoom-in,
    .pillar-card, .cta-btn {
        transition: none;
    }
    
    .page-loader {
        display: none;
    }
}

/* === PERFORMANCE OPTIMIZATIONS === */
.pillar-card, .card-icon, .cta-btn, .scroll-reveal,
.star, .star-small, .star-medium, .star-large {
    will-change: transform, opacity;
}

/* Reduce animations on lower-end devices */
@media (max-resolution: 150dpi) {
    .star-background {
        opacity: 0.5;
    }
    
    .floating-shape {
        display: none;
    }
}



/* Results Section */
.results-section {
    padding: 5rem 0;
   .cta-section {
    padding: 5rem 0;
    background: var(--light-color);
}
    color: var(--white);
    text-align: center;
}

.results-section .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: rgb(202 10 162 / 50%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #8b5cf6db;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.results-cta {
    margin-top: 3rem;
}





/* SMART WOMEN IMAGE CAROUSEL - ISOLATED CSS */
/* This CSS is specifically scoped to avoid conflicts with existing styles */

/* Card Image Carousel Styles - Scoped to pillars section only */
.pillars-section .card-icon-container {
    position: relative !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto 1.5rem !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.pillars-section .card-icon-container:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.pillars-section .card-image-carousel {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.pillars-section .carousel-images {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.pillars-section .card-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease !important;
    border-radius: 15px !important;
    cursor: pointer !important;
}

.pillars-section .card-image.active {
    opacity: 1 !important;
}

.pillars-section .card-image:hover {
    transform: scale(1.05) !important;
}

.pillars-section .image-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        45deg,
        rgba(255, 105, 180, 0.1) 0%,
        rgba(138, 92, 246, 0.1) 100%
    ) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
}

.pillars-section .image-overlay > * {
    pointer-events: all !important;
}

.pillars-section .card-image-carousel:hover .image-overlay {
    opacity: 1 !important;
}

.pillars-section .image-counter {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    font-family: inherit !important;
}

.pillars-section .image-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    color: #333 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.pillars-section .image-nav:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.pillars-section .image-nav.prev {
    margin-right: auto !important;
}

.pillars-section .image-nav.next {
    margin-left: auto !important;
}

/* Hide original icons only in pillars section */
.pillars-section .card-icon {
    display: none !important;
}

/* Image Viewer Modal Styles - Completely isolated */
.sw-image-viewer-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important; /* Very high z-index to avoid conflicts */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    backdrop-filter: blur(10px) !important;
    font-family: inherit !important;
}

.sw-image-viewer-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.sw-image-viewer-modal .modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
}

.sw-image-viewer-modal .modal-content {
    position: relative !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    transform: scale(0.8) translateY(50px) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

.sw-image-viewer-modal.active .modal-content {
    transform: scale(1) translateY(0) !important;
}

.sw-image-viewer-modal .modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 18px !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    z-index: 100000 !important;
    backdrop-filter: blur(10px) !important;
}

.sw-image-viewer-modal .modal-close:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: rotate(90deg) scale(1.1) !important;
}

.sw-image-viewer-modal .image-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
}

.sw-image-viewer-modal .modal-image {
    max-width: 100% !important;
    max-height: 60vh !important;
    object-fit: contain !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease !important;
    animation: swImageAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    cursor: zoom-in !important;
}

@keyframes swImageAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sw-image-viewer-modal .image-info {
    text-align: center !important;
    color: white !important;
    max-width: 500px !important;
}

.sw-image-viewer-modal .image-info h3 {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
    font-family: 'Playfair Display', serif !important;
    background: linear-gradient(45deg, #ff69b4, #8a5cf6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.sw-image-viewer-modal .image-info p {
    font-size: 1rem !important;
    opacity: 0.9 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.sw-image-viewer-modal .modal-navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 400px !important;
    margin-top: 20px !important;
}

.sw-image-viewer-modal .modal-nav {
    background: linear-gradient(45deg, #ff69b4, #8a5cf6) !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    color: white !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    font-family: inherit !important;
}

.sw-image-viewer-modal .modal-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4) !important;
}

.sw-image-viewer-modal .modal-nav:active {
    transform: translateY(0) !important;
}

.sw-image-viewer-modal .modal-counter {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    color: white !important;
    font-weight: 600 !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    font-family: inherit !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pillars-section .card-icon-container {
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    .pillars-section .card-image-carousel {
        height: 180px !important;
    }
    
    .pillars-section .image-overlay {
        padding: 10px !important;
    }
    
    .pillars-section .image-nav {
        width: 35px !important;
        height: 35px !important;
    }
    
    .pillars-section .image-counter {
        top: 10px !important;
        right: 10px !important;
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    .sw-image-viewer-modal .modal-content {
        max-width: 95vw !important;
        max-height: 95vh !important;
        padding: 15px !important;
    }
    
    .sw-image-viewer-modal .modal-image {
        max-height: 50vh !important;
    }
    
    .sw-image-viewer-modal .modal-navigation {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .sw-image-viewer-modal .modal-nav {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .sw-image-viewer-modal .image-info h3 {
        font-size: 1.3rem !important;
    }
    
    .sw-image-viewer-modal .image-info p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .pillars-section .card-image-carousel {
        height: 160px !important;
    }
    
    .pillars-section .image-nav {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    
    .sw-image-viewer-modal .modal-content {
        padding: 10px !important;
    }
    
    .sw-image-viewer-modal .modal-close {
        width: 40px !important;
        height: 40px !important;
        top: 10px !important;
        right: 10px !important;
    }
    
    .sw-image-viewer-modal .image-info h3 {
        font-size: 1.2rem !important;
    }
}

/* Touch interaction for mobile */
@media (hover: none) and (pointer: coarse) {
    .pillars-section .image-overlay {
        opacity: 0.8 !important;
        background: rgba(0, 0, 0, 0.2) !important;
    }
    
    .pillars-section .card-image-carousel {
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .pillars-section .card-image:hover {
        transform: none !important;
    }
}

/* Loading animation for images */
.pillars-section .card-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
    background-size: 200% 100% !important;
    animation: swLoading 1.5s infinite !important;
}

@keyframes swLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
/* Enhanced Media Album Styles - MATCHING YOUR ACTUAL DESIGN - Add to your styles.css */

/* Media Section Album Layout */
.media-section {
    margin: 3rem 0;
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    border: 1px solid #f0f0f0;
}

/* Album Grid Layout */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Individual Media Item - Album Card Style */
.media-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: albumFadeIn 0.6s ease forwards;
}

.media-item:nth-child(1) { animation-delay: 0.1s; }
.media-item:nth-child(2) { animation-delay: 0.3s; }
.media-item:nth-child(3) { animation-delay: 0.5s; }

.media-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #e91e63;
}

/* Image Styling - Clean Album Style */
.action-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: saturate(0.9) brightness(0.95);
}

.media-item:hover .action-image {
    filter: saturate(1.1) brightness(1.05);
    transform: scale(1.05);
}

/* Video Container */
.video-container {
    position: relative;
}

.action-video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}

/* Media Caption - Album Style */
.media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.media-item:hover .media-caption {
    transform: translateY(0);
}

.media-caption h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.media-caption p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: #e8e8e8;
}

/* ImgVideo Section - Nested Album */
#imgvideo {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

#imgvideo.visible {
    opacity: 1;
    transform: translateY(0);
}

.imgvideo-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #e91e63;
}

.imgvideo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.imgvideo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
    animation: albumItemFadeIn 0.5s ease forwards;
}

.imgvideo-item:nth-child(1) { animation-delay: 0.2s; }
.imgvideo-item:nth-child(2) { animation-delay: 0.4s; }

.imgvideo-item:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.imgvideo-image, .imgvideo-video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.imgvideo-item:hover .imgvideo-image,
.imgvideo-item:hover .imgvideo-video {
    transform: scale(1.05);
}

.imgvideo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.imgvideo-item:hover .imgvideo-caption {
    transform: translateY(0);
}

.imgvideo-caption h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.imgvideo-caption p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
    color: #e0e0e0;
}

/* Sub-actions - Clean Design */
.sub-action {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #e91e63;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sub-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e91e63, transparent);
    transition: left 0.5s ease;
}

.sub-action:hover::before {
    left: 100%;
}

.sub-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-left-color: #c2185b;
}

.sub-action h3 {
    color: #333;
    margin-bottom: 1rem;
}

.sub-action h3 i {
    color: #e91e63;
    margin-right: 0.5rem;
}

/* Alternating border colors for visual variety */
.sub-action:nth-child(even) {
    border-left-color: #2196f3;
}

.sub-action:nth-child(even)::before {
    background: linear-gradient(90deg, transparent, #2196f3, transparent);
}

.sub-action:nth-child(even):hover {
    border-left-color: #1976d2;
}

.sub-action:nth-child(3n) {
    border-left-color: #4caf50;
}

.sub-action:nth-child(3n)::before {
    background: linear-gradient(90deg, transparent, #4caf50, transparent);
}

.sub-action:nth-child(3n):hover {
    border-left-color: #388e3c;
}

/* Toggle Details Button */
.toggle-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e91e63;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.toggle-details::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 ease;
}

.toggle-details:hover::before {
    left: 100%;
}

.toggle-details:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
    color: white;
}

/* Project Details */
.project-details {
    overflow: hidden;
    transition: all 0.4s ease;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
}

/* Action Header */
.action-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.action-icon {
    background: #e91e63;
    border-radius: 50%;
    padding: 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
}

.action-header:hover .action-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.action-title h2 {
    margin: 0;
    color: #333;
}

.action-subtitle {
    margin: 0.5rem 0 0;
    color: #666;
    font-style: italic;
}

/* Intro Text */
.intro-text {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #e91e63;
    position: relative;
}

.intro-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 3rem;
    color: #e91e63;
    font-family: serif;
}

/* Loading Animation */
.media-item.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

/* Animations */
@keyframes albumFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes albumItemFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .imgvideo-grid {
        grid-template-columns: 1fr;
    }
    
    .action-image, .action-video {
        height: 200px;
    }
    
    .imgvideo-image, .imgvideo-video {
        height: 160px;
    }
    
    .action-header {
        flex-direction: column;
        text-align: center;
    }
    
    .media-section {
        padding: 1.5rem;
    }
}






/* Enhanced Styles for Single Card Layout */

.enhanced-actions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.main-action-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.main-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.1);
}

/* Image Marquee Banner */
.image-marquee-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
}

.image-marquee-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.8) 0%, 
        rgba(118, 75, 162, 0.6) 50%, 
        rgba(102, 126, 234, 0.8) 100%);
    z-index: 1;
}

.image-marquee {
    height: 100%;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    height: 100%;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-image {
    height: 100%;
    width: 300px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.1);
}

.marquee-image:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.image-marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* Card Header */
.card-header {
    padding: 60px 60px 40px 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #e74c3c 20%, 
        #e74c3c 80%, 
        transparent 100%);
}

.action-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.action-icon-large:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

.card-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* Card Content */
.card-content {
    padding: 0 60px 60px 60px;
}

.intro-text {
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #e74c3c;
    position: relative;
}

.intro-text::before {
    content: '"';
    font-size: 80px;
    color: #e74c3c;
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Playfair Display', serif;
}

.intro-text strong {
    color: #e74c3c;
    font-weight: 600;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.project-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
}

.project-header {
    margin-bottom: 20px;
}

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-header h3 i {
    color: #e74c3c;
    font-size: 1.5rem;
}

.project-location {
    font-size: 1rem;
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 25px;
}

.project-description strong {
    color: #e74c3c;
    font-weight: 600;
}

/* Toggle Details Button */
.toggle-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.toggle-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.toggle-details::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.toggle-details.active::after {
    transform: rotate(180deg);
}

/* Project Phases */
.project-phases {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-phases h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-top: 25px;
}

.project-phases h4:first-child {
    margin-top: 0;
}

.project-phases p {
    font-size: 1rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 15px;
}

.project-phases ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.project-phases ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: #34495e;
}

.project-phases ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #e74c3c;
    font-weight: bold;
}

.project-phases strong {
    color: #e74c3c;
    font-weight: 600;
}

.project-phases em {
    font-style: italic;
    color: #7f8c8d;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(231, 76, 60, 0.2);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 300;
}

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.close:hover,
.close:focus {
    color: #e74c3c;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card-header,
    .card-content {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .card-title h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .enhanced-actions-section {
        padding: 40px 0;
    }
    
    .main-action-card {
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .image-marquee-container {
        height: 150px;
    }
    
    .marquee-image {
        width: 200px;
        margin-right: 15px;
    }
    
    .card-header {
        padding: 40px 30px 30px 30px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .card-header::after {
        left: 30px;
        right: 30px;
    }
    
    .action-icon-large {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .card-title h2 {
        font-size: 2rem;
    }
    
    .card-subtitle {
        font-size: 1.1rem;
    }
    
    .card-content {
        padding: 0 30px 40px 30px;
    }
    
    .intro-text {
        padding: 30px 25px;
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .projects-grid {
        gap: 30px;
    }
    
    .project-card {
        padding: 30px 25px;
    }
    
    .project-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .project-phases {
        padding: 25px 20px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .close {
        top: 20px;
        right: 30px;
        font-size: 30px;
    }
    
    #caption {
        width: 95%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .marquee-image {
        width: 150px;
        margin-right: 10px;
    }
    
    .card-header {
        padding: 30px 20px 25px 20px;
    }
    
    .card-header::after {
        left: 20px;
        right: 20px;
    }
    
    .card-title h2 {
        font-size: 1.8rem;
    }
    
    .card-content {
        padding: 0 20px 30px 20px;
    }
    
    .intro-text {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .project-card {
        padding: 25px 20px;
    }
    
    .project-header h3 {
        font-size: 1.4rem;
    }
    
    .toggle-details {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
    
    .main-action-card,
    .project-card,
    .toggle-details,
    .marquee-image {
        transition: none;
    }
    
    .modal,
    .modal-content,
    .project-phases {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .main-action-card {
        border: 2px solid #000;
    }
    
    .project-card {
        border: 1px solid #000;
    }
    
    .toggle-details {
        border: 2px solid #000;
    }
}
/* Remove card rotation/tilt effect and use simple hover */

/* Remove any transform rotation on cards */
.sub-action:hover,
.project-card:hover,
.action-detail:hover,
.card:hover {
    transform: translateY(-5px) !important; /* Simple up movement only */
    transition: all 0.3s ease !important;
}

/* Remove any 3D transforms or rotations */
.sub-action,
.project-card,
.action-detail,
.card {
    transform: none !important;
    transform-style: flat !important;
    perspective: none !important;
}

/* Simple hover effect - just shadow and slight movement */
.sub-action:hover,
.project-card:hover,
.action-detail:hover,
.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-3px) !important;
}

/* Remove any mouse tracking effects */
.sub-action:hover::before,
.project-card:hover::before,
.action-detail:hover::before,
.card:hover::before {
    display: none !important;
}
/* Enhanced Pillars Section - Add this to your styles.css */

.pillars-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pillar-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 0;
}

.card-image.active {
    opacity: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.card-icon-container:hover .image-overlay {
    opacity: 1;
}

.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.image-nav {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
}

.image-nav:hover {
    background: white;
    transform: scale(1.1);
}

.image-nav.prev {
    margin-left: 10px;
}

.image-nav.next {
    margin-right: 10px;
}

.card-content {
    padding: 30px 25px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.card-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: #ad1457;
    transform: translateX(5px);
}

.card-link:hover::after {
    transform: translateX(3px);
}

/* Section Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #e91e63;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e91e63, #8e24aa);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .pillar-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .card-icon-container {
        height: 220px;
    }
    
    .card-content {
        padding: 25px 20px;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .card-icon-container {
        height: 200px;
    }
    
    .card-content {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Floating Flowers Animation */
.floating-flowers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.flower {
    position: absolute;
    opacity: 0.4;
    animation: float 15s infinite linear;
    font-size: 20px;
}

.flower:nth-child(odd) {
    animation-duration: 20s;
    font-size: 16px;
}

.flower:nth-child(3n) {
    animation-duration: 25s;
    font-size: 24px;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}


/* Professional Enhancements */
.cta-btn, .card-link, .nav-link {
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pillar-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.hero h1, .section-title {
    text-shadow: 0 2px 10px rgba(255,255,255,0.1);
}

html {
    scroll-behavior: smooth;
}
