/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #2ecc71;  /* Open source green */
    --secondary-color: #3498db;  /* Technology blue */
    --dark-color: #2c3e50;  /* Dark blue-gray */
    --light-color: #f8f9fa;  /* Soft white */
    --accent-color: #e74c3c;  /* Accent red */
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --card-bg: linear-gradient(145deg, #ffffff, #f8f9fa);  /* Reflective white gradient */
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);  /* Subtle shadow */
    --hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);  /* Enhanced shadow on hover */
    --text-color: #2c3e50;
    --bg-color: #ffffff;
    --section-bg: linear-gradient(145deg, var(--light-color), #f5f5f5);
    --card-border: rgba(255, 255, 255, 0.8);
    --nav-bg: rgba(248, 249, 250, 0.85);
    --nav-hover: rgba(248, 249, 250, 0.95);
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.8;
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: 300;
    background-color: var(--bg-color);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%; /* Adjust padding for better spacing */
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}


.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem; 
    transition: all 0.3s ease;
    padding: 0.3rem 0.8rem; 
    border-radius: 50px;
} 


.nav-links a:hover {
    background: var(--nav-hover);
    color: var(--primary-color);
}

.nav-links a.active {
    background: var(--primary-color);
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem; /* Increase icon size for better visibility */
    cursor: pointer;
    color: var(--dark-color);
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 1001; /* Ensure it appears above other elements */
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 5%; /* Reduce padding for smaller screens */
    }

    .logo img {
        height: 40px; /* Adjust logo size */
    }

    .nav-links {
        display: none; /* Initially hide the menu */
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--nav-bg);
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateY(-100%); /* Hide menu off-screen */
    }
    

    .nav-links.active {
        transform: translateY(0); /* Slide menu into view */
        display: flex; /* Show the menu when active */
    }

    .menu-toggle {
        display: block; /* Show menu toggle on smaller screens */
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.6rem 5%; /* Further reduce padding for very small screens */
    }

    .logo img {
        height: 35px; /* Adjust logo size */
    }

    .nav-links a {
        font-size: 1rem; /* Adjust font size for links */
        padding: 0.5rem 1rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    overflow: hidden;
    background: transparent;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.6));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-content h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: var(--light-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(145deg, var(--primary-color), #27ae60);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    background: linear-gradient(145deg, #27ae60, #219a52);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Section Headers */
section h2 {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #27ae60);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 4rem 8%;
    background: var(--section-bg);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #555;
}

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.about-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.about-image img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Events Section */
.events {
    padding: 4rem 8%;
    background: var(--section-bg);
}

.events h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark-color);

}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.event-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    max-width: 320px;
    margin: 0 auto;
    height: 360px;
    background: var(--card-bg);
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
    /* transition: transform 0.5s ease; */
}

.event-overlay-lay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color:rgb(35, 136, 35);
    color: var(--light-color);
    width:50%;
    height:5vh;
    border-radius: 0 0 6px 0px;
    align-content: center;
    font-size:1.06rem ;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.event-overlay-lay p{
    text-align: center;
    font-family: var(--body-font);
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3));
    padding: 1.2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.event-card:hover img {
    transform: none;  /* Remove the zoom effect */
}

.event-card:hover .event-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
}

.event-overlay h3 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.event-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.event-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(145deg, var(--primary-color), #27ae60);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-button:hover {
    background: linear-gradient(145deg, #27ae60, #219a52);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Team Section */
.team {
    padding: 4rem 8%;
    background: var(--section-bg);
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.team-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 1rem;
}

.team-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.team-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.team-card {
    flex: 0 0 260px;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--card-border);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.team-card img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-color);
}

