/* ---------------- GENERAL RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

/* ---------------- HEADINGS ---------------- */
h1 {
    text-align: center;
    color: rgb(0, 0, 0);
    padding: 5px;
}

h2 {
    text-align: center;
    color: #000000;
    padding: 20px;
}

/* ---------------- PARAGRAPH ---------------- */

p {
  text-align: center;
  color: #002147;
}
/* ---------------- HEADER ---------------- */
.three-row-header {
    background: #c30000; /* Dark blue */
    color: #fff;

}

/* Top text row */
.header-top {
    background: #002147;
    font-size: 15px;
    color: #fff;
}

.header-top h1,
.header-top h3,
.header-top h5 {
    text-align: center;
    color: white;
}

.header-top h5 {
    color: rgb(174, 67, 14);
    padding-bottom: 3px;
}

/* Logos row */
.header-middle {
    padding: 10px 20px;
    background: #fff;
    border-bottom: 2px solid #ddd;
}

.logo-group {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.logo-group img {
    height: 60px;
    width: auto;
}

/* ---------------- MENU ---------------- */
.header-bottom {
    background: #002147;
    padding: 12px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 8px 12px;
    display: inline-block;
}

nav ul li a:hover {
    color: #f4d03f; /* golden yellow */
}

/* Submenu styles */
.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    display: none;
    min-width: 200px;
    z-index: 99;
}

.submenu li a {
    display: block;
    padding: 10px 15px;
    text-align: left;
    color: #fff;
    font-weight: normal;
}

.submenu li a:hover {
    background: #002147;
    color: #f4d03f;
}

/* Show submenu on hover */
.has-submenu:hover .submenu {
    display: block;
}

/* Arrow */
.arrow {
    margin-left: 6px;
    font-size: 0.8em;
    transition: transform 0.3s;
}

.has-submenu:hover .arrow {
    transform: rotate(180deg);
}

/* ---------------- SLIDER ---------------- */
.slider {
    width: 100%;
    margin: 0px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
    background: #91c3ec;
}

.slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;

}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.prev, .next {
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 22px;
    user-select: none;
    transition: background 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}
/* start slider 2 */

.slider2 {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 10px;
}

.slides2 {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide2 {
  min-width: 33.33%;
  position: relative;
}

.slide2 img {
  width: 100%;
  display: block;
  filter: blur(0);
  transition: filter 0.5s ease;
}

.slide2:hover img {
  filter: blur(2px);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  color: #4a2c2c;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide2:hover .overlay {
  opacity: 1;
}

.nav {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.nav button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  pointer-events: all;
}


/* ---------------- FORM ---------------- */
.form-table {
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-table td {
    padding: 10px 15px;
    vertical-align: top;
}

label {
    font-weight: bold;
    color: #444;
}

input[type="text"],
input[type="email"],
input[type="date"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
}

input[type="radio"] {
    margin-right: 5px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

.upper-vis {
    text-transform: uppercase;
}

/* ---------------- MEDIA & PRESS ---------------- */

.media-press {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.media-press-item {
    width: 100%;
    padding-top: 100%; /* square boxes */
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #eee;
    cursor: pointer;
}

.media-press-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox overlay */
#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

/* Responsive for tablets */
@media (max-width: 768px) {
    .media-press {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive for mobiles */
@media (max-width: 480px) {
    .media-press {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ---------------- GALLERY ---------------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #eee;
    cursor: pointer;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox overlay */
#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ---------------- TEAM ---------------- */

.team-section {
  text-align: center;
  padding: 40px 20px;
}

.team-section h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 60px;
}

.team-member {
  background: #fff;
  border-radius: 12px;
  width: 220px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.team-member:hover {
  transform: scale(1.05);
}

.team-member img {
  width: 100%;
  height: 300px;
  border-radius: 10%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  margin: 5px 0;
  font-size: 18px;
  font-weight: bold;
}

.role {
  font-size: 14px;
  color: #0077cc;
  font-weight: 600;
}

/* ---------------- BANNER ---------------- */

.banner {
  margin-top: 10px;
  position: relative;
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.banner-text {
  position: absolute;
  bottom: 30px;   /* inside image */
  left: -100%;    /* start from outside */
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  padding: 12px 20px;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  animation: slideIn 2s ease forwards;
  animation-delay: 2s; /* show after 2 seconds */
}

@keyframes slideIn {
  from { left: -100%; }
  to { left: 30px; } /* final stop position */
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: #002147;   
  color: #e5e7eb;
  margin-top: 40px;
  font-family: system-ui, sans-serif;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #38bdf8; /* light blue */
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col h3 {
  margin: 0 0 15px;
  font-size: 1.3rem;
  color: #ffffff;
  text-decoration: underline;
}

.footer-address address {
  font-style: normal;
  line-height: 1.6;
}


.footer-links li {
  margin: 8px 0;
}

.social-links {
  display: flex;
  gap: 14px;
}



.social-links img {
    height: 30px;
    width: 30px;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  padding: 14px 12px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* Responsive: stack on small screens */
@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 16px;
  }
  .social-links {
    flex-wrap: wrap;
  }
}


/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
    .logo-group img {
        height: 45px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header-middle,
    .header-bottom {
        padding: 10px;
    }

    .slider {
        margin: 10px auto;
    }

    .header-top h1,
    .header-top h3,
    .header-top h5 {
        font-size: 90%;
    }
}
