:root {
      --primary: #148088ff;
      --accent: #f4d35e;
    }

    body {
      font-family: 'Poppins', sans-serif;
      scroll-behavior: smooth;
      background-color: #f8f9f5;
    }

    /* Navbar */
    .navbar {
      background: linear-gradient(to right, #ffffff, #f4f4f4);
      transition: all 0.4s ease;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .navbar.scrolled {
      background: linear-gradient(to right, #e8f5ef, #ffffff);
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    }

    .navbar-brand img {
      height: 50px;
      margin-right: 10px;
      transition: transform 0.4s ease;
    }

    .navbar-brand img:hover {
      transform: rotate(-5deg) scale(1.05);
    }

    .navbar-brand span {
      color: var(--primary);
      font-weight: 700;
      font-size: 1.3rem;
      letter-spacing: 0.5px;
    }

    .nav-link {
      color: var(--primary) !important;
      font-weight: 500;
      margin: 0 8px;
      position: relative;
      transition: all 0.3s ease;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      left: 0;
      bottom: 0;
      background-color: var(--accent);
      transition: width 0.3s;
    }

    .nav-link:hover::after {
      width: 100%;
    }

   #hero {
        position: relative;
        background: 
            linear-gradient(to bottom right, rgba(255,255,255,0.7), rgba(240,250,240,0.8)),
            url('/images/bg.png') center/cover no-repeat;
        text-align: center;
        color: var(--primary);
        padding: 160px 20px 120px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    #hero::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(circle at top left, rgba(244,211,94,0.2), transparent 60%);
      animation: floatGradient 10s infinite alternate ease-in-out;
      pointer-events: none;
    }

    #hero .btn {
      background: linear-gradient(90deg, var(--primary), #145f46);
      background-size: 200%;
      background-position: left center;
      color: white;
      font-weight: 600;
      border-radius: 40px;
      padding: 12px 35px;
      transition: all 0.4s ease;
      cursor: pointer;
      position: relative;
      z-index: 10;
    }

    #hero .btn:hover {
      background-position: right center;
      color: white;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      transition: background-position 0.8s ease-in-out;
    }

    @keyframes floatGradient {
      from { transform: translate(0, 0); }
      to { transform: translate(-50px, 30px); }
    }

    #hero img {
      height: 250px;
      margin-bottom: -30px;
      animation: floatLogo 6s ease-in-out infinite;
    }

    @keyframes floatLogo {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    @media (max-width: 992px) {
        #hero img {
            height: 190px;
        }
    }

    @media (max-width: 768px) {
        #hero img {
            height: 190px;
        }
    }

    @media (max-width: 576px) {
        #hero img {
            height: 150px;
            margin-bottom: 15px;
        }
    }

    #hero h1 {
      font-weight: 700;
      font-size: 2.2rem;
      letter-spacing: 1px;
    }

    @media (max-width: 992px) {
        #hero h1 {
            font-size: 2.6rem;
            letter-spacing: 0.8px;
        }
    }

    @media (max-width: 768px) {
        #hero h1 {
            font-size: 2.1rem;
            letter-spacing: 0.6px;
        }
    }

    @media (max-width: 576px) {
        #hero h1 {
            font-size: 1.8rem;
            letter-spacing: 0.5px;
            text-shadow: 1px 1px 4px rgba(255,255,255,0.6);
        }
    }

    #hero p {
      font-size: 1.1rem;
      color: #222;
      margin-bottom: 30px;
      max-width: 600px;
    }


    /* Sections */
    section {
      padding: 80px 20px;
    }

    section h2 {
      color: var(--primary);
      font-weight: 700;
      margin-bottom: 40px;
      position: relative;
      display: inline-block;
    }

    section h2::after {
      content: '';
      display: block;
      width: 50%;
      height: 3px;
      background: var(--accent);
      margin: 10px auto 0;
    }

    section#about {
        background: linear-gradient(to bottom right, #e8f5ef, #ffffff);
        padding: 100px 20px;
    }

    section#objectives {
        background: linear-gradient(135deg, rgba(244,211,94,0.1), rgba(11,61,46,0.05));
        padding: 100px 20px;
    }

    .about-text, .objectives-text {
      max-width: 900px;
      margin: auto;
      color: #333;
      line-height: 1.8;
    }

    .about-img, .objectives-img {
        max-width: 80%;
        border-radius: 15px;
        transition: transform 0.5s ease, box-shadow 0.3s ease;
    }

    @media (max-width: 768px) {
        .about-img, .objectives-img {
            max-width: 100%;
            margin-top: 20px;
            margin-bottom: 10px;
            transform: translateX(-5px);
        }
         .about-text, .objectives-text {
            text-align: left;
            font-size: 0.95rem;
        }
    }

    @media (max-width: 768px) {
        .about-img, .objectives-img {
            max-width: 100%;
        }
    }

    /* Gallery Item Styles */
    .gallery-item {
      cursor: pointer;
      overflow: hidden;
      border-radius: 8px;
      transition: transform 0.3s ease;
      position: relative;
    }

    .gallery-item:hover {
      transform: scale(1.05);
    }

    .gallery-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    /* Gallery Item Styles */
    .gallery-item {
      cursor: pointer;
      overflow: hidden;
      border-radius: 8px;
      transition: transform 0.3s ease;
      position: relative;
    }

    .gallery-item:hover {
      transform: scale(1.05);
    }

    .gallery-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    /* Gallery Modal Styles */
    .gallery-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.95);
      touch-action: pan-y pinch-zoom;
    }

    .gallery-modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .gallery-modal-content {
      position: relative;
      width: 90%;
      max-width: 1200px;
      height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #galleryModalImage {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      user-select: none;
      -webkit-user-drag: none;
      transition: opacity 0.5s ease;
    }

    /* Close Button */
    .gallery-close {
      position: absolute;
      top: 20px;
      right: 35px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
      z-index: 10000;
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    .gallery-close:hover {
      opacity: 1;
    }

    /* Navigation Buttons - Small and White with Opacity */
    .gallery-prev,
    .gallery-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(255, 255, 255, 0.3);
      color: white;
      border: none;
      font-size: 20px;
      padding: 10px 15px;
      cursor: pointer;
      border-radius: 4px;
      transition: all 0.3s ease;
      z-index: 1000;
      opacity: 0.7;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .gallery-prev:hover,
    .gallery-next:hover {
      background-color: rgba(255, 255, 255, 0.5);
      opacity: 1;
    }

    .gallery-prev:active,
    .gallery-next:active {
      background-color: rgba(255, 255, 255, 0.6);
    }

    .gallery-prev {
      left: 20px;
    }

    .gallery-next {
      right: 20px;
    }

    /* Counter */
    .gallery-counter {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      font-size: 16px;
      background-color: rgba(0, 0, 0, 0.6);
      padding: 8px 16px;
      border-radius: 20px;
      font-weight: 500;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .gallery-prev,
      .gallery-next {
        font-size: 16px;
        padding: 8px 12px;
        opacity: 0.6;
        width: 35px;
        height: 35px;
      }
      
      .gallery-prev {
        left: 10px;
      }
      
      .gallery-next {
        right: 10px;
      }
      
      .gallery-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
      }
      
      .gallery-modal-content {
        width: 95%;
        height: 70vh;
      }
      
      .gallery-counter {
        bottom: 15px;
        font-size: 14px;
        padding: 6px 12px;
      }
    }

    @media (max-width: 576px) {
      .gallery-item img {
        height: 150px;
      }
    }

    /* Our Services Section */
    #services {
      background: linear-gradient(
          135deg,
          #eaf3f8ff 0%,
          #eff6f7ff 50%,
          #ffffff 100%
      );
      color: #0b3d2e;
      padding: 100px 20px;
      position: relative;
      overflow: hidden;
    }

    #services::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(255, 255, 255, 0.1);
        z-index: 0;
    }

    #services .container {
        position: relative;
        z-index: 1;
    }

    #services .about-img {
        max-width: 85%;
        border-radius: 15px;
        transition: transform 0.5s ease, box-shadow 0.3s ease;
    }

    @media (max-width: 768px) {
        #services {
            text-align: center;
            padding: 70px 15px;
        }

        #services .about-img {
            max-width: 100%;
            margin-top: 20px;
        }

        #services .objectives-text {
            text-align: left;
            font-size: 0.95rem;
        }
    }

    /* Our why us Section */
    #why_us {
      background: linear-gradient(
          135deg,
          #eaf3f8ff 0%,
          #eff6f7ff 50%,
          #ffffff 100%
      );
      color: #0b3d2e;
      padding: 100px 20px;
      position: relative;
      overflow: hidden;
    }

    #why_us::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(255, 255, 255, 0.1);
        z-index: 0;
    }

    #why_us .container {
        position: relative;
        z-index: 1;
    }

    #why_us .about-img {
        max-width: 85%;
        border-radius: 15px;
        transition: transform 0.5s ease, box-shadow 0.3s ease;
    }

    @media (max-width: 768px) {
        #why_us {
            text-align: center;
            padding: 70px 15px;
        }

        #why_us .about-img {
            max-width: 100%;
            margin-top: 20px;
        }

        #why_us .objectives-text {
            text-align: left;
            font-size: 0.95rem;
        }
    }

    .register-section {
        align-items: center;
        gap: 20px;
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
    }

    .image-side {
        flex: 1;
        min-height: 90px;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 600"><rect fill="%23148088" width="400" height="600"/><circle cx="100" cy="150" r="80" fill="%23f4d35e" opacity="0.3"/><circle cx="320" cy="400" r="120" fill="%23f4d35e" opacity="0.2"/><path d="M0 500 Q200 450 400 500 L400 600 L0 600 Z" fill="%23f4d35e" opacity="0.4"/></svg>') center/cover;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px;
    }

    .image-content {
        text-align: center;
        color: white;
    }

    .image-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .image-content p {
        font-size: 1.2rem;
        opacity: 0.95;
    }

    .form-side {
        flex: 1;
        padding: 50px;
    }

    h2 {
        color: #148088;
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .subtitle {
        color: #666;
        margin-bottom: 30px;
        font-size: 1.1rem;
    }

    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    label {
        display: block;
        margin-bottom: 8px;
        color: #148088;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .required {
        color: #e74c3c;
    }

    input, select, textarea {
        width: 100%;
        padding: 10px 14px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f9f9f9;
    }

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: #148088;
        background: white;
        box-shadow: 0 0 0 3px rgba(20, 128, 136, 0.1);
    }

    select {
        cursor: pointer;
        appearance: none;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path fill="%23148088" d="M0 0l6 8 6-8z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
    }

    textarea {
        resize: vertical;
        min-height: 80px;
        font-family: inherit;
    }

    .submit-btn {
        width: 100%;
        padding: 16px;
        background: linear-gradient(135deg, #148088 0%, #0d5a60 100%);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(20, 128, 136, 0.4);
        background: linear-gradient(135deg, #0d5a60 0%, #148088 100%);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    .id-type-group {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 10px;
    }

    .loading {
        opacity: 0.6;
        pointer-events: none;
    }

    .success-message {
        background: #d4edda;
        color: #155724;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid #c3e6cb;
        display: none;
    }

    .error-message {
        background: #f8d7da;
        color: #721c24;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid #f5c6cb;
        display: none;
    }

    @media (max-width: 968px) {
        .register-section {
            flex-direction: column;
        }

        .image-side {
            min-height: 50px;
            width: 100%;
        }

        .form-side {
            padding: 30px 20px;
        }

        .form-grid {
            grid-template-columns: 1fr;
        }

        h2 {
            font-size: 2rem;
        }

        .image-content h1 {
            font-size: 2rem;
        }
    }

    @media (max-width: 600px) {
        .id-type-group {
            grid-template-columns: 1fr;
        }
    }

    .searchable-select {
        position: relative;
    }

    .search-input {
        width: 100%;
        padding: 10px 14px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        background: #f9f9f9;
        transition: all 0.3s ease;
    }

    .search-input:focus {
        outline: none;
        border-color: #148088;
        background: white;
        box-shadow: 0 0 0 3px rgba(20, 128, 136, 0.1);
    }

    .search-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 2px solid #148088;
        border-top: none;
        border-radius: 0 0 8px 8px;
        max-height: 250px;
        overflow-y: auto;
        z-index: 1000;
        display: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .search-dropdown.active {
        display: block;
    }

    .dropdown-category {
        padding: 8px 12px;
        background: #f8f9fa;
        font-weight: 700;
        font-size: 12px;
        color: #148088;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .dropdown-item {
        padding: 10px 12px;
        padding-left: 24px;
        cursor: pointer;
        transition: background 0.2s ease;
        border-left: 3px solid transparent;
        color: #333;
    }

    .dropdown-item:hover {
        background: #f0f0f0;
        border-left-color: #148088;
    }

    .dropdown-item.selected {
        background: #148088;
        color: white;
        border-left-color: #0d5a60;
    }

    .no-results {
        padding: 10px 12px;
        color: #999;
        font-style: italic;
    }

    .hidden {
        display: none !important;
    }

    @media (max-width: 600px) {
        .search-dropdown {
            max-height: 200px;
        }
        
        .dropdown-item {
            padding: 8px 10px;
            padding-left: 20px;
            font-size: 0.9rem;
        }
        
        .dropdown-category {
            padding: 6px 10px;
            font-size: 11px;
        }
    }

    .contact-info {
      text-align: center;
      font-size: 1.05rem;
    }

    .contact-info p {
      margin: 6px 0;
      color: #333;
    }