* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================= */
/* NAVBAR STYLES */
/* ========================= */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Logo Styles */
.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo img {

    margin-top: 10px;
    height: 30px;
    width: auto;
    transition: 0.3s ease-in-out;
}

.nav-logo img:hover {
    transform: scale(1.1);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-item {
    position: relative;
}

#home {
    background: none;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* Removed blue underline animation */
 .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #349dd1 0%, #2e21bd 100%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4280d1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 24px 0;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 12px 0;
        padding: 0 24px;
    }

    .nav-link {
        font-size: 17px;
        display: block;
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* CONTACT SECTION */
/* ========================= */
.contact-section {
    text-align: center;
    padding: 140px 10% 80px;
    background: #fff;
}

.contact-subtitle {
    color: #0462a5;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-desc {
    color: #777;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ========================= */
/* FORM STYLING */
/* ========================= */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.form-row input,
.form-row select {
    flex: 1;
    min-width: 150px;
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #14c8fa;
    outline: none;
    background: #f5f6fa;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 20,0 10,10"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

input:focus,
textarea:focus,
select:focus {
    background: #eef0ff;
    box-shadow: 0 0 0 2px #0462a5;
}

.button {
    height: 50px;
    width: 150px;
    position: relative;
    background-color: transparent;
    cursor: pointer;
    border: 2px solid #0462a5;
    overflow: hidden;
    border-radius: 30px;
    color: #0462a5;
    transition: all 0.5s ease-in-out;
    align-self: center;
    font-family: 'Segoe UI' ;
}

.btn-txt {
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: 4px;
}

.type1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.8s ease-in-out;
    background: linear-gradient(90deg, #01e6f3, #014da3, #0095ff);
    border-radius: 30px;
    visibility: hidden;
    height: 10px;
    width: 10px;
    z-index: 0;
}

.button:hover {
    border: none;
}

.button:hover .btn-txt {
    color: white;
}

.type1:hover::after {
    visibility: visible;
    transform: scale(100) translateX(2px);
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .contact-section {
        padding: 120px 6% 60px;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-desc {
        max-width: 550px;
        font-size: 1rem;
    }

    .contact-form {
        max-width: 700px;
    }

    input,
    textarea,
    select {
        padding: 0.95rem;
        font-size: 0.95rem;
    }

    .button {
        height: 48px;
        width: 145px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .contact-section {
        padding: 110px 5% 50px;
    }

    .contact-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .contact-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .contact-desc {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .contact-form {
        max-width: 100%;
        padding: 0 8px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }

    input,
    textarea,
    select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }

    textarea {
        min-height: 140px;
    }

    .button {
        height: 50px;
        width: 160px;
        margin-top: 8px;
    }

    .btn-txt {
        letter-spacing: 3px;
        font-size: 0.95rem;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
        height: 65px;
    }

    .nav-logo img {
        height: 26px;
    }

    .contact-section {
        padding: 90px 20px 40px;
    }

    .contact-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.8px;
    }

    .contact-title {
        font-size: 1.65rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .contact-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 4px;
    }

    .contact-form {
        padding: 0 4px;
    }

    .form-row {
        gap: 14px;
        margin-bottom: 14px;
    }

    input,
    textarea,
    select {
        padding: 13px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        min-height: 48px;
    }

    textarea {
        min-height: 130px;
    }

    .button {
        height: 48px;
        width: 100%;
        max-width: 180px;
        margin-top: 12px;
    }

    .btn-txt {
        letter-spacing: 2.5px;
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices (360px and below) */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 12px;
        height: 60px;
    }

    .nav-logo img {
        height: 24px;
    }

    .contact-section {
        padding: 80px 16px 36px;
    }

    .contact-subtitle {
        font-size: 0.8rem;
    }

    .contact-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .contact-desc {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .form-row {
        gap: 12px;
        margin-bottom: 12px;
    }

    input,
    textarea,
    select {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 46px;
    }

    textarea {
        min-height: 120px;
    }

    .button {
        height: 46px;
        width: 100%;
        max-width: 160px;
    }

    .btn-txt {
        letter-spacing: 2px;
        font-size: 0.85rem;
    }
}

/* Enforce consistent navbar logo on tablets / iPad sizes */
@media (min-width: 760px) and (max-width: 1024px),
       (max-width: 768px) {
  .nav-container {
    padding: 0 20px !important;
    height: 75px !important;
    align-items: center !important;
  }

  .nav-logo,
  .nav-logo a { display: flex; align-items: center; }

  .nav-logo img {
    height: 30px !important;
    width: auto !important;
    margin-top: 10px !important;
    display: block !important;
    transform: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}
/* ========================= */
/* FOOTER SECTION */
/* ========================= */
.footer {
    background: linear-gradient(135deg, #001f3f, #004b8d, #0074d9);
    padding: 40px 6% 25px;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: white;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-col {
    flex: 0 0 280px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
}

.footer-company {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 1rem;
    color: #b8d4ff;
    margin: 0;
}

.footer-columns {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #aee0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p,
.footer-col ul li a {
    color: #e0ecff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a:hover {
    color: #00e1ff;
    transform: translateX(4px);
}

.bottom {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 15px;
}

.bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-links a {
    color: #cde9ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #00e1ff;
}

.bottom p {
    font-size: 0.8rem;
    color: #b8d4ff;
    margin-top: 8px;
}
.bottom {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 15px;
    padding-bottom: 20px;
    width: 100%;
    display: block;
}

.bottom p {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 8px;
    white-space: normal !important;
    overflow-wrap: break-word;
}

/* Footer Responsive */
/* Tablet: Adjust footer columns */
@media screen and (max-width: 1200px) {
    .footer-main {
        gap: 10px;
    }

    .footer-logo-col {
        flex: 0 0 240px;
        min-width: 220px;
    }

    .footer-columns {
        gap: 30px;
    }
}

/* Tablet layout (761px–1024px): logo fixed on left, three columns on right */
@media (min-width: 761px) and (max-width: 1024px) {
  .footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: start;
    gap: 20px;
  }

  .footer-logo-col {
    align-items: flex-start;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    grid-template-areas:
      "head navigation"
      "follow follow";
    width: 100%;
    justify-items: start;
    text-align: left;
    column-gap: 28px;
    row-gap: 24px;
  }

  .footer-columns .footer-col:nth-child(1) { grid-area: head; }
  .footer-columns .footer-col:nth-child(2) { grid-area: navigation; }
  .footer-columns .footer-col:nth-child(3) { grid-area: follow; margin-top: 4px; }
}

@media (max-width: 760px) {
    .footer {
        padding: 40px 5% 20px;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-col {
        align-items: center;
        flex: 1;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
    }

    .footer-col h3 {
        font-size: 0.85rem;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 35px 4% 18px;
    }

    .footer-logo {
        width: 120px;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* ========================= */
/* ACCESSIBILITY & TOUCH ENHANCEMENTS */
/* ========================= */

/* Focus states for keyboard navigation */
.nav-link:focus {
    outline: none; /* Remove blue border on navbar links */
}

.button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 1px solid #0462a5;
    outline-offset: 1px;
}

/* Touch-friendly active states */
@media (hover: none) {
    .button:active {
        transform: scale(0.97);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .nav-logo img {
        height: 28px;
        margin-top: 10px;
    }
}



/* MOBILE: justify contact page content on small screens, keep headings centered */
@media screen and (max-width: 480px) {
  .contact-section,
  .contact-desc,
  .contact-desc p,
  .contact-form,
  .contact-form p,
  .form-row,
  .form-row label,
  .form-row .note {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
  }

  /* Keep titles centered */
  .contact-title,
  .contact-subtitle {
    text-align: center !important;
  }

  /* Slightly reduce horizontal padding so justified text fits */
  .contact-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* VERY SMALL PHONES */
@media screen and (max-width: 320px) {
  .contact-section,
  .contact-desc,
  .contact-form,
  .form-row,
  .form-row label {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.45 !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
  }

  .contact-title,
  .contact-subtitle {
    text-align: center !important;
  }

  .contact-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
/* MAP SECTION */
.map-section {
  margin-top: 20px;
  margin-bottom: 25px;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.7rem;
  color: #023c65;
}

.map-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.map-container iframe {
  border: 0;
  border-radius: 8px;
  width: 100%;
  max-width: 1000px;
  height: 380px;
}



