@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap");

:root {
    --primary-color: #181d1e; /* Black */
    --secondary-color: #0a5eb0; /* Red */
    --accent-color: #000000; /* Navy Blue */
    --text-light: #ffffff; /* White */
    --text-dark: #333333;
    --card-bg: #0a2c42;
    --card-hover: #1a5a8a;
    --transition-speed: 0.3s;
    --footer-bg: rgba(0, 0, 0, 0.9);
    --nav-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    padding-bottom: 320px; /* Space for footer */
}

/* Header Styles */
header {
    background-color: rgba(10, 44, 66, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.logo a:hover {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-speed);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--nav-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--nav-color);
    transition: width var(--transition-speed);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

/* Page Banner */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
}

.banner-content {
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Wrapper and Intro Text */
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.6;
    font-size: 18px;
}

/* Card Container */
.card_Container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

/* Secretariat Section Styles */
.secretariat-section {
    margin: 50px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.secretariat-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Member Section Styles */
.member-section {
    margin-bottom: 80px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-header {
    text-align: center;
    margin-bottom: 40px;
}

.member-position {
    font-size: 24px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-name {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0;
}

.member-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.member-section-reverse .member-content {
    flex-direction: row-reverse;
}

.member-image {
    flex-shrink: 0;
    width: 350px;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-image:hover img {
    transform: scale(1.05);
}

.member-description {
    flex: 1;
    padding: 20px;
}

.member-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .member-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    /* Ensure ALL member sections have image above text in mobile */
    .member-section .member-content,
    .member-section-reverse .member-content {
        flex-direction: column;
    }
    
    /* Make sure image is always first in mobile view */
    .member-content .member-image {
        order: 1;
    }
    
    .member-content .member-description {
        order: 2;
    }
    
    .member-image {
        width: 280px;
        height: 350px;
        margin: 0 auto;
    }
    
    .member-description {
        padding: 10px;
    }
    
    .member-name {
        font-size: 28px;
    }
    
    .member-position {
        font-size: 20px;
    }
    
    .banner-content h1 {
        font-size: 36px;
    }
}

/* Card Styles */
.card {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card .imbBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}

.card:hover .imbBx {
    transform: scale(1.05);
}

.card .imbBx img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 20px;
    z-index: 2;
    transition: transform 0.5s;
}

.card:hover .content {
    transform: translateY(-10px);
}

.content .contentBx h3 {
    color: var(--text-light);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.content .contentBx h3 span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent-color);
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
}

.member-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.card:hover .member-bio {
    opacity: 1;
    transform: translateY(0);
}

.content .sci {
    position: relative;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.content .sci li {
    list-style: none;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    transition-delay: calc(0.1s * var(--i));
}

.card:hover .content .sci li {
    transform: translateY(0);
    opacity: 1;
}

.content .sci li a {
    color: var(--text-light);
    font-size: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}

.content .sci li a:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

/* MUN Coordinator Section Styles */
.coordinator-section {
    margin: 60px 0;
    position: relative;
}

.coordinator-card {
    background: linear-gradient(135deg, rgba(213, 0, 0, 0.25), rgba(26, 107, 158, 0.25));
    border: 2px solid #0a5eb0;
    border-radius: 20px;
    padding: 30px;
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.5s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.coordinator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(248, 198, 48, 0.1), transparent);
    animation: rotateGlow 6s linear infinite;
    z-index: 1;
}

.coordinator-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(213, 0, 0, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.coordinator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px #0a5eb0;
    border-color: #0a5eb0;
}

.coordinator-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 3;
}

.coordinator-image-container {
    position: relative;
    flex-shrink: 0;
}

.coordinator-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0a5eb0;
    position: relative;
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 #0a5eb0; }
    70% { box-shadow: 0 0 0 20px rgba(248, 198, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(248, 198, 48, 0); }
}

.coordinator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.coordinator-image:hover {
    transform: scale(1.1);
    border-color: #0a5eb0;
}

.coordinator-image:hover img {
    transform: scale(1.15);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #d50000cc, rgba(26, 107, 158, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coordinator-image:hover .image-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coordinator-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    /* background: radial-gradient(circle, #0a5eb0, transparent); */
    transform: translate(-50%, -50%);
    animation: breathe 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.coordinator-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.coordinator-name {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #0a5eb0;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.8s ease;
}

.coordinator-title {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideInRight 0.8s ease 0.2s both;
}

.coordinator-subtitle {
    font-size: 16px;
    color: rgba(250, 250, 250, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInRight 0.8s ease 0.4s both;
}

.coordinator-description {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-size: 15px;
    margin: 12px 0;
    text-align: justify;
    animation: slideInRight 0.8s ease 0.6s both;
}

.coordinator-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    animation: slideInRight 0.8s ease 0.8s both;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(248, 198, 48, 0.3);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(248, 198, 48, 0.2);
    border-color: rgba(248, 198, 48, 0.6);
    transform: translateY(-2px);
}

.achievement-item i {
    color: #0a5eb0;
    font-size: 16px;
}

.achievement-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

.coordinator-contact {
    margin-top: 25px;
    animation: slideInRight 0.8s ease 1s both;
}

.coordinator-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(213, 0, 0, 0.8), rgba(248, 198, 48, 0.8));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.coordinator-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.coordinator-contact-btn:hover::before {
    left: 100%;
}

