/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    user-select: none;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="computer" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="%23f8fafc"/><rect x="2" y="2" width="16" height="10" fill="%23e2e8f0" opacity="0.3"/><rect x="4" y="4" width="12" height="6" fill="%23cbd5e1" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23computer)"/></svg>');
    background-size: 100% 100%, 100% 100%, 60px 60px;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

.btn-white {
    background: white;
    color: #3b82f6;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: #3b82f6;
}

/* Headers */
.top-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.logo h1 {
    font-size: 24px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #e4405f, #f77737);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #ff0000, #ff6b6b);
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f2937, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 5px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Image Slider */
.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.slider {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px;
    text-align: center;
}

.slide-content h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 18px;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Institute Info */
.institute-info {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.info-card i {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1f2937;
}

.info-card p {
    color: #6b7280;
    line-height: 1.6;
}

.timing {
    text-align: center;
}

.timing p {
    font-size: 14px;
    color: #6b7280;
    margin: 5px 0;
}

.timing strong {
    color: #3b82f6;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

/* Courses Section */
.courses {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1f2937, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}



.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover img {
    transform: scale(1.1);
}

.course-fee {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    z-index: 5;
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1f2937;
}

.course-content p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6b7280;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Call to Action */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    
}

.contact-info p a{
    text-decoration: none;
    color: rgb(186, 186, 186);
    
}

.contact-info p a:hover{
    text-decoration: none;
    color: rgb(255, 255, 255);
    
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    color: #000;
    background: rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .cta h2 {
        font-size: 32px;
    }
    
    .info-card,
    .course-card {
        margin: 0 10px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}





/* ---------------------------
   GALLERY SECTION
----------------------------*/
.gallery {
    padding: 60px 0;
    background: #f5f5f5;
}

.gallery .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

/* GALLERY ITEM */
.gallery-item {
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    background: #eee;
    height: 180px;               /* 🔥 FIXED HEIGHT = SMALL SIZE */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: transform .3s ease;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* 🔥 PERFECT CROP */
    border-radius: 14px;
    transition: 0.4s ease;
}

/* HOVER */
.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.9;
}
    








/* contect wala system wala se chalu hai  */

.main-content {
  padding: 20px 0;
  min-height: 80vh;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}
.hero h2 {
  font-size: 36px;
  color: #1f2937;
}
.hero p {
  font-size: 18px;
  color: #6b7280;
}

.contact-section {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info h3, .contact-form h3 {
  color: #1f2937;
  margin-bottom: 20px;
}

.contact-info ul {
  margin-top: 15px;
}
.contact-info ul li {
  margin-bottom: 10px;
  color: #374151;
}
.contact-info ul li i {
  color: #3b82f6;
  margin-right: 8px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input, .contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}
.contact-form button {
  align-self: flex-start;
}

.map-section {
  margin-top: 40px;
}
.map-section h3 {
  margin-bottom: 20px;
  color: #1f2937;
}
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}












/* download wala system yaha se chalu hota hai */

.cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .card {
            background: linear-gradient(145deg, #ffffff, #e6eaff);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            transition: 0.4s ease;
            text-align: center;
            border-top: 5px solid transparent;
            margin-bottom: 50px;
        }

        .card-red {
            background: linear-gradient(145deg, #ffffff, #e6eaff);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            transition: 0.4s ease;
            text-align: center;
            border-top: 5px solid transparent;
            margin-bottom: 50px;
        }

        .card-red h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #333;
        }

        .card-red p {
            color: #666;
            margin-bottom: 20px;
        }

        .card-red:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 25px rgba(0,0,0,0.2);
            border-top: 5px solid #48ff00;
            background: linear-gradient(145deg, #ffffff, #64559e);
        }
        
        
        
        
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 25px rgba(0,0,0,0.2);
            border-top: 5px solid #ff6b6b;
            background: linear-gradient(145deg, #ffffff, #f58787);
        }

        .card h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #333;
        }

        .card p {
            color: #666;
            margin-bottom: 20px;
        }

        .cards-container a {
            text-decoration: none;
            padding: 10px;
            border-radius: 20px;
        }


button[disabled] {
  cursor: not-allowed !important;
  opacity: 0.7;
}


































.scrolling-text {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 10px 0;
    margin-top: 10px;
    position: relative;
}

.scrolling-text p {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollText 15s linear infinite;
    font-size: 20px;
    font-weight: 700;
    color: red;
    letter-spacing: 1px;
}

/* ⭐ Mobile Responsive */
@media (max-width: 768px) {   /* Tablet + Mobile */
    .scrolling-text p {
        font-size: 16px;       /* Smaller text on mobile */
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {   /* Small phones */
    .scrolling-text p {
        font-size: 14px;       /* Perfect for small screens */
    }
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
