* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            padding-top: 120px; /* Adjust based on header height */
        }

        header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* First Line - Organization Name*/
        .firstline{
            display: flex;
            gap: 8rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1rem;
        }

        .logo-icon {
            width: 110px;
            height: 110px;
            background: linear-gradient(45deg, #ffd700, #ff6b6b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content:left;
            box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
            overflow: hidden;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .org-name {
            text-align: center;
            font-size: 2.0rem;
            font-weight: bold;
            margin-bottom: 0.8rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        .org-name p{
            font-size: 1.5rem;
            font-weight: lighter; 
        }

        /* Second Line - Navigation and Controls */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .nav-links {
            display: flex;
            align-items: center;
            justify-content: center;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 1.1rem;
        }

        .nav-links a:hover {
            color: #ffd700;
        }

        #google_translate_element {
            margin-left: 1rem;
        }

        .donate-btn {
            background: #ff6b6b;
            padding: 0.5rem 1.2rem;
            border-radius: 25px;
            text-decoration: none;
            color: white;
            font-weight: bold;
            font-size: 1.1rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            white-space: nowrap;
        }

        .donate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        .nss-button {
            background: none;
            color: white;
            border: none;
            font-size: 18px;
            font-weight: lighter;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nss-button:hover {
            color: #ffd700;
            background: none;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            padding: 30px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: slideIn 0.4s ease;
            border: 3px solid #ff6b6b;
        }

        .close-button {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            transition: color 0.3s ease;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-button:hover {
            color: #ff6b6b;
            transform: scale(1.1);
        }

        .modal-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .modal-title {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .star-emoji {
            font-size: 28px;
            animation: sparkle 2s infinite;
        }

        .modal-body {
            line-height: 1.6;
            color: #444;
        }

        .intro-text {
            font-size: 16px;
            margin-bottom: 20px;
            text-align: justify;
        }

        .rda-highlight {
            font-weight: bold;
            color: #ff6b6b;
        }

        .nss-highlight {
            font-weight: bold;
            color: #2c5aa0;
        }

        .facilities-section {
            margin: 25px 0;
        }

        .facilities-title {
            font-size: 18px;
            font-weight: bold;
            color: #2c5aa0;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .check-mark {
            color: #27ae60;
            font-size: 20px;
        }

        .facilities-list {
            list-style: none;
            padding-left: 0;
        }

        .facility-item {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .facility-item:last-child {
            border-bottom: none;
        }

        .bullet {
            color: #ff6b6b;
            font-weight: bold;
            font-size: 18px;
            margin-top: 2px;
        }

        .facility-text {
            flex: 1;
        }

        .facility-main {
            font-weight: bold;
            color: #333;
        }

        .facility-description {
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }

        .closing-text {
            font-size: 16px;
            margin: 20px 0;
            text-align: justify;
            font-style: italic;
            color: #555;
        }

        .contact-section {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            margin-top: 25px;
        }

        .contact-text {
            font-size: 16px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .phone-emoji {
            font-size: 20px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from { 
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to { 
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes sparkle {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.2) rotate(10deg); }
        }

        @media (max-width: 768px) {
            .modal-content {
                padding: 20px;
                margin: 10px;
            }
            
            .modal-title {
                font-size: 20px;
            }
            
            .nss-button {
                padding: 12px 24px;
                font-size: 16px;
            }
        }
        /* Updated Donation Popup Styles */
        /* Custom scrollbar for the popup */
        .popup::-webkit-scrollbar {
            width: 8px;
        }

        .popup::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .popup::-webkit-scrollbar-thumb {
            background: linear-gradient(45deg, #667eea, #764ba2);
            border-radius: 10px;
        }

        .popup::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(45deg, #764ba2, #667eea);
        }

        /* Ensure popup is properly centered and scrollable */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            z-index: 1001;
            animation: fadeIn 0.3s ease;
            padding: 20px;
            box-sizing: border-box;
        }

        .popup-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .popup {
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            transform: scale(0.8);
            transition: all 0.3s ease;
            position: relative;
            text-align: center;
            margin: 20px;
        }

        .popup-overlay.active .popup {
            transform: scale(1);
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: #666;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
            font-weight: bold;
        }

        .close-btn:hover {
            background: #f0f0f0;
            color: #333;
        }

        .popup h2 {
            color: #2c3e50;
            margin-bottom: 30px;
            font-size: 28px;
            text-align: center;
            font-weight: 600;
        }

        .bank-details-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .bank-details-header {
            font-size: 18px;
            margin-bottom: 20px;
            font-style: italic;
            opacity: 0.9;
        }

        .bank-info {
            text-align: left;
            background: rgba(255, 255, 255, 0.1);
            padding: 25px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .bank-info-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .bank-info-row:last-child {
            margin-bottom: 0;
            border-bottom: none;
        }

        .bank-info-label {
            font-weight: 600;
            opacity: 0.9;
            flex: 1;
        }

        .bank-info-value {
            font-weight: 700;
            font-size: 16px;
            flex: 1.5;
            text-align: right;
            word-break: break-word;
        }

        .benefits{
            color: #706924;
            margin-bottom: 30px;
            font-size: 20px;
            text-align: center;
            font-weight: 600;
        }

        .benefits-container{
            margin-top: 20px;
            padding: 15px;
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 8px;
            color: #856404;
            font-size: 14px;
        }

        .highlight {
            background: rgba(255, 255, 255, 0.2);
            padding: 2px 8px;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
        }

        .copy-instructions {
            margin-top: 25px;
            padding: 20px;
            background: rgba(46, 204, 113, 0.15);
            border: 2px solid rgba(46, 204, 113, 0.3);
            border-radius: 12px;
            color: #2c3e50;
        }

        .copy-instructions h3 {
            color: #27ae60;
            margin-bottom: 10px;
            font-size: 18px;
        }

        .copy-instructions p {
            margin-bottom: 8px;
            line-height: 1.6;
        }

        .note {
            margin-top: 20px;
            padding: 15px;
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 8px;
            color: #856404;
            font-size: 14px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @media (max-width: 600px) {
            .popup {
                padding: 25px 20px;
                margin: 10px;
                max-height: 95vh;
                width: calc(100% - 20px);
            }
            
            .bank-info-row {
                flex-direction: column;
                text-align: left;
            }
            
            .bank-info-value {
                text-align: left;
                margin-top: 5px;
            }
            
            .popup h2 {
                font-size: 24px;
            }

            .popup-overlay {
                padding: 10px;
            }
        }

        /* Demo content */
        .demo-content {
            padding: 2rem;
            text-align: center;
            min-height: 100vh;
            background: linear-gradient(45deg, #f0f2f5, #e8ecf0);
        }

        .demo-content h1 {
            color: #667eea;
            margin-bottom: 1rem;
        }

/* Hero Section */

.hero {
   /* background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('NGO Hostel.jpg');*/
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}
.slider {
      position: relative;
      height: 100vh;
      width: 100%;
      background-size:cover;
      background-position: center;
      transition: background-image 3s ease-in-out;
    }

    .buttons {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
    }

    .buttons button {
      background-color: rgba(0, 0, 0, 0.6);
      color: #fff;
      border: none;
      padding: 10px 20px;
      margin: 0 10px;
      font-size: 16px;
      cursor: pointer;
      border-radius: 5px;
      transition: background 0.3s;
    }

    .buttons button:hover {
      background-color: rgba(255, 255, 255, 0.3);
    }

    .overlay-text {
      position: absolute;
      top: 30px;
      left: 30px;
      color: white;
      font-size: 2rem;
      z-index: 2;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    }
.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero2{
    background: url('NGO\ Slogan2.jpg');
    opacity: 0.90;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.hero-content2{
    font-size: 1.8rem;
    text-shadow: #333;
}

/* Stats Section */
        .stats {
            background: #f8f9fa;
            padding: 4rem 2rem;
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .stat-item1 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('NGO Hostel.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }
        .stat-item2 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('Library1.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }
        .stat-item3 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('handicap Hostel.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }
        .stat-item4 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('studyroom.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }
        .stat-item5 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('Library2.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }
        .stat-item6 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('organicfarm.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }
        .stat-item7 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('vermicompost.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }
        .stat-item8 {
            background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('rain\ water\ harvesting1.jpg');
            background-size: cover;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: left;
        }

        .title-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #667eea;
        flex-shrink: 0; /* Prevents image from shrinking */
        }

        .stat-item:hover {
            transform: translateY(-5px);
        }

        .stat-title {
            font-size: 1.4rem;
            font-weight: bold;
            color: #667eea;
            margin-bottom: 1rem;
            text-align: center;
            border-bottom: 2px solid #667eea;
            padding-bottom: 0.5rem;
            display: flex; /* Add this */
            align-items: center; /* Add this */
            justify-content: center; /* Add this */
            gap: 10px; /* Add this - space between image and text */
        }

        .stat-label {
            font-size: 1.1rem;
            color: black;
            line-height: 1.6;
        }

        .stat-label ul {
            margin: 0.5rem 0;
            padding-left: 1.5rem;
        }

        .stat-label li {
            margin-bottom: 0.3rem;
        }

        /* Center the last box when it's alone in the row */
        .stat-item:nth-child(7) {
            grid-column: 1 / -1;
            max-width: 350px;
            margin: 0 auto;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .stats {
                padding: 3rem 1rem;
            }
            
            .stats-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .stat-item {
                padding: 1.5rem;
            }
            
            .stat-title {
                font-size: 1.3rem;
            }
            
            .stat-label {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .stats {
                padding: 2rem 0.5rem;
            }
            
            .stat-item {
                padding: 1.2rem;
            }
            
            .stat-title {
                font-size: 1.2rem;
            }
        }
/* Services Section */
.services {
    padding: 5rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* About Section */
        .about {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5rem 2rem;
        }

        .about-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 3rem;
        }

        .about-text {
            margin-bottom: 2rem;
        }

        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .about-text p {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .about-text p p{
            font-weight: bolder;
        }

        .about-text h3{
            font-size: 1.3rem;
        }

        .about-text ul {
            padding-left: 20px;
            font-size: 1.2rem;
        }

        .about-text li {
            margin-bottom: 10px;
        }

        /* Committee Members Grid */
        .committee-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        /* Center the last box when it's alone in the row */
        .member-box:nth-child(7) {
            grid-column: 1 / -1;
            max-width: 350px;
            margin: 0 auto;
        }

        .member-box {
            background: rgba(255,255,255,0.1);
            width: 375px;
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .member-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .member-box h3 {
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
            color: #FFD700;
        }

        .member-box .name {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .member-box .details {
            font-size: 1.0rem;
            opacity: 0.9;
            margin-bottom: 0.5rem;
        }

        .member-box .phone {
            font-size: 1.0rem;
            opacity: 0.8;
            font-style: italic;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .committee-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .about-text h2 {
                font-size: 2rem;
            }
            
            .member-box {
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .about {
                padding: 3rem 1rem;
            }
            
            .member-box h3 {
                font-size: 1.1rem;
            }
            
            .member-box .name {
                font-size: 1rem;
            }
        }

/* Facilities Section */
.facilities {
    background: white;
    padding: 5rem 2rem;
}

.facilities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-card {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.facility-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.facility-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.facility-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.facility-features {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.facility-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.0rem;
    text-align: left;
}

.facility-features li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.facility-features li::before {
    content: "●";
    color: #667eea;
    font-weight: bold;
}

.facilities-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Library Section */
.library {
    background: #f8f9fa;
    padding: 5rem 2rem;
}

.library-container {
    max-width: 1200px;
    margin: 0 auto;
}

.library-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.library-info {
    background-image:linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)),url("Library1.jpg");
    background-size: cover;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 1.1rem;
}


.library-features {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    font-size: 1.2rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: "✓";
    background: #ffd700;
    color: #333;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.library-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.library-stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.library-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
}

.library-stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
    padding: 5rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;*/
}

.contact-form pre{
    font-size: 1.0rem;
}

.contact-form a{
    padding: 5px 5px 5px 5px;
    color: #f8f9fa;
    text-decoration: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
/* === Mobile-Friendly Adjustments === */

html {
    font-size: 16px;
}

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .org-name {
        font-size: 1.2rem;
    }

    .org-name p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .modal-content,
    .popup {
        width: 95%;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .modal-title,
    .popup h2 {
        font-size: 1.3rem;
    }

    .stats-container,
    .services-grid,
    .committee-grid,
    .library-grid,
    .facilities-grid {
        grid-template-columns: 1fr !important;
    }

    .buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Flex fix for header lines*/
.firstline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

/* Responsive nav */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    padding: 1rem 0;
}

/* Hero & slider fix */
.hero,
.hero2,
.slider {
    min-height: 100vh;
    height: auto;
    padding: 4rem 1rem;
}

/* Prevent fixed widths */
.member-box {
    width: 100%;
    max-width: 375px;
}

/* Button scaling */
button, .btn, .nss-button, .donate-btn {
    max-width: 100%;
    white-space: normal;
}

/* Prevent overflow on small screens */
body {
    word-wrap: break-word;
    overflow-x: hidden;
}
