/* Global Styles */
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}
.head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0px;
  text-align: center;
  font-size: 18px;
  z-index: 1000;
}

body {
  background-color: #f8f9fa;
  color: #fdfdfd;
  padding-top: 30px; /* Add padding to prevent content from being hidden behind the fixed header */
}

.header-top {
  background-color: #d63384; 
  color: white;
  text-align: right;
  padding: 10px 0; 
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(58, 58, 58, 0.266);
}

.header-container {
  position: fixed;
  width: 100%;
  margin-top: 20px; /* Adjust for the height of the header-top */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(255, 255, 255);
  padding: 15px 5%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  top: 12px;
  bottom: 0px;
  position: relative;
}

.logo img {
  width: 180px;
  height: 80px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  padding-top: 20px;
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav ul li a:hover {
  color: #d63384;
}

.header-top p {
  position: relative;
  right: 10px;
  color: #ffffff;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 20px 5%;
  }

  .logo img {

      width: 140px;
      height: auto;
  }

  nav {
      border-left: 4px solid#d63384 ;
      position: absolute;
      top: 100%;
      right: 0;
      width: 60%; /* adjust as needed */
      background-color: rgb(255, 255, 255);
      display: none;
      flex-direction: column;
      box-shadow: -2px 0 5px rgba(0,0,0,0.1);
      z-index: 1000;
  }

  nav.show {
      display: flex;
  }

  nav ul {
      flex-direction: column;
      width: 100%;
      padding: 10px 0;
  }

  nav ul li {
      margin: 10px 0;
      padding: 0 15px;
  }

  .menu-toggle {
      display: block;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      position: absolute;
      right: 20px;
      padding-top: 30px;
      top: 5px;
      z-index: 1001;
  }

}


@media (min-width: 769px) {
  .menu-toggle {
      display: none;
  }
}


.research-section {
 
    padding: 2rem;
    background: #fff;
    font-family: 'Arial', sans-serif;
    color: #333;
  }
  .hero {
    padding-top: 100px;
    text-align: center;
    margin-bottom: 2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
    color: #333;
  }
  .hero p {
    font-size: 1.2rem;
    color: #555;
  }
  
  /* Tabs */
  .tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  .tablink {
    border-radius: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    padding: 12px 25px;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    color: #333;
    font-weight: bold;
  }
  .tablink i {
    margin-right: 8px;
  }
  .tablink.active {
    background-color: #d63384;
    color: white;
    border: 1px solid #d63384;
  }
  .tabcontent {
    display: none;
  }
  .tablink:hover{
    background: #a3276e;
  }
  
  /* Section titles */
  .section-title {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
  }
  .section-title i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #d63384;
  }
  
  /* Card grids */
  .card-grid-patents, .card-grid-publications, .card-grid-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }
  
  .card img.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  .card:hover img.article-image {
    transform: scale(1.05);
  }
  
  .card button {
    margin-top: 15px;
    background: #d63384;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .card button i {
    margin-right: 8px;
  }
  .card button:hover {
    background: #a3276e;
  }
  
  /* Responsive design */
  @media screen and (max-width: 1024px) {
    .hero h1 {
      font-size: 2.2rem;
    }
    .section-title {
      font-size: 1.5rem;
    }
  }
  
  @media screen and (max-width: 768px) {
    .hero h1 {
      font-size: 1.8rem;
    }
    .hero p {
      font-size: 1rem;
    }
    .section-title {
      font-size: 1.3rem;
    }
    .tabs {
      flex-direction: column;
      gap: 10px;
    }
    .tablink {
      width: 100%;
      padding: 15px;
    }
    .card-grid-patents, .card-grid-publications, .card-grid-articles {
      grid-template-columns: 1fr;
    }
  }
  
  @media screen and (max-width: 480px) {
    .hero h1 {
      font-size: 1.5rem;
    }
    .hero p {
      font-size: 0.9rem;
    }
    .tablink {
      font-size: 1rem;
    }
    .card {
      padding: 1rem;
    }
    .card :no-button {
      width: 100%;
    }
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    padding-top: 60px;
    backdrop-filter: blur(5px); /* Background blur effect */
  }
  .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
  }
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  .close:hover,
  .close:focus {
    color: #d63384;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Other styles for the page */
  .card img.patent-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  .card img.patent-image:hover {
    transform: scale(1.05);
  }
  
  /* Responsive design */
  @media screen and (max-width: 768px) {
    .modal-content {
      max-width: 90%;
    }
  }
/* Styles for full-screen image view */
.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .fullscreen-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  
  .close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-fullscreen:hover {
    color: #d63384;
  }

  @media (max-width: 768px) {
    .fullscreen-image img {
      max-width: 85%;
      max-height: 85%;
    }
  
    .close-fullscreen {
      font-size: 24px;
      top: 10px;
      right: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .fullscreen-image img {
      max-width: 80%;
      max-height: 80%;
    }
  
    .close-fullscreen {
      font-size: 20px;
      top: 5px;
      right: 5px;
    }
  }



  .fullscreen-pdf {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
  }
  
  .fullscreen-pdf iframe {
    width: 80%;
    height: 80%;
    border: none;
  }
  
  .close-pdf {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-pdf:hover {
    color: #d63384;
  }

  @media (max-width: 480px) {
    .fullscreen-pdf iframe {
      width: 95%;
      height: 95%;
    }
  
    .close-pdf {
      font-size: 20px;
      top: 5px;
      right: 5px;
    }
  }








/* Footer Main Styling */
.top-bar {
    background: black;
    color: white;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

/* Container for Footer Layout */
.top-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 20px;
}

/* Logo Styling */
.brand-logo img {
    width: 180px;
    height: auto;
    margin-right: 20px; /* Push content slightly right */
    margin-left: -20px;  /* Pull logo slightly left */
}

/* Navigation Menu */
.navigation {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 60px; /* More gap between columns */
}

/* Columns Inside Navigation */
.footer-column {
    min-width: 200px;
    gap: 20px;
}

/* Column Header Styling */
.footer-column h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

/* List Style for Footer Menu */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #ccc;
}

/* Links in Footer */
.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ed2876;
}

/* Contact Section Styling */
.contact-number {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.email-link {
    color: #ed2876;
    text-decoration: none;
    font-size: 16px;
}

.email-link:hover {
    text-decoration: underline;
}

/* Bottom Wave Effect */
.bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, rgb(208, 0, 139), #ed2876);
    clip-path: ellipse(60% 100% at 50% 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-container {
        flex-wrap: wrap;
        gap: 30px;
        padding: 0 15px;
    }

    .brand-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .brand-logo img {
        width: 140px;
        height: auto;
        margin: 0 auto;
    }

    .navigation {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        width: 100%;
    }

    .footer-column {
        min-width: 160px;
        text-align: center;
    }

    .footer-column h4 {
        font-size: 18px;
    }

    .footer-column ul li {
        font-size: 14px;
    }
}