.team-card h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.team-card .position {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-card .social-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-card .social-links a:hover {
    color: var(--primary-color);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.scroll-btn:hover {
    background: linear-gradient(145deg, var(--primary-color), #27ae60);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-btn i {
    color: var(--text-color);
}

.scroll-btn.prev {
    left: 0;
}

.scroll-btn.next {
    right: 0;
}

@media (max-width: 768px) {
    .team-container {
        padding: 0 0.5rem;
    }

    .team-card {
        flex: 0 0 240px;
    }

    .team-card img {
        width: 140px;
        height: 140px;
    }

    .team-card .social-links {
        gap: 0.8rem;
    }

    .team-card .social-links a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .team-card {
        flex: 0 0 200px;
    }

    .team-card img {
        width: 120px;
        height: 120px;
    }

    .team-card .social-links {
        gap: 0.6rem;
    }

    .team-card .social-links a {
        font-size: 1rem;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 10%;
    background-color: var(--light-color);
}

.projects h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.projects-heading {
    margin-top: 100px; /* Adjust spacing to avoid overlap */
    text-align: left;
    font-size: 2.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    ;
}

@media (max-width: 992px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    width: 360px; /* Fixed width for uniform size */
    height: 480px; /* Fixed height for uniform size */
    margin: 15px auto;
    padding: 20px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    justify-content: space-between; /* Space out content */
    text-align: center;
    
}
.project-icon {
    
    width: 48px;
    height: 48px;
    margin:3px auto;

}
.project-card h2 {
    font-size: 1.6rem;
}

.project-card p {
    font-size: 1rem;
    flex-grow: 1;
    margin-bottom: 10px; /* Allow description to take up available space */
}
.description {
    font-size: 0.95rem;
    color: #555;
    margin: 10px 0;
}

.project-link {
    font-size: 1rem;
    padding: 10px 15px; /* Consistent padding for button */
    background-color: #27ae60; /* Default green color */
    color: white; /* White text for better contrast */
    text-decoration: none;
    border-radius: 5px; /* Rounded corners for button */
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.project-link:hover {
    background-color: #219a52; /* Slightly darker green on hover */
    color: white; /* Maintain white text on hover */
}

.project-link i {
    margin-right: 6px;
    width:5px;
    height:5px;
     /* Add spacing between icon and text */
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.contact-info p {
    margin: 1rem 0;
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.submit-button {
    padding: 1.2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.submit-button:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--dark-color), #243342);
    color: white;
    padding: 3rem 5% 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2ecc71;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #2ecc71;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #27ae60;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 3% 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 1.5rem 2% 1rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .about-content {
        gap: 2rem;
    }

    .event-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0.8rem 3%;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 2.4rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text ul li {
        text-align: left;
        display: inline-block;
        width: 100%;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .event-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .event-card {
        max-width: 320px;
        height: 360px;
    }

    .team-container {
        padding: 0 0.5rem;
    }

    .team-card {
        flex: 0 0 260px;
    }

    .team-card img {
        width: 160px;
        height: 160px;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section ul {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .event-cards {
        grid-template-columns: 1fr;
    }

    .event-card {
        max-width: 300px;
        height: 340px;
    }

    .event-overlay {
        padding: 1.2rem;
    }

    .event-overlay h3 {
        font-size: 1.2rem;
    }

    .event-overlay p {
        font-size: 0.9rem;
    }

    .team-card {
        flex: 0 0 220px;
    }

    .team-card img {
        width: 140px;
        height: 140px;
    }

    .team-card h3 {
        font-size: 1.3rem;
    }

    .photos-grid {
        grid-template-columns: 1fr;
    }

    .photo-card {
        aspect-ratio: 4/3;
    }

    .view-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Add hamburger menu for mobile */
.menu-toggle {
    display: none;
    font-size: 1.8rem; /* Increase icon size for better visibility */
    cursor: pointer;
    color: var(--dark-color);
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 1001; /* Ensure it appears above other elements */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show menu toggle on smaller screens */
    }

    .nav-links {
        display: none; /* Initially hide the menu */
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--nav-bg);
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateY(-100%); /* Hide menu off-screen */
    }

    .nav-links.active {
        transform: translateY(0); /* Slide menu into view */
        display: flex; /* Show the menu when active */
    }
}


/* Social Media Section */
.social {
    padding: 5rem 5%;
    background-color: var(--light-color);
}

.social h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-family: var(--heading-font);
    font-size: 2.5rem;
}

.social-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.social-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-card:hover i {
    transform: scale(1.1);
}

.social-card h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.social-card p {
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(145deg, var(--primary-color), #27ae60);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: linear-gradient(145deg, #27ae60, #219a52);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .social {
        padding: 4rem 3%;
    }

    .social-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .social-card {
        padding: 1.5rem;
    }

    .social-card i {
        font-size: 2.5rem;
    }

    .social-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .social-container {
        grid-template-columns: 1fr;
    }

    .social-card {
        padding: 1.2rem;
    }

    .social-card i {
        font-size: 2rem;
    }

    .social-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Add subtle shine effect to cards */
.team-card::before, .social-card::before, .event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.team-card:hover::before, .social-card:hover::before, .event-card:hover::before {
    transform: translateX(100%);
}



