
/*-------------------------------------------------
General
--------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Open+Sans:wght@300;400;600&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html{
  scroll-behavior: smooth;/*added for smooth transition when clicked on navelements*/
}

body {
  font-weight: 500;
  color: rgb(0, 0, 0);
  background: #f8fafa ;
  font-family: 'Montserrat', sans-serif;
  background-color: #f1f1f5;
 
}
/*-------------------------------------------------
Navbar
--------------------------------------------------------*/
.navbar {
  justify-content: space-between;
}
.logo img {
  max-height: 50px; /* Adjust size as needed */
}
.navbar-nav {
  gap: 15px;
}
.nav-link{
  font-weight: bold; 
  font-family: georgia, serif; 
  font-size: 17px; 
  color: #000; 
  text-transform: uppercase;
}
/* Make navbar background white when expanded in mobile mode */
@media (max-width: 991px) { /* Applies to screens smaller than 992px */
  .navbar-collapse {
      background: #f1f1f5;
      padding: 10px;
      border-radius: 5px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 5;
  }
}
/*---------------------------------------
FILLER section
------------------------------*/
.filler{
    background: #001747;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 25px;
    margin-bottom: 0px; 
    padding-bottom: 0px;
    color: #f1f1f5;
  }
  .filler h2{
    font-family: georgia, serif; 
    font-weight: bold;
    font-size: 35px;
    color: #f1f1f5;
  }
  @media (max-width: 991px) { /* Applies to screens smaller than 992px */
    .filler {
       margin-top: 20px;
    }
    .filler h2{
      font-weight: 20px;
    }
    .filler p{
      font-size: 12px;
      margin: 10px;
    }
    .filler p br{
      display:none;
    }
  }


/*---------------------------------------------------
Our Team section
-------------------------------------------------------------*/
.high-section {
    margin-top: 0px;
    padding: 50px;
    background: #001747;
}

