@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
    --deepblue-color:  #101586;
    --darkblue-color: #10139d;
    --royalblue-color: #0404cb; 
    --mediumblue-color: #2e4add;
    --lightblue-color: #cfeaef;

    --darkpurple-color: #8c74ed;
    --mediumpurple-color: #5b62db;
    --lightpurple-color: #7b84e3;

    --darkgrey-textcolor: #535252;
    --hover-color:#48cae4;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}


/* Top Bar Styles */
.top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lightblue-color);
    color: var(--darkgrey-textcolor);
    padding: 10px 15px;
    font-size: 14px;
    z-index: 99; /* Ensure it stays on top */
}

/* Contact Information Section */
.contact-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    color: var(--royalblue-color);
}

/* Scrolling Text Section */
.scrolling-text {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    margin-left: 20px;
    min-width: 0; /* Ensures proper space allocation */
}

.scrolling-text p {
    display: inline-block;
    animation: scroll-text 40s linear infinite;
}

/* Keyframes for Scrolling Text */
@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Navbar General Styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--deepblue-color);
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Brand Logo and Name */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  font-weight: 450;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  font-size: 14px;
}

.nav-links li a:hover {
  color: var(--hover-color); /* Change text color to blue on hover */
}

.nav-links li a:hover::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--hover-color);
  border-radius: 2px;
  transition: 0.3s ease-in-out;
}

/* Hamburger Menu for Small Screens */
.hamburger-menu {
  display: none;
  cursor: pointer;
}

.hamburger-menu i {
  font-size: 24px;
  color: white;
}

/* Small Devices (e.g., smartphones, max-width: 600px) */
@media screen and (max-width: 600px) {
  /* Navbar Layout */
  .navbar {
      flex-direction: row;
      justify-content: space-between;
      padding: 10px;
  }

  /* Hamburger Menu on Left */
  .hamburger-menu {
      order: 1;
      display: block;
  }

  /* Brand Logo in Center */
  .navbar-brand {
      order: 2;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-grow: 1;
  }

  /* Navigation Links */
  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 250px;
      background-color: var(--deepblue-color);
      flex-direction: column;
      padding: 20px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 1001;
  }

  .nav-links.show {
      display: flex;
  }
}

/* iPad Air/Mini (min-width: 768px and max-width: 834px) */
@media screen and (min-width: 768px) and (max-width: 834px) {
  .navbar {
      padding: 15px 20px;
  }

  .hamburger-menu {
      order: 1;
      display: block;
  }

  .navbar-brand {
      order: 2;
      justify-content: center;
      flex-grow: 1;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 250px;
      background-color: var(--deepblue-color);
      flex-direction: column;
      padding: 20px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
      display: flex;
  }
}


/* Header Styles */
.header {
  margin-top: 0;
  background: url('images/contact\ page.webp') no-repeat center center/cover;
  height: 450px; /* Adjust height as needed */
  color: white;
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: flex-end; /* Align content at the bottom */
  position: relative;
  z-index: 0;
  margin-bottom: 30px;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 57, 0.7); /* Dark blue overlay with transparency */
  z-index: 0; /* Ensure the overlay is below the content */
}

.header .header-content {
  position: absolute;
  bottom: 20px; /* Adjust distance from the bottom */
  text-align: center; /* Center text horizontally */
  width: 100%; /* Ensure content stretches across the width of the header */
}

.header h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 0; /* Remove bottom margin if there is one */
  animation: fadeIn 2s ease-out;
  background: linear-gradient(to right, #e1fbff, #58daf4); /* Bright blue gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(0, 122, 255, 0.8); /* Add glowing effect */
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}



.header p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeIn 3s ease-in;
    background: linear-gradient(to right, white, white); /* Bright blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px white(0, 122, 255, 0.8); /* Add glowing effect */
    font-family: 'Sans-serif';
}

.btn-contact {
    display: inline-block;
    padding: 12px 24px; /* Slightly larger padding for a bold look */
    background: var(--mediumblue-color); /* Button color */
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px; /* Rounded corners for a pill-shaped button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 2.5s ease-out; /* Subtle fade-in for entrance */
}

.btn-contact:hover {
    background: var(--hover-color); /* Use hover color for interactivity */
    transform: scale(1.1); /* Slightly larger on hover for emphasis */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* More shadow for hover effect */
}

/* Animation for fading in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial styles */
.contact-info-boxes-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping */
  justify-content: center; /* Keep boxes centered */
  gap: 20px; /* Even spacing between boxes */
  margin-top: 30px;
  padding: 0 20px;
}

