/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background-color: #fff;
    padding: 30px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 400;
    color: #1E293B;
    text-transform: lowercase;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.login-link,
.nav-link {
    text-decoration: none;
    color: #1E293B;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
}

.login-link:hover,
.nav-link:hover {
    color: #2DD4BF;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: #1E293B;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Main content styles */
.main {
    padding: 20px 0 0 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    min-height: 70vh;
    margin-top: 10px;
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    z-index: 10;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: lowercase;
    letter-spacing: -1.5px;
    white-space: normal;
    overflow: visible;
}

.hero-subtitle {
    font-size: 1rem;
    color: #64748B;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-arrow {
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-donate {
    background-color: #FF6B6B;
    color: white;
}

.btn-donate:hover {
    background-color: #FF5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-volunteer {
    background-color: #2DD4BF;
    color: white;
}

.btn-volunteer:hover {
    background-color: #14B8A6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.3);
}

/* Decorative circles */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
    z-index: 1;
    pointer-events: none;
}

.circles-container {
    position: relative;
    width: 1000px;
    height: 800px;
    transform: translateX(0%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-teal {
    border-color: #2DD4BF;
}

.circle-coral {
    border-color: #FF6B6B;
}

/* Thick circles */
.circle-1, .circle-4, .circle-8, .circle-12, .circle-16 {
    border-width: 4px;
}

/* Extra thick circles */
.circle-2, .circle-6, .circle-10, .circle-14, .circle-18 {
    border-width: 6px;
}

/* Inner circles for ripple effect */
.inner-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.6;
}

.circle-teal .inner-circle {
    border-color: #2DD4BF;
}

.circle-coral .inner-circle {
    border-color: #FF6B6B;
}

/* First inner circle (largest) */
.inner-circle:nth-child(1) {
    width: 85%;
    height: 85%;
    animation: ripple-1 5s ease-in-out infinite;
}

/* Second inner circle */
.inner-circle:nth-child(2) {
    width: 70%;
    height: 70%;
    animation: ripple-2 5s ease-in-out infinite;
    animation-delay: 0.3s;
}

/* Third inner circle */
.inner-circle:nth-child(3) {
    width: 55%;
    height: 55%;
    animation: ripple-3 5s ease-in-out infinite;
    animation-delay: 0.6s;
}

/* Fourth inner circle */
.inner-circle:nth-child(4) {
    width: 40%;
    height: 40%;
    animation: ripple-4 5s ease-in-out infinite;
    animation-delay: 0.9s;
}

/* Fifth inner circle (smallest) */
.inner-circle:nth-child(5) {
    width: 25%;
    height: 25%;
    animation: ripple-5 5s ease-in-out infinite;
    animation-delay: 1.2s;
}

/* Ripple animations */
@keyframes ripple-1 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
}

@keyframes ripple-2 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

@keyframes ripple-3 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.25;
    }
}

@keyframes ripple-4 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

@keyframes ripple-5 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.25);
        opacity: 0.1;
    }
}

/* Teal circles positioning - made even bigger */
.circle-1 {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 600px;
}

.circle-2 {
    width: 280px;
    height: 280px;
    top: -20px;
    left: 500px;
}

.circle-3 {
    width: 350px;
    height: 350px;
    top: 30px;
    left: 380px;
}

.circle-4 {
    width: 420px;
    height: 420px;
    top: 60px;
    left: 480px;
}

.circle-5 {
    width: 220px;
    height: 220px;
    top: 160px;
    left: 650px;
}

.circle-6 {
    width: 320px;
    height: 320px;
    top: 200px;
    left: 420px;
}

.circle-7 {
    width: 140px;
    height: 140px;
    top: 100px;
    left: 720px;
}

.circle-8 {
    width: 380px;
    height: 380px;
    top: 260px;
    left: 520px;
}

.circle-9 {
    width: 200px;
    height: 200px;
    top: 40px;
    left: 300px;
}

.circle-10 {
    width: 240px;
    height: 240px;
    top: 300px;
    left: 360px;
}

/* Coral circles positioning - made even bigger */
.circle-11 {
    width: 160px;
    height: 160px;
    top: 30px;
    left: 220px;
}

.circle-12 {
    width: 290px;
    height: 290px;
    top: 110px;
    left: 120px;
}

.circle-13 {
    width: 340px;
    height: 340px;
    top: 230px;
    left: 180px;
}

.circle-14 {
    width: 200px;
    height: 200px;
    top: 360px;
    left: 260px;
}

