:root {
    --primary-blue: #1e225f;
    --primary-teal: #c41e3a;
    --accent-coral: #e85d4e;
    --light-blue: #e8f4f8;
    --text-dark: #123251;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #121f60 0%, #1e3a5f 100%);
    --gradient-2: linear-gradient(135deg, #78342c 0%, #1e3a5f 100%);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #333;
}


/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 30px;
    max-height: 46px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}


.gallery-title {
  padding: 60px;
  margin-bottom: -20px;
  font-size: 2rem;
  text-align: center;
}

.gallery {
  column-count: 3;
  column-gap: 10px;
  padding: 10px;
}

.gallery img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  padding: 4rem 2rem 1rem;
  background: var(--primary-blue);
  color: var(--white);
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.footer-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.footer-content {
  flex: 1;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-teal);
  border-radius: 1px;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-teal);
  text-decoration: underline;
}

.company-section p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.quick-links a {
  display: block;
  padding: 0.3rem 0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.quick-links a:hover {
  padding-left: 8px;
  color: var(--primary-teal);
}

.training-programs p {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.6rem;
}

.training-programs p::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-size: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.8rem;
}

.contact-icon {
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: var(--primary-teal);
}

.contact-text {
  flex: 1;
  line-height: 1.6;
}

.address-section {
  margin-top: 1rem;
}

.address-label {
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-text {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary-teal);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-teal);
  transition: left 0.3s ease;
  z-index: 1;
}

.social-links a:hover::before {
  left: 0;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(56, 178, 172, 0.3);
}

.social-links svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.social-links a:hover svg {
  transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .company-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 1.5rem 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2rem 1rem 1rem;
  }

  .social-links a {
    width: 36px;
    height: 36px;
  }

  .address-text {
    font-size: 0.85rem;
    padding: 0.6rem;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  padding: 10px;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Responsive */
@media (max-width: 900px) {
    .nav-container {
        padding: 0.3rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 35px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .mobile-menu-toggle {
        display: flex;
    }

  .contact-container {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .gallery {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .gallery {
    column-count: 1;
  }
}