.swiper-slide {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);

}
.card{
    height: 680px;
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.role {
    font-weight: bold;
    display: block; /* Change from inline-block to block */
    width: 20%;    /* Ensures it takes the full width */
    text-align: center; 
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 12px;
    color: #fff;
}
.card-content h4{

    color: #001747; 
    font-weight: bold; 
}
.card-content .date{
    font-size: 15px; 
    color: #000;
    text-align: left; 
    font-style: italic; 
}
.card-content p{
    text-align: justify; 
    color: #000;
}
.events { background:  #001747;; }
.news { background: #61dafb; }

.read-more {
    color: #4a90e2;
    cursor: pointer;
    font-weight: 600;
}

.swiper-pagination {
    position: relative;
    bottom: 50px;
    text-align: center;
}

.swiper-pagination-bullet {
    background-color: #4a90e2; /* Custom color for pagination dots */
    width: 10px;
    height: 10px;
    opacity: 1; /* Ensure full visibility */
}

.swiper-pagination-bullet-active {
    background-color: #ff7eb9; /* Highlight active dot */
}

@media (max-width: 768px) {
  /* Adjust font size of the 'Event' span */
  .card-content .role {
      font-size: 14px; /* Smaller font size */
      padding: 4px 8px; /* Adjust padding for smaller screens */
      width: 100px; 
  }

  /* Adjust the font size for the card content text */
  .card-content h4 {
      font-size: 18px; /* Reduce size for better readability */
  }

  .card-content p {
      font-size: 14px; /* Smaller paragraph text */
  }

  /* Make the date text a little smaller */
  .card-content .date {
      font-size: 13px; /* Smaller date text */
  }
}

/*---------------------------------------------------
calendar section
-------------------------------------------------------------*/
.calendar-section {
    display: flex;
    gap: 20px;
    padding: 40px;
    background-color: #f1f1f5;
}

.calendar-section .calendar-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-section .calendar-image {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.calendar-section .events-container {
    flex: 1.5;
    width: 100%; 
    background-color: #f1f1f5;
    color: #001747;
    padding: 20px 30px;
    border-radius: 12px;
}

.calendar-section h2 {
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    font-family: georgia, serif; 
}

.calendar-section .sub-head{
    font-size: 15px;
    color: #000; 
    text-align: center;
}

.calendar-section .events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calendar-section .event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f1f5;
    color: #000;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.calendar-section .event-date-time {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 160px;
    background-color: #001747;
    color: #f1f1f5;
    padding: 5px 10px;
    border-radius: 6px;
    margin-right: 25px;
    
}
.calendar-section .event-date{
    font-weight: bold;
}
.calendar-section .event-details {
    flex: 1;
}

.calendar-section .event-title {
    font-weight: bold;
    margin: 0;
}

.calendar-section .event-location {
    font-size: 0.9rem;
    opacity: 0.8;
}

.calendar-section .pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.calendar-section .pagination button {
    background-color: #5a7f56;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-section .pagination button:hover {
    background-color: #7ea372;
}

@media (max-width: 768px) {
  .calendar-section {
    flex-direction: column-reverse;
    padding: 20px;
  }

  .calendar-section .calendar-container,
  .calendar-section .events-container {
    width: 100%;
  }

  .calendar-section .calendar-image {
    margin-top: 20px;
    max-width: 100%;
  }
  .calendar-section .event {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .calendar-section .event-date-time {
    display: flex;
    flex-direction: row; /* Keeps date and time in one row */
    gap: 10px; /* Adds spacing between date and time */
    width: 100%;
  }
  .calendar-section .event-time{
    text-align: right; 
  }

  .calendar-section .event-details {
    width: 100%;
  }

}



/*---------------------------------------------------
paper section
-------------------------------------------------------------*/
.paper-section {
  padding: 2rem;
  background: #f3f4f6;
}

.paper-section .section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.paper-section .paper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-rows: minmax(200px, auto);
}

.paper-section .paper-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.paper-section .paper-card:hover {
  transform: translateY(-3px);
}

.paper-section .paper-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.paper-section .paper-info {
  padding: 1rem;
}

.paper-section .paper-info h3,
.paper-section .paper-info h4 {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.paper-section .paper-info .meta {
  font-size: 0.8rem;
  color: gray;
}

.paper-section .card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.paper-section .card-medium {
  grid-row: span 2;
}

.paper-section .card-small img {
  height: 80px;
}

/*---------------------------------------------------
news section
-------------------------------------------------------------*/
.filler-news{
    background-color: #f1f1f5;
    color: #000; 
    text-align: center;
    padding-top: 40px;
}
.filler-news h2{
    font-size: 35px; 
    color: #001747; 
    font-weight: bold;
    font-family: georgia, serif;
  
}
.news-section {
    display: flex;
    gap: 20px;
    padding: 40px;
    padding-top: 10px;
    background-color: #f1f1f5;
    align-items: center;
}
.news-first-row{
    padding-top: 40px;
}
.news-section h2{
    text-align: center; 

}
.news-card {
    display: flex;
    background-color: #f1f1f5;
    color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 10px;
    width: 50%; 
}

.news-image {
    width: 50%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-title {
    font-weight: bold;
    margin: 0;
    font-size: 20px;
}

.news-description {
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: justify;
}

.news-date {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: auto;
    text-align: right;
    font-style: italic;
}
.news-section .highlighted-news{
    width: 135px; 
    font-weight: bold; 
    background: #001747; 
    color: #f1f1f5;
    text-align: center; 
    padding: 5px 10px; 
    border-radius: 15px; 
}
@media (max-width: 768px) {
  .news-section {
      flex-direction: column; /* Stack news cards vertically */
      align-items: center; /* Center the news cards */
      margin: 0px; 
    }

  .news-card {
      width: 90%; /* Adjust the width of the cards on mobile */
      flex-direction: column; /* Stack image and content vertically */
  }

  .news-image {
      width: 100%; /* Ensure the image covers the full width of the card */
      height: 250px; /* Set a fixed height for the image */
      object-fit: cover; /* Ensure the image covers the area without distortion */
  }

  .news-content {
      padding: 15px;
  }
}

/*---------------------------------------------------
footer section
-------------------------------------------------------------*/

footer {
    background: url('../img/about-banner.jpg') no-repeat center center/cover;
    position: relative;
    color: white;
    padding: 50px 10%;
    font-family: 'Arial', sans-serif;
    min-height: 300px;
  }
  
  /* Dark Blue Overlay */
  footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 25, 60, 0.95);
    /* Dark Blue with Transparency */
    z-index: 1;
  }
  
  /* Footer Content */
  .footer-container {
    display: flex;
    justify-content: space-between; /* Adds space between logo and links */
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
  }
  
  /* Left Section (Logo + Contact Links) */
  .left-section {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between logo and contact links */
  }
  
  /* Logo Section */
  .footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centers the logo */
    min-width: 250px;
  }
  
  .footer-logo-txt h1{
    font-family:'Georgia', serif;
    font-size: 25px;
    font-weight: bold;
  
  }
  .footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
  }
  
  /* Contact Links */
  .contact-links {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .contact-links a {
    color: #FFD700; /* Gold Color for Links */
    text-decoration: none;
    font-weight: bold;
  }
  
  .contact-links a:hover {
    text-decoration: underline;
  }
  
  /* Right Section for Footer Links and Other Links */
  .right-section {
    margin-left: auto; /* Pushes this section to the right */
    display: flex;
    justify-content: space-between; /* Distributes the links evenly */
    gap: 30px; /* Adjust space between the link sections */
  }
  
  /* Footer Links */
  .footer-links,
  .other-links {
    display: block;
  }
  
  .footer-links ul,
  .other-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li,
  .other-links ul li {
    margin: 8px 0;
  }
  
  .footer-links ul li a,
  .other-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
  }
  
  .footer-links ul li a:hover,
  .other-links ul li a:hover {
    text-decoration: underline;
  }
  
  #small-line{
    margin-bottom:10px;
    margin-top: 10px;
    width: 25px;
    height:0.2px;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    display: flex;
    justify-content: space-between; /* Aligns left and right */
    align-items: center;
    padding-top: 20px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.5); /* More visible separator */
    margin-top: 40px;
    color: white; /* Ensures readability */
    position: relative;
    z-index: 2; /* Keeps text above overlay */
  }
  
  /* Left copyright text */
  .footer-bottom p {
    margin: 0;
  }
  
  /* Right-aligned "Website by" */
  .footer-bottom p:last-child {
    text-align: right;
  }
  
  /* Links */
  .footer-bottom a {
    color: #FFD700; /* Gold color for visibility */
    text-decoration: none;
    font-weight: bold;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 991px) {
    .footer-container {
      flex-direction: column; /* Stack items */
      align-items: center; /* Center everything */
      text-align: center;
      gap: 20px; /* Add space between elements */
    }
  
    .footer-logo {
      min-width: unset; /* Remove minimum width */
    }
  
    .footer-logo img {
      max-width: 120px; /* Adjust logo size for mobile */
    }
  
    .footer-logo-txt {
      text-align: center; /* Center text */
    }
  
    .footer-links ul,
    .other-links ul {
      text-align: center;
      padding: 0;
    }
  
    .footer-links ul li,
    .other-links ul li {
      margin: 5px 0;
    }
  
    /* Stack footer bottom content */
    .footer-bottom {
      flex-direction: column; /* Stack copyright & credits */
      text-align: center;
      gap: 5px; /* Add slight space between lines */
    }
  }
  
  
    /*---------------------------------------------/ THE END /