.coordinator-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(213, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(248, 198, 48, 0.8), rgba(26, 107, 158, 0.8));
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Coordinator Section */
@media (max-width: 768px) {
    .coordinator-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .coordinator-image {
        width: 150px;
        height: 150px;
    }
    
    .coordinator-name {
        font-size: 28px;
    }
    
    .coordinator-title {
        font-size: 20px;
    }
    
    .coordinator-subtitle {
        font-size: 16px;
    }
    
    .coordinator-description {
        font-size: 14px;
    }
    
    .achievement-item {
        padding: 10px 15px;
    }
    
    .coordinator-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .coordinator-image {
        width: 120px;
        height: 120px;
    }
    
    .coordinator-name {
        font-size: 24px;
    }
    
    .coordinator-title {
        font-size: 18px;
    }
    
    .coordinator-achievements {
        flex-direction: column;
    }
    
    .achievement-item {
        justify-content: center;
    }
    
    .coordinator-card {
        padding: 20px;
    }
}

/* New Secretariat Page Styles */

/* Section Styling */
.secretariat-section {
    margin: 60px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Grid Layout */
.secretariat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Member Card Styling */
.member-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(213, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.member-card:hover::before {
    left: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
}

/* Leadership Cards - Larger and More Prominent */
.leadership-card {
    background: rgba(26, 107, 158, 0.15);
    border: 2px solid rgba(248, 198, 48, 0.3);
    min-height: 280px;
}

.leadership-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(248, 198, 48, 0.2);
}

/* Executive Cards */
.executive-card {
    background: rgba(215, 92, 92, 0.1);
    border: 1px solid rgba(215, 92, 92, 0.2);
}

.executive-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(215, 92, 92, 0.2);
}

/* Operations Cards */
.operations-card {
    background: rgba(10, 44, 66, 0.15);
    border: 1px solid rgba(26, 107, 158, 0.3);
}

.operations-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(26, 107, 158, 0.2);
}

/* Technical Cards */
.technical-card {
    background: rgba(248, 198, 48, 0.1);
    border: 1px solid rgba(248, 198, 48, 0.2);
}

.technical-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(248, 198, 48, 0.2);
}

/* Member Card Layout */
.member-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.member-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    position: relative;
    transition: all 0.3s ease;
}

.leadership-card .member-image {
    width: 140px;
    height: 140px;
    border-width: 4px;
}

.member-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(248, 198, 48, 0.3);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

/* Member Info */
.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}

.leadership-card .member-info h3 {
    font-size: 28px;
    color: var(--accent-color);
}

.member-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leadership-card .member-info h4 {
    font-size: 18px;
    color: var(--text-light);
}

.member-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.leadership-card .member-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

/* Contact Button */
.member-contact {
    margin-top: 15px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-dark);
}

.leadership-card .contact-btn {
    padding: 12px 25px;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .secretariat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .member-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .member-info h3 {
        font-size: 20px;
    }
    
    .member-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .member-card {
        padding: 15px;
    }
    
    .member-image {
        width: 80px;
        height: 80px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .member-info h3 {
        font-size: 18px;
    }
    
    .member-info h4 {
        font-size: 14px;
    }
    
    .member-description {
        font-size: 12px;
    }
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    padding: 50px 0 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    color: var(--text-light);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links h3, .footer-contact h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 8px;
    opacity: 0.7;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
    margin: 5px 0;
}

.instagram-credit {
    margin-top: 15px;
    animation: float 3s ease-in-out infinite;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.instagram-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.instagram-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.instagram-link:hover i {
    transform: scale(1.2);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Mobile Navigation Styles */
.nav-toggle {
    position: absolute;
    opacity: 0;
    height: 0;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    height: 24px;
    width: 30px;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--text-light);
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggle-label span {
    top: 11px;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    bottom: -8px;
}

.nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
    background: var(--accent-color);
}

.nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    bottom: 0;
    background: var(--accent-color);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .card_Container {
        gap: 20px;
    }
    
    .card {
        width: 280px;
        height: 380px;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-bottom: 480px; /* More space for footer on mobile */
    }
    
    .nav-toggle-label {
        display: block;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(207, 125, 150, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        z-index: 1000;
    }
    
    nav.nav-open {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    nav ul li a {
        font-size: 20px;
        padding: 8px 0;
        display: inline-block;
    }
    
    body.nav-active {
        overflow: hidden;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .page-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .card {
        width: 100%;
        max-width: 320px;
        height: 400px;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .nav-toggle-label {
        width: 24px;
    }
    
    nav ul li a {
        font-size: 18px;
    }
}

/* Animation Delays */
[style*="--delay"] {
    animation-delay: var(--delay) !important;
}
