/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    color: #1a94d1;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.hidden {
    display: none;
}

/* Navbar Styles */
        .navbar {
            background-color: #1a94d1;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo {
            color: white;
            font-size: 1.8rem;
            font-weight: bold;
            letter-spacing: 1px;
        }
        
        .logo-image {
            width: 75px;
            height: 75px;
            background: linear-gradient(45deg, #ff9a00, #ff6a00);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }
        
        .logo-image:hover {
            transform: scale(1.05);
        }
        
        .logo-image span {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 25px;
        }
        
        .nav-links li a {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 4px;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .nav-links li a:hover {
            background-color: rgba(255,255,255,0.15);
            transform: translateY(-2px);
        }
        
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }
        
        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: 0.3s;
        }
        
        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 2rem;
        }
        

/* About Section */
 /* About Section */
        .about-section {
            background: 
                linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.9)),
                url('weir.jpg');
            background-size: cover;
            background-position: center;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-bottom: 60px;
            position: relative;
        }
        
        

.about-section h1 {
    color: #1a94d1;
    font-size: 2.2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.about-content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}
 
/* Facilities Section */
.facilities-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 60px;
}

.facilities-section h2 {
    color: #1a94d1;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.facility-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease;
    border-left: 4px solid #3498db;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.facility-card h3 {
    color: #1a94d1;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.facility-card p {
    color: #666;
    line-height: 1.6;
}

/* Director Section */
.director-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.director-content {
    flex: 1;
    min-width: 300px;
}

.director-content h2 {
    color: #1a94d1;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.director-message p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.director-signature {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.director-signature p {
    margin-bottom: 5px;
}

.director-signature p:first-child {
    font-size: 1.2rem;
    color: #1a94d1;
}

.director-image {
    flex: 0 0 300px;
    text-align: center;
}

.director-image img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

        

/* Activities Section */
.activities-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 60px;
}