.circle-15 {
    width: 250px;
    height: 250px;
    top: -10px;
    left: 340px;
}

.circle-16 {
    width: 380px;
    height: 380px;
    top: 180px;
    left: 240px;
}

.circle-17 {
    width: 180px;
    height: 180px;
    top: 290px;
    left: 100px;
}

.circle-18 {
    width: 260px;
    height: 260px;
    top: 70px;
    left: 60px;
}

/* Animation for circles */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.circle:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.circle:nth-child(even) {
    animation: float 8s ease-in-out infinite reverse;
}

/* Responsive design */
@media (max-width: 1024px) {
    .header .container {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .logo-text {
        font-size: 26px;
    }
    
    .login-link,
    .nav-link {
        font-size: 17px;
    }
    
    .hero-section {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 6rem;
        letter-spacing: -2px;
    }
    
    .circles-container {
        width: 800px;
        height: 700px;
    }
    
    .circle {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 25px 0;
    }
    
    .header .container {
        max-width: 100%;
        padding: 0 25px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .nav {
        gap: 30px;
    }
    
    .login-link,
    .nav-link {
        font-size: 16px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 4rem;
        letter-spacing: -1px;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .btn {
        min-width: 130px;
        padding: 16px 20px;
    }
    
    .circles-container {
        width: 600px;
        height: 600px;
        transform: translateX(0);
    }
    
    .circle {
        transform: scale(0.6);
    }
    
    .hero-decoration {
        height: 400px;
        margin-top: 40px;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 0;
    }
    
    .header .container {
        padding: 0 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .login-link,
    .nav-link {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 3rem;
        letter-spacing: -1px;
        line-height: 0.9;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .circles-container {
        display: none;
    }
}

/* Charity Badge */
.charity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2DD4BF, #14B8A6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.badge-icon {
    font-size: 1rem;
}

/* Charity Info */
.charity-info {
    margin: 30px 0;
}

.charity-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2DD4BF, #14B8A6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.charity-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 5px 0;
}

.charity-location {
    font-size: 0.95rem;
    color: #64748B;
    margin: 0;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2DD4BF;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 500;
}

/* Progress Bar */
.progress-container {
    margin: 30px 0 40px 0;
}

.progress-bar {
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2DD4BF, #14B8A6);
    border-radius: 6px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

/* Hero Visual Section */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 3;
}

.charity-showcase {
    max-width: 500px;
    width: 100%;
}

.showcase-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.overlay-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1E293B;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Charity Gallery */
.charity-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 12px 12px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Social Media Cards */
.social-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.profile-name {
    font-weight: 600;
    color: #1E293B;
    font-size: 0.95rem;
}

.profile-time {
    color: #64748B;
    font-size: 0.8rem;
}

.card-content {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card-stats {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.stat {
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
}

.stat:hover {
    color: #2DD4BF;
}

/* Responsive Design for New Elements */
@media (max-width: 1024px) {
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        padding: 30px;
        margin: 0 auto;
    }
    
    .charity-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
        margin: 30px 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .charity-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-image {
        height: 100px;
    }
    
    .social-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .charity-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .charity-name {
        font-size: 1.1rem;
    }
    
    .charity-location {
        font-size: 0.85rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .progress-labels {
        font-size: 0.8rem;
    }
    
    .main-image {
        height: 200px;
    }
    
    .overlay-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .social-card {
        padding: 12px;
    }
    
    .card-content {
        font-size: 0.9rem;
    }
    
    .charity-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 15px 0;
    }
    
    .gallery-image {
        height: 80px;
    }
    
    .gallery-caption {
        font-size: 0.75rem;
        padding: 15px 8px 8px 8px;
    }
    
    .card-stats {
        gap: 15px;
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    position: relative;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 20px;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-grid-item:hover .gallery-grid-image {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-grid-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #2DD4BF;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-item-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.gallery-item-description {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    .gallery-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-grid-item.large {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .gallery-item-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 20px 15px;
    }

    .gallery-item-title {
        font-size: 1.2rem;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(255, 107, 107, 0.8);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-top: 20px;
    max-width: 500px;
}

/* Expandable Image Cursor */
.expandable-image {
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.expandable-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.5);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .image-modal-close {
        top: -35px;
        right: -5px;
        font-size: 28px;
        width: 40px;
        height: 40px;
    }
    
    .modal-image {
        max-height: 70vh;
    }
    
    .modal-caption {
        font-size: 1rem;
        padding: 15px;
    }
} 