/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0077B6;
    --light-blue: #90E0EF;
    --white: #ffffff;
    --dark-gray: #333333;
    --light-gray: #f8f9fa;
    --text-gray: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 119, 182, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-logos {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

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

.nav-acmw-logo-img {
    height: 35px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
}

.hamburger:hover {
    background: rgba(0, 134, 206, 0.1);
    transform: scale(1.05);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    /* *** REPLACED IMAGE PATH HERE *** */
    background: linear-gradient(135deg, rgba(0, 134, 206, 0.9) 0%, rgba(144, 224, 239, 0.8) 100%), url('logos/acm grp pic.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* *** REPLACED IMAGE PATH HERE *** */
    background: url('logos/acm grp pic.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.acm-text {
    display: block;
    font-size: 4rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0.5rem 0;
    opacity: 0.9;
}

.chapter-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ACM Logo */
.acm-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.acm-logo-img {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.acm-logo-img:hover {
    transform: scale(1.05);
}

/* Dual Logo Layout for ACM-W */
.dual-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.acmw-logo-img {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.acmw-logo-img:hover {
    transform: scale(1.05);
}

/* ACM-W Hero Section */
.acmw-hero {
    /* *** REPLACED IMAGE PATH HERE *** */
    background: linear-gradient(135deg, rgba(0, 74, 113, 0.9) 0%, rgba(80, 173, 189, 0.8) 100%), url('logos/acm grp pic.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.acmw-hero::before {
    /* *** REPLACED IMAGE PATH HERE *** */
    background: url('logos/acm grp pic.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
}

/* ACM-W About Section */
.acmw-about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.logo-diamond {
    width: 200px;
    height: 200px;
    background: var(--white);
    transform: rotate(45deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-hover);
    border-radius: 20px;
}

.logo-diamond::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid var(--white);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.logo-acm {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    transform: rotate(-45deg);
    margin-bottom: 0.5rem;
}

.logo-student {
    font-size: 0.8rem;
    color: var(--primary-blue);
    transform: rotate(-45deg);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.contact .section-header h2 {
    color: var(--white);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--light-blue);
    border-radius: 2px;
}

.contact .section-header h2::after {
    background: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.contact .section-header p {
    color: var(--white);
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Activities Section */
.activities {
    padding: 100px 0;
    background: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--light-blue);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.activity-icon i {
    font-size: 2rem;
    color: var(--white);
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.activity-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.mission-quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--white);
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.mission-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateX(10px);
}

.mission-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.mission-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.mission-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Reports Section */
.reports {
    padding: 100px 0;
    background: var(--light-gray);
}

.reports-table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    background: var(--white);
}

.reports-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.reports-table th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.reports-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.reports-table tr:hover {
    background: var(--light-gray);
}

.report-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.report-link:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    /* *** REPLACED IMAGE PATH HERE *** */
    background: linear-gradient(135deg, rgba(0, 134, 206, 0.9) 0%, rgba(144, 224, 239, 0.8) 100%), url('logos/acm grp pic.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* *** REPLACED IMAGE PATH HERE *** */
    background: url('logos/acm grp pic.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--white);
    margin-top: 0.5rem;
}

.contact-item h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    color: var(--light-blue);
}

.footer-logo-img {
    height: 35px;
    width: auto;
    margin-right: 10px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--light-blue);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        border-top: 1px solid rgba(0, 134, 206, 0.1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
        animation: slideInDown 0.4s ease-out;
    }

    .nav-menu li {
        margin: 0.3rem 0;
        opacity: 0;
        transform: translateY(-20px);
        animation: fadeInUp 0.5s ease-out forwards;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }

    .nav-menu .nav-link {
        display: block;
        padding: 0.8rem 1.5rem;
        color: var(--primary-blue);
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 0.8rem;
        position: relative;
        overflow: hidden;
    }

    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 134, 206, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .nav-menu .nav-link:hover::before {
        left: 100%;
    }

    .nav-menu .nav-link:hover {
        background: rgba(0, 134, 206, 0.1);
        color: var(--primary-blue);
        transform: translateX(5px);
    }

    .nav-menu .nav-link:active {
        transform: scale(0.98);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 1rem;
    }

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

    .acm-text {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 60px;
        min-height: calc(100vh - 60px);
    }

    .hero-container {
        padding-top: 0.5rem;
        gap: 1.5rem;
    }

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

    .acm-text {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 280px;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .acm-logo-img {
        max-width: 250px;
    }

    .acmw-logo-img {
        max-width: 250px;
    }

    .nav-logo-img {
        height: 35px;
    }

    .nav-acmw-logo-img {
        height: 30px;
    }

    .nav-logos {
        gap: 6px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue);
}