.activities-section h2 {
    color: #1a94d1;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

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

.activity-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card h3 {
    color: #1a94d1;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.activity-card h3 i {
    margin-right: 10px;
    color: #3498db;
}

.activity-card p {
    color: #666;
}
/* Mission Section */
        .mission-section {
            background: white;
            border-radius: 15px;
            padding: 50px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-bottom: 60px;
        }
        
        .mission-section h2 {
            color: #1a94d1;
            font-size: 2.5rem;
            margin-bottom: 30px;
            text-align: center;
            position: relative;
        }
        
        .mission-section h2:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: #3498db;
            margin: 15px auto 0;
            border-radius: 2px;
        }
        
        .mission-content {
            margin-bottom: 40px;
        }
        
        .mission-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .mission-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 20px;
            background: #f8fafc;
            border-radius: 10px;
            border-left: 4px solid #3498db;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .mission-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        
        .mission-icon {
            font-size: 1.8rem;
            color: #3498db;
            background: #e8f4fc;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .mission-text {
            flex: 1;
        }
        
        .mission-text h4 {
            color: #1a94d1;
            margin-bottom: 10px;
            font-size: 1.3rem;
        }
        
        .mission-text p {
            color: #555;
            line-height: 1.6;
        }
        
        /* Divider */
        .divider {
            height: 2px;
            background: linear-gradient(90deg, transparent, #3498db, transparent);
            margin: 50px 0;
            border: none;
        }
        
        /* Objectives Section */
        .objectives-section h3 {
            color: #1a94d1;
            font-size: 2rem;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .objectives-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .objective-card {
            background: #f8fafc;
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            border-top: 4px solid #3498db;
            position: relative;
            overflow: hidden;
        }
        
        .objective-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #7fc6f6, #1a94d1);
        }
        
        .objective-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .objective-icon {
            font-size: 2.5rem;
            color: #3498db;
            margin-bottom: 20px;
            background: #e8f4fc;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .objective-card h4 {
            color: #1a94d1;
            font-size: 1.4rem;
            margin-bottom: 15px;
        }
        
        .objective-card p {
            color: #555;
            line-height: 1.6;
        }
         .guidelines-section {
            background-color: #eaf2f8;
            border-radius: 8px;
            padding: 2rem;
            margin-top: 2rem;
        }
        
        .guidelines-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        
        .guideline-link {
            display: inline-block;
            background-color: #1a94d1;
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .guideline-link:hover {
            background-color: #154360;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .mission-section {
                padding: 30px 20px;
            }
            
            .mission-list {
                grid-template-columns: 1fr;
            }
            
            .objectives-grid {
                grid-template-columns: 1fr;
            }
            
            .mission-section h2 {
                font-size: 2rem;
            }
            
            .objectives-section h3 {
                font-size: 1.8rem;
            }
        }


        /* Your existing CSS */
        /* Team Section */
        /* About WEIR Synergy */
#org .about-container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}
#org .about-logo img {
  max-width: 150px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
#org .about-text {
  flex: 1;
}
#org .about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1a94d1;
}
#org .about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

        .team-subtitle {
            color: #3498db;
            font-size: 1.5rem;
            text-align: center;
            margin-bottom: 40px;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .team-member {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .team-member:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        .member-portrait {
            width: 200px;
            height: 200px;
            border-radius: 12px;
            object-fit: cover;
            margin: 0 auto 20px;
            padding: 4px;
            background: linear-gradient(135deg, #1a94d1, #3498db);
            box-shadow: 0 5px 20px rgba(0,0,0,0.12);
        }

        .member-portrait img {
            width: 100%;
            height: 100%;
            border-radius: 8px;
            object-fit: cover;
        }

        .team-member:hover .member-portrait {
            border-color: #3498db;
            transform: scale(1.05);
        }

        .member-portrait img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .team-member:hover .member-portrait img {
            transform: scale(1.1);
        }

        .member-info h3 {
            color: #1a94d1;
            margin-bottom: 8px;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .member-role {
            color: #3498db;
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
        }

        .member-role::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 2px;
            background: #3498db;
            transition: width 0.3s ease;
        }

        .team-member:hover .member-role::after {
            width: 60px;
        }

        .member-bio {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .member-social {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 20px;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 6px;
            background: #f8f9fa;
            color: #3498db;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

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

        .social-link:hover::before {
            left: 100%;
        }
/* Social Media Brand Colors */
.social-link.linkedin {
    background: #f8f9fa;
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-link.facebook {
    background: #f8f9fa;
    color: #1877f2;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.email {
    background: #f8f9fa;
    color: #ea4335;
}

.social-link.email:hover {
    background: #ea4335;
    color: white;
}

.social-link.researchgate {
    background: #f8f9fa;
    color: #00ccbb;
}

.social-link.researchgate:hover {
    background: #00ccbb;
    color: white;
}

.social-link.google-scholar {
    background: #f8f9fa;
    color: #4285f4;
}

.social-link.google-scholar:hover {
    background: #4285f4;
    color: white;
}

.social-link.github {
    background: #f8f9fa;
    color: #333;
}

.social-link.github:hover {
    background: #333;
    color: white;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
        
        /* Team Stats Section */
        .team-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .stat-card {
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
            transition: transform 0.3s ease;
        }

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

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            color: #1a94d1;
            margin-bottom: 10px;
        }

        .stat-label {
            color: #666;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Team Call to Action */
        .team-cta {
            background: linear-gradient(135deg, #7ec4ef, #1a94d1);
            color: white;
            border-radius: 15px;
            padding: 50px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            margin-top: 40px;
        }

        .team-cta h2 {
            color: white;
            margin-bottom: 15px;
            font-size: 2rem;
        }

        .team-cta p {
            font-size: 1.1rem;
            margin-bottom: 25px;
            opacity: 0.9;
        }

        .team-cta .btn {
            background: white;
            color: #1a94d1;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 8px;
        }

        .team-cta .btn:hover {
            background: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255,255,255,0.2);
        }
#org .president-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 70px;
  margin-bottom: 60px; /* Added this line to create gap below */
  padding: 40px;
  background: #f9fbfc;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

#org .president-photo img {
  max-width: 180px;
  border-radius: 50%;
  border: 4px solid #3498db;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
#org .president-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a94d1;
}
#org .president-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
#org .president-text h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #3498db;
}
#org .president-role {
  font-size: 1rem;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #org .about-container,
  #org .president-container {
    flex-direction: column;
    text-align: center;
  }
  #org .about-logo img,
  #org .president-photo img {
    margin-bottom: 20px;
  }
}
/* Constitution Section Styles */
        .constitution-section {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
  margin-top: 0; /* Ensures no top margin conflicts */
}
        
        .constitution-section:hover {
            transform: translateY(-5px);
        }
        
        .constitution-section h2 {
            color: #1a2980;
            margin-bottom: 15px;
            font-size: 2rem;
            border-bottom: 3px solid #26d0ce;
            padding-bottom: 10px;
        }
        
        .constitution-section p {
            margin-bottom: 25px;
            font-size: 1.1rem;
            color: #555;
        }
        
        .constitution-links {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .constitution-link {
            display: flex;
            align-items: center;
            background: linear-gradient(to right, #f8f9fa, #e9ecef);
            padding: 20px;
            border-radius: 8px;
            text-decoration: none;
            color: #1a2980;
            font-weight: 600;
            transition: all 0.3s ease;
            flex: 1;
            min-width: 250px;
            border-left: 4px solid #26d0ce;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        }
        
        .constitution-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            background: linear-gradient(to right, #e9ecef, #dee2e6);
        }
        
        .constitution-link i {
            font-size: 2rem;
            margin-right: 15px;
            color: #26d0ce;
        }
        
        .constitution-link .link-text {
            display: flex;
            flex-direction: column;
        }
        
        .constitution-link .link-title {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }
        
        .constitution-link .link-desc {
            font-size: 0.9rem;
            color: #666;
            font-weight: normal;
        }
        /* Ongoing Projects Section */
.ongoing-projects-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 60px !important; /* Force the gap */
    display: block;
    clear: both;
}

.ongoing-projects-section h2 {
    color: #1a94d1;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #2ecc71;
    padding-bottom: 10px;
}

.ongoing-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.ongoing-project-card {
    background: linear-gradient(135deg, #e8f4fc, #f0f8ff);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-left: 5px solid #2ecc71;
    cursor: pointer;
    margin-bottom: 0; /* Ensure no negative margins */
}

.ongoing-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ongoing-project-card h3 {
    color: #1a94d1;
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.ongoing-project-card h3::before {
    content: "🔬";
    margin-right: 10px;
    font-size: 1.2rem;
}

.ongoing-project-card .project-type {
    background: #2ecc71;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.ongoing-project-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* All Projects Section */
.all-projects-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 60px !important; /* Force the gap */
    display: block;
    clear: both;
    margin-top: 0 !important; /* Remove any top margin */
}

.all-projects-section h2 {
    color: #1a94d1;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 0; /* Reset margins */
}

.project-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
    margin: 0; /* Reset margins */
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #1a94d1;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Ensure parent container has proper spacing */
.container {
    display: flex;
    flex-direction: column;
    gap: 60px; /* This will force gaps between all direct children */
}

/* Reset any conflicting margins */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px 20px;
}
      


/* Contact Page */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        .contact-item i {
            font-size: 1.5rem;
            color: #3498db;
            margin-right: 20px;
            width: 50px;
            height: 50px;
            background: #e8f4fc;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-item h3 {
            color: #1a94d1;
            margin-bottom: 5px;
        }

        .contact-item p {
            color: #666;
            margin-bottom: 3px;
        }

        .contact-social h3 {
            color: #1a94d1;
            margin-bottom: 20px;
        }

        .social-links {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 30px;
        }

        .social-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #e8f4fc;
            color: #3498db;
            padding: 12px 20px;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
            width: 100%;
        }

        .social-btn:hover {
            background: #3498db;
            color: white;
            transform: translateY(-2px);
        }

        /* Social Media Specific Colors */
        .social-btn.linkedin:hover {
            background: #0077b5;
        }

        .social-btn.facebook:hover {
            background: #1877f2;
        }

        .social-btn.researchgate:hover {
            background: #00ccbb;
        }

        .social-btn.scholar:hover {
            background: #4285f4;
        }
        .map-section {
            margin-top: 40px;
            grid-column: 1 / -1;
        }
        
        .map-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .map-header h3 {
            color: #1a94d1;
            font-size: 1.5rem;
        }
        
        .view-larger {
            color: #3498db;
            text-decoration: none;
            font-size: 0.9rem;
        }
        
        .view-larger:hover {
            text-decoration: underline;
        }
        
        .map-container {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            height: 500px; /* Larger height */
        }
        
        .mapouter {
            position: relative;
            text-align: right;
            width: 100%;
            height: 100%;
        }
        
        .gmap_canvas {
            overflow: hidden;
            background: none !important;
            width: 100%;
            height: 100%;
        }
        
        .gmap_canvas iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }
        
        .map-footer {
            margin-top: 10px;
            font-size: 0.8rem;
            color: #6c757d;
            text-align: center;
        }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Footer */
.footer {
    background: #1a94d1;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.footer p {
    margin-bottom: 10px;
}

.footer p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: #1a94d1;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .director-section {
        flex-direction: column;
        text-align: center;
    }
    
    .director-image {
        order: -1;
    }
    
    .facilities-grid, .activities-grid, .team-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .about-section, .facilities-section, .director-section, 
    .activities-section, .contact-section {
        padding: 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
.gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        .gallery-section.hidden {
    display: none;
}

.gallery-section {
    display: block;
    /* Your other gallery styles */
}
        
        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            height: 250px;
            background-color: #eaf2f8;
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        }
        
        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .gallery-item:hover .gallery-img {
            transform: scale(1.05);
        }
        
        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            padding: 1.5rem 1rem 1rem;
            transform: translateY(100%);
            transition: transform 0.3s;
        }
        
        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }
        
        .gallery-title {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
        
        .gallery-desc {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        /* Lightbox Modal */
        .lightbox-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }
        
        .lightbox-img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
        }
        
        .lightbox-caption {
            color: white;
            text-align: center;
            padding: 1rem;
            font-size: 1.1rem;
        }
        
        .lightbox-close {
            position: absolute;
            top: 15px;
            right: 15px;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            background: rgba(0,0,0,0.5);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 2rem;
            cursor: pointer;
            background: rgba(0,0,0,0.5);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .lightbox-prev {
            left: 15px;
        }
        
        .lightbox-next {
            right: 15px;
        }
        
        footer {
            background-color: #1a5276;
            color: white;
            text-align: center;
            padding: 2rem 0;
            margin-top: 2rem;
        }
        
        @media (max-width: 768px) {
            .nav-links {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-links li {
                margin-left: 0;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .gallery-filters {
                flex-direction: column;
                align-items: center;
            }
            
            .filter-btn {
                width: 200px;
            }
        }