/* Base Variables & Reset */
:root {
    /* Colors */
    --primary-color: #000000; /* Black */
    --primary-light: #333333;
    --primary-dark: #000000;
    --secondary-color: #c8102e; /* ODA Red */
    --secondary-dark: #9e0b22;
    
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #111111;
    --white: #ffffff;
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --section-pad: 6rem 0;
    --container-width: 1200px;
    
    /* Transitions & Shadows */
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-pad);
}

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

.highlight {
    color: var(--secondary-color);
}

/* Global Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.3rem;
    color: var(--text-main);
}

.header.scrolled .nav-link {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset header */
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background-color: rgba(200, 16, 46, 0.05); 
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.05); 
    bottom: -100px;
    right: 20%;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background-color: rgba(200, 16, 46, 0.08);
    bottom: 20%;
    left: -100px;
    animation-delay: -2s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Footer Placeholder */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    color: var(--text-light);
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

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

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 15px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

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

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1.5rem 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Section Styles */
.section-header {
    margin-bottom: 3rem;
    max-width: 800px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 20px;
}

.image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    z-index: 1;
    transform: translate(-15px, -15px);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    box-shadow: var(--shadow-md);
    font-family: var(--font-heading);
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-content h3 {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.about-content p strong {
    color: var(--text-main);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(200, 16, 46, 0.1);
    color: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.highlight-box h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.highlight-box p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.9);
}

/* Team Section */
.team-category {
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.team-grid {
    display: grid;
    gap: 2rem;
    align-items: stretch;
}

.founders-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 800px;
    margin: 0 auto;
}

.associates-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.team-card {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.team-card.associate {
    padding: 1.5rem 1rem;
}

.team-img {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(13, 71, 161, 0.2);
}

.team-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-img.small {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.team-info h3 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.team-info h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.team-info .role { color: var(--secondary-dark); font-weight: 500; margin-bottom: 1rem; }

.team-card .social-links {
    margin-top: 1rem;
}

.team-card .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary-color);
    margin: 0 0.3rem;
    transition: var(--transition);
}

.team-card .social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Hub Section */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.hub-card {
    background: var(--bg-color);
    border-radius: 15px;
    display: flex;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background-color: var(--secondary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hub-card:hover::before {
    transform: scaleY(1);
}

.hub-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-right: 1.5rem;
    min-width: 50px;
}

.hub-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.hub-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cta-card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    color: white;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.cta-card::before { display: none; }
.cta-card h3 { color: var(--secondary-color); }
.cta-card p { color: rgba(255,255,255,0.8); }

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

.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 71, 161, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: var(--bg-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.btn-block {
    width: 100%;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay for All Card Grids */
.services-grid.reveal,
.courses-grid.reveal,
.team-grid.reveal,
.hub-grid.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.services-grid.reveal .service-card,
.courses-grid.reveal .service-card,
.team-grid.reveal .team-card,
.hub-grid.reveal .hub-card {
    opacity: 0;
}

.services-grid.reveal.active .service-card,
.courses-grid.reveal.active .service-card,
.team-grid.reveal.active .team-card,
.hub-grid.reveal.active .hub-card {
    animation: fadeUp 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

.services-grid.reveal.active .service-card:nth-child(1), .courses-grid.reveal.active .service-card:nth-child(1), .team-grid.reveal.active .team-card:nth-child(1), .hub-grid.reveal.active .hub-card:nth-child(1) { animation-delay: 0.15s; }
.services-grid.reveal.active .service-card:nth-child(2), .courses-grid.reveal.active .service-card:nth-child(2), .team-grid.reveal.active .team-card:nth-child(2), .hub-grid.reveal.active .hub-card:nth-child(2) { animation-delay: 0.3s; }
.services-grid.reveal.active .service-card:nth-child(3), .courses-grid.reveal.active .service-card:nth-child(3), .team-grid.reveal.active .team-card:nth-child(3), .hub-grid.reveal.active .hub-card:nth-child(3) { animation-delay: 0.45s; }
.services-grid.reveal.active .service-card:nth-child(4), .courses-grid.reveal.active .service-card:nth-child(4), .team-grid.reveal.active .team-card:nth-child(4), .hub-grid.reveal.active .hub-card:nth-child(4) { animation-delay: 0.6s; }
.services-grid.reveal.active .service-card:nth-child(5), .courses-grid.reveal.active .service-card:nth-child(5), .team-grid.reveal.active .team-card:nth-child(5), .hub-grid.reveal.active .hub-card:nth-child(5) { animation-delay: 0.75s; }
.services-grid.reveal.active .service-card:nth-child(6), .courses-grid.reveal.active .service-card:nth-child(6), .team-grid.reveal.active .team-card:nth-child(6), .hub-grid.reveal.active .hub-card:nth-child(6) { animation-delay: 0.9s; }
.services-grid.reveal.active .service-card:nth-child(7), .courses-grid.reveal.active .service-card:nth-child(7), .team-grid.reveal.active .team-card:nth-child(7), .hub-grid.reveal.active .hub-card:nth-child(7) { animation-delay: 1.05s; }
.services-grid.reveal.active .service-card:nth-child(8), .courses-grid.reveal.active .service-card:nth-child(8), .team-grid.reveal.active .team-card:nth-child(8), .hub-grid.reveal.active .hub-card:nth-child(8) { animation-delay: 1.2s; }
.services-grid.reveal.active .service-card:nth-child(9), .courses-grid.reveal.active .service-card:nth-child(9), .team-grid.reveal.active .team-card:nth-child(9), .hub-grid.reveal.active .hub-card:nth-child(9) { animation-delay: 1.35s; }
.services-grid.reveal.active .service-card:nth-child(10), .courses-grid.reveal.active .service-card:nth-child(10), .team-grid.reveal.active .team-card:nth-child(10), .hub-grid.reveal.active .hub-card:nth-child(10) { animation-delay: 1.5s; }
.services-grid.reveal.active .service-card:nth-child(11), .courses-grid.reveal.active .service-card:nth-child(11), .team-grid.reveal.active .team-card:nth-child(11), .hub-grid.reveal.active .hub-card:nth-child(11) { animation-delay: 1.65s; }
.services-grid.reveal.active .service-card:nth-child(12), .courses-grid.reveal.active .service-card:nth-child(12), .team-grid.reveal.active .team-card:nth-child(12), .hub-grid.reveal.active .hub-card:nth-child(12) { animation-delay: 1.8s; }

.hero-content {
    animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Variables */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-wrapper { max-width: 600px; margin: 0 auto; }
    .hero-title { font-size: 3rem; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; }
}

/* --- Interactive Expandable Cards --- */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}
/* The base cards (.team-card, .service-card) inside grid containers */
.team-card, .courses-grid .service-card, .services-grid .service-card {
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    min-width: 0; /* Prevents text from forcing columns to wrap */
}

/* --- Modal Overlay System --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    position: relative;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card.modal-lg {
    max-width: 1100px;
}

.modal-backdrop.show .modal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content-wrapper {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.modal-sidebar {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-featured-icon {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-featured-icon i {
    font-size: 6rem;
}

.modal-featured-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.modal-sidebar h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.modal-main-content {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.modal-body ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.modal-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 0.9rem;
}
.modal-footer {
    display: flex;
    justify-content: flex-start;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Modal specific card social override */
.modal-sidebar .card-social {
    justify-content: center;
    margin-top: 1rem;
}

.modal-sidebar .card-social a {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .modal-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    .modal-main-content {
        min-width: 100%;
        border-top: 1px solid rgba(0,0,0,0.08);
        padding-top: 2rem;
    }
}