.contact-info-box {
  flex: 1 1 calc(25% - 20px); /* 4 boxes per row, accounting for gap */
  max-width: calc(25% - 20px); /* Prevent box from growing too much */
  padding: 20px;
  background: linear-gradient(155deg, #10139d, #2f9eb2);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Additional styling */
/* Default hidden state */
.contact-info-header h2 {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

/* Animate when in view */
.contact-info-header.in-view h2 {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: animate boxes too */
.contact-info-box {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

.contact-info-box.in-view {
  opacity: 1;
  transform: translateY(0);
}

.contact-info-header {
  margin-top: 30px;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically (if needed) */
  text-align: center;
  width: 100%;
}


.contact-info-header h2 {
  font-size: 28px;
  color: var(--royalblue-color, #0404cb);
  margin-bottom: 1rem;
  text-transform: uppercase;
  position: relative;
  transition: all 2s ease-in-out; /* Apply transition with easing function */
}

.contact-info-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 8px auto 0; /* Center the underline */
  transition: all 2s ease-in-out; /* Apply transition with easing function */
}

/* Contact Info Container */
.contact-info-boxes-container {
  display: flex;
  flex-wrap: wrap;          /* allow wrapping */
  justify-content: center;  /* center the boxes */
  gap: 20px;                /* equal spacing */
  margin-top: 30px;
  padding: 0 20px;
}

/* Contact Info Box */
.contact-info-box {
  flex: 1 1 calc(25% - 20px);   /* 4 boxes per row */
  max-width: calc(25% - 20px);  /* prevents stretching */
  min-width: 240px;             /* keeps them from shrinking too small */
  padding: 20px;
  background: linear-gradient(155deg, #10139d, #2f9eb2);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.contact-info-box:hover {
  background: var(--deepblue-color, #04048c);
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Icon */
.contact-info-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #fff;
  transition: transform 0.3s ease-in-out;
}

.contact-info-box:hover .contact-info-icon {
  transform: scale(1.2);
}

/* Text */
.contact-info-box strong {
  font-size: 1.1em;
}

.contact-info-box p {
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- RESPONSIVE ---------- */

/* Tablets (2 per row) */
@media (max-width: 992px) {
  .contact-info-box {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* Mobiles (1 per row) */
@media (max-width: 600px) {
  .contact-info-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

  .map-container {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
  }

/* CONTACT FORM SECTION START */

/* Modern inline validation styles */




/* Submit button */
#submitBtn {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none;
    color: #041025;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

#submitBtn:hover {
    transform: translateY(-2px);
}

/* Initial hidden state */
/* Fix for intl-tel-input phone field */
#contact-section .iti {
    width: 100%;           /* make it full width like other inputs */
}

#contact-section .iti input {
    padding-left: 50px;    /* space for flag + dial code */
    height: 45px;          /* match other input heights */
    border-radius: 4px;
    background-color: #eee;
    border: none;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

#contact-section .iti__flag {
    top: 50%; 
    transform: translateY(-50%);
}

#contact-section .iti__selected-flag {
    height: 100%;          /* match input height */
    border-radius: 4px 0 0 4px;
}

#contact-section #phone:focus {
    outline: 2px solid #36ccea;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

#contact-section .contact-form-container {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.8s ease-out;
}

/* Animate in */
#contact-section .contact-form-container.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: pulsePop 0.8s ease forwards;
}

/* Pop + pulse keyframes */
@keyframes pulsePop {
  0% { transform: translateY(50px) scale(0.95); opacity: 0; }
  60% { transform: translateY(-10px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Optional: smooth input focus effect */
#contact-section input:focus, 
#contact-section textarea:focus {
  outline: 2px solid #36ccea;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* Main container styling */
#contact-section .contact-form-container {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
    margin: 20px auto 0 auto;
}

/* Form flex layout */
#contact-section .form-container {
    display: flex;
    height: 100%;
}

/* Left side styling */
#contact-section .left-container {
    flex: 1;
    background-color: #0404cb;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 20px;

}

#contact-section .left-inner-container {
    width: 80%;
    text-align: center;
}

#contact-section .left-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#contact-section .left-container p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Right side styling */
#contact-section .right-container {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#contact-section .right-inner-container {
    width: 80%;
    text-align: center;
}

#contact-section .right-inner-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

#contact-section input, 
#contact-section textarea {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    box-sizing: border-box;
}

#contact-section textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-section button {
    border-radius: 20px;
    border: 1px solid #2e4add;
    background-color: #2e4add;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    width: 100%;
}

#contact-section button:hover {
    background-color: #36ccea;
    border-color: #36ccea;
    transform: scale(1.05);
}

/* Show/hide titles for different screen sizes */
#contact-section .lg-view {
    display: block;
}
#contact-section .sm-view {
    display: none;
}

/* ------------------ RESPONSIVE STYLES ------------------ */
@media only screen and (max-width: 992px) {
    #contact-section .contact-form-container {
        min-height: auto;
    }
}

