/* Custom CSS for Internet Zone Website */

/* Color Variables */
:root {
    --primary-blue: #007bff;
    --accent-blue: #2d9bf0;
    --dark-text: #333;
    --light-text: #555;
    --white: #fff;
    --logo-icon-color: #64b5f6;
    --sidebar-icon-blue: #2196F3;
    --sidebar-icon-red: #EF5350;
    --sidebar-icon-yellow: #FFC107;
    --sidebar-icon-green: #66BB6A;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 80px; 
}

/* Navbar Customization */
.custom-navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

}

.custom-navbar .navbar-brand {
    color: var(--dark-text);
   
}

.custom-navbar .navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

.custom-btn-outline {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-btn-outline:hover {
    background-color: var(--accent-blue);
    color: var(--white);
}

.custom-btn-primary {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-btn-primary:hover {
    background-color: #2581cf;
    border-color: #2581cf;
}


/* Hero Section */
.hero-section {
    min-height: calc(100vh - 290px);
    /* background-color: var(--accent-blue); */
    background: #87CEEB;
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.hero-section h1 {
  font-size: 2.0rem; /* adjust as needed */
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #434343 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.hero-section p.lead {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(247, 244, 244, 0.85);
    max-width: 550px;
}

.custom-learn-more {
background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    border-color: var(--white);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.custom-learn-more:hover {
    background-color: #059932;
    border-color: #f0f0f0;
    color: var(--accent-blue);
}


/* General Section Styling */
main section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 5px;
}

/* About Section */
#about {
    background-color: var(--white);
}

#about h2 {
    transform: translateX(-50%);
    left: 50%;
}
#about h2::after {
    left: 50%;
}

.list-unstyled li {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

/* Courses Section */
#courses {
    background-color: #f8f9fa;
}

.course-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.course-card .card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 200px;
    object-fit: cover;
}

/* Faculty Section */
#faculty {
    background-color: var(--white);
}

.faculty-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
}

.faculty-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--accent-blue);
}

.notification-container {
  height: 200px; /* fixed height for scrolling box */
  overflow: hidden;
  position: relative;
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: scrollUp 20s linear infinite;
}

@keyframes scrollUp {
  0%   { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

/* Pause scrolling when user hovers */
.notification-container:hover .notification-list {
  animation-play-state: paused;
}

/* Make text responsive */
.notification-list li {
  font-size: 1rem;
  line-height: 1.4;
  word-wrap: break-word;
}

/* Tablet and Mobile adjustments */
@media (max-width: 768px) {
  .notification-container {
    height: 150px;
  }
  .notification-list li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .notification-container {
    height: 120px;
  }
  .notification-list li {
    font-size: 0.85rem;
  }
}

.card-footer {
    background-color: var(--white);
    border-top: none;
}

/* Responsive Map */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 65%; /* Aspect ratio 16:10 */
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form Responsive */
#contact form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
  #contact h2 {
    font-size: 2rem;
  }
}
/* Footer Styling */
.footer {
    background-color: #171b2a;
    color: white;
}

.footer h5 {
    color: white;
    font-weight: bold;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-blue);
}

.footer .social-icons a {
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
    }
    body {
        padding-top: 70px;
    }

    .hero-section {
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    .illustration-content {
        margin-top: 40px;
    }
    
    .pagination-dots {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}



#stats i {
  color: #fff;
}

#stats h3 {
  font-size: 2.5rem;
}

#stats p {
  font-size: 1.1rem;
  opacity: 0.9;
}