@media only screen and (max-width: 768px) {
    #contact-section .form-container {
        flex-direction: column;
    }

    #contact-section .left-container {
        display: none; /* hide left panel on mobile */
    }

    #contact-section .lg-view {
        display: none;
    }

    #contact-section .sm-view {
        display: block;
    }

    #contact-section .right-inner-container h2 {
        font-size: 1.8rem;
    }

    #contact-section input, 
    #contact-section textarea {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    #contact-section button {
        padding: 10px 35px;
        font-size: 11px;
    }
}

@media only screen and (max-width: 480px) {
    #contact-section .right-inner-container h2 {
        font-size: 1.5rem;
    }

    #contact-section input, 
    #contact-section textarea {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    #contact-section button {
        padding: 8px 30px;
        font-size: 10px;
    }
}

@media only screen and (max-width: 768px) {
    #contact-section .form-container {
        flex-direction: column; /* stack left + right */
    }

    #contact-section .left-container {
        display: flex; /* show left panel */
        width: 100%;
        height: auto;
        padding: 20px;
    }

    #contact-section .right-container {
        width: 100%;
        padding: 20px;
    }

    /* Adjust text sizes */
    #contact-section .left-container h2 {
        font-size: 1.8rem;
    }
    #contact-section .left-container p {
        font-size: 0.9rem;
    }
    #contact-section .right-inner-container h2 {
        font-size: 1.8rem;
    }
}

/* CONTACT FORM SECTION END */

   .faq-section {
            padding: 4rem 10%;
            background: #f9f9f9;
            max-width:100%;
            margin: 2rem auto;
            border-radius: 12px;
        }
        
        .faq-info-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .faq-info-header h2 {
            font-size: 28px;
            color: var(--royalblue-color, #0404cb);
            margin-bottom: 1rem;
            text-transform: uppercase;
            position: relative;
            opacity: 0;
            transform: translateY(20px);
            transition: all 2s ease-in-out;
        }
        
        .faq-info-header h2.in-view {
            opacity: 1;
            transform: translateY(0);
        }
        
        .faq-info-header h2::after {
            content: "";
            display: block;
            width: 0;
            height: 4px;
            background: linear-gradient(90deg, #0404cb, #48cae4);
            border-radius: 2px;
            margin: 8px auto 0;
            transition: all 2s ease-in-out;
        }
        
        .faq-info-header h2.in-view::after {
            width: 80px;
        }
        
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            margin-bottom: 10px;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-bottom: 1px solid #ddd;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);


        }
        
        .faq-item:hover {
            transform: translateY(-3px);
        }
        
  

        .faq-question {
            width: 100%;
            background: none;
            border: none;
            outline: none;
            font-size: 16px;
            text-align: left;
            padding: 15px 20px;
            cursor: pointer;
            color: #444;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: color 0.3s ease, background-color 0.3s ease;
            text-transform: none !important;
            font-weight: 500;
        }
        
        .faq-question:hover {
            color: #0404cb;
            font-weight: 600;
        }
        
        .arrow {
            font-size: 1.3rem;
            transition: transform 0.3s ease;
            font-weight: 300;
        }
        
        
    .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #fff;
    padding: 0 15px;
     font-size: 16px !important;
    }

    .faq-answer p {
    margin: 10px 0;
    color: #555;
    line-height: 1.6;


    }

    /* When active */
    .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px;
    }

    .faq-item.active .arrow {
    transform: rotate(45deg); /* Plus turns into cross */
    }
        /* Responsive Design */
        @media (max-width: 768px) {
            .faq-section {
                padding: 3rem 5%;
            }
            
            .faq-info-header h2 {
                font-size: 24px;
            }
            
            .faq-question {
                font-size: 1rem;
                padding: 12px 15px;
            }
            
            .arrow {
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 480px) {
            .faq-section {
                padding: 2rem 4%;
            }
            
            .faq-info-header h2 {
                font-size: 22px;
            }
            
            .faq-question {
                font-size: 0.95rem;
                padding: 12px;
            }
            
            .faq-answer p {
                padding: 0 12px;
                font-size: 0.9rem;
            }
        }


footer {
  background-color: var(--deepblue-color);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: #97e5f5;
  margin-bottom: 15px;
  font-size: 23px;
  text-decoration: underline;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 5px 0;
}

.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
  font-weight: 600px;
}

.footer-column ul li a:hover {
  color: var(--hover-color);
}

.footer-column p {
  margin: 10px 0;
}

.footer-column form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column form input {
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}



.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.footer-left,
.footer-right {
  flex: 1;
  text-align: center;
}

.footer-left img {
  max-height: 50px;
  margin-bottom: 10px;
}

.footer-right img {
  max-height: 50px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
