/* ===== GLOBAL FONTS ===== */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #1c1c1c;
    background-color: #fff;
    scroll-behavior: smooth;
}

/* ===== PRE-HEADER ===== */
.pre-header {
    background-color: #f0faff;
    color: #02245b;
    font-size: 0.95rem;
    padding: 12px 0;
    border-bottom: 1px solid #ddefff;
}

.pre-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.pre-header-left span {
    display: flex;
    align-items: center;
    font-weight: 400;
    gap: 8px;
}

.pre-header-right a {
    color: #02245b;
    text-decoration: none;
    margin-left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    transition: color 0.3s;
}

.pre-header-right a:hover {
    color: #005fd3;
}

.pre-header-left i,
.pre-header-right i {
    color: #005fd3;
    font-size: 1em;
}

@media (max-width: 768px) {
    .pre-header {
        display: none;
    }
}


/* ===== HEADER ===== */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo a {
    font-size: 1.6rem;
    font-weight: 600;
    color: #005fd3;
    text-decoration: none;
}

/* Nav links - desktop */
.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: #02245b;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -3px;
    background-color: #005fd3;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #005fd3;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
  color: #005fd3; 
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: #005fd3;
    cursor: pointer;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.5s ease;
        padding: 0 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    }

    .nav-links.show {
        max-height: 500px;
        opacity: 1;
        padding: 20px 30px;
    }

    .nav-links a {
        margin-bottom: 15px;
    }
}

section {
    padding: 100px 30px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}


.contact-section {
    background: linear-gradient(120deg, rgba(0, 191, 255, 0.08), rgba(0, 95, 211, 0.08));
    padding: 80px 20px;
    color: #02245b;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #02245b;
    margin-bottom: 50px;
}

/* Contact Grid Layout */
.contact-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Contact Info */
.contact-info {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.icon-wrapper {
    background-color: #02245b;
    color: #fff;
    padding: 14px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #00bfff;
}

.info-item p {
    margin: 5px 0 0;
    color: #02245b;
    font-size: 1rem;
}

/* Contact Form Styles */
.contact-form textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  background-color: #fff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  color: #02245b;
}

.contact-form textarea:focus {
  border-color: #005fd3;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 95, 211, 0.2);
}


.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #cdd5e0;
  border-radius: 6px;
  outline: none;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #00bfff;
}

.contact-form textarea {
  width: 100%;
}

.submit-btn {
  background-color: #00bfff;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #008ecc;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  font-size: 15px;
  border-radius: 6px;
  display: none;
  text-align: center;
  transition: opacity 0.4s ease;
}

@media (max-width: 900px) {
    .contact-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .info-item {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
    }
}

/* Fade & Slide Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}


.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

/* Hero */

.hero-section {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.hero-slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease, transform 3s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(0, 95, 211, 0.55),
    rgba(0, 80, 160, 0.55),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  animation: fadeIn 2s ease forwards;
  max-width: 800px;
}

.hero-subheading {
  font-size: 1rem;
  letter-spacing: 1px;
  color: #7ec6ff;
  margin-bottom: 10px;
  font-weight: 500;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 25px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero-button {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  background-color: #00bfff;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: 0 4px 10px rgba(0, 95, 211, 0.3);
}

.hero-button:hover {
  background-color: #008ecc;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
  z-index: 3;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-section {
    height: 75vh; 
    padding: 0 10px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-subheading {
    font-size: 0.85rem;
  }
  .hero-tagline {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .hero-button {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}



/* About Section */

.about-section {
  position: relative;
  background-color: #f5f9ff;
  color: #02245b;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 1;
  animation: slideFadeIn 1.2s ease forwards;
}

.about-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.section-heading { text-align: center; font-size: 2.8rem; margin-bottom: 40px; }

.about-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.reverse-grid { flex-direction: row-reverse; }

.about-image img.about-image-effect {
  max-width: 600px;
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  animation: fadeInImage 1.5s forwards 0.3s;
}

.about-image img.about-image-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 95, 211, 0.3);
}

.about-content {
  flex: 1;
  min-width: 280px;
  text-align: left;
  opacity: 0;
  animation: fadeInText 1.5s forwards 0.5s;
}

.about-content h2 { font-size: 2.6rem; margin-bottom: 20px; }
.about-content p { font-size: 1.1rem; margin-bottom: 20px; line-height: 1.7; }
.about-content ul { font-size: 1.1rem; margin-bottom: 30px; line-height: 1.7; padding-left: 20px; }
.about-content ul li { margin-bottom: 15px; }

.about-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  background-color: #00bfff;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 95, 211, 0.2);
  transition: background 0.3s;
}
.about-button:hover { background-color: #008ecc; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; }
.fade-in.delay-1 { animation-delay: 0.4s; }
.fade-in.delay-2 { animation-delay: 0.8s; }
.fade-in.delay-3 { animation-delay: 1.2s; }
.fade-in.delay-4 { animation-delay: 1.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInImage { to { opacity: 1; } }
@keyframes fadeInText { to { opacity: 1; } }
@keyframes slideFadeIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive Layout */
@media (max-width: 900px) {
  .about-grid { flex-direction: column-reverse; text-align: center; }
  .about-image img.about-image-effect { max-width: 320px; }
  .about-content { text-align: center; }
  .about-content h2 { font-size: 2rem; }
  .about-content p, .about-content ul { font-size: 1rem; text-align: center; }
  .about-content ul { padding-left: 0; }
}

/* Testimonial Section */
.testimonial-section {
    width: 100vw;
    padding: 60px 20px;
    background: linear-gradient(120deg, rgba(0, 191, 255, 0.3), rgba(0, 95, 211, 0.3));
    box-sizing: border-box;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


/* Heading */
.testimonial-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.google-logo {
    width: 38px;
    height: 38px;
}

.testimonial-heading h2 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #02245b;
}

/* Testimonial Cards */
.testimonials {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 95, 211, 0.1);
    text-align: left;
    flex: 1;
    max-width: 340px;
    border-left: 5px solid #005fd3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 95, 211, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.testimonial-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial p {
    font-size: 0.95rem;
    color: #02245b;
    line-height: 1.5;
    margin-bottom: 8px;
}

.stars {
    color: #ffcc00;
    font-size: 15px;
    font-weight: bold;
}

.review-date {
    font-size: 11px;
    color: #5F656F;
    display: block;
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 40px 15px;
    }

    .testimonial-container {
        text-align: center;
    }

    .testimonial-heading h2 {
        font-size: 1.8rem;
    }

    .google-logo {
        width: 30px;
        height: 30px;
    }

    .testimonials {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial {
        max-width: 100%;
        padding: 16px;
    }

    .testimonial-header img {
        width: 42px;
        height: 42px;
    }

    .testimonial p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* ======= Gallery Section ======= */
.gallery-section {
    width: 100%;
    padding: 80px 20px;
    background: #f5f9ff;
    box-sizing: border-box;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-heading {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #02245b;
}

.gallery-subheading {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #02245b;
}

.swiper-slide {
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    width: 100%;
    max-width: 613px;
    height: 575px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 95, 211, 0.12);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 95, 211, 0.8);
    color: #fff;
    font-size: 1rem;
    padding: 8px 0;
    text-transform: capitalize;
    letter-spacing: 1px;
}

/* ======= Swiper Arrows ======= */
.swiper-button-next,
.swiper-button-prev {
    color: #005fd3;
}

.swiper-pagination-bullet-active {
    background: #005fd3;
}


@media (max-width: 768px) {
    .gallery-heading {
        font-size: 2rem;
    }

    .gallery-subheading {
        font-size: 1rem;
    }

    .image-wrapper {
        width: 90%;
        height: auto;
        max-height: 450px;
    }

    .image-wrapper img {
        height: 100%;
    }
}


/* ======= Footer Section ======= */
.footer {
  background-color: #02245b;
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
}

/* About */
.footer-about {
  flex: 1;
  min-width: 250px;
}

.footer-about h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: #00bfff;
}

.footer-about p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.6;
}

/* Links */
.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4 {
  margin-bottom: 15px;
  color: #00bfff;
  text-align: center;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #00bfff;
}

/* Contact Info */
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-contact h4 {
  margin-bottom: 15px;
  color: #00bfff;
}

.footer-contact p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #ddd;
}

.footer-contact i {
  margin-right: 8px;
  color: #00bfff;
}

/* Social Icons */
.footer-social a {
  margin-right: 12px;
  font-size: 1.3rem;
  color: #fff;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #00bfff;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

@media (min-width: 992px) {
  .footer-container {
    justify-content: center;
  }

  .footer-about {
    order: 1;
    flex: 1;
    max-width: 33%;
  }

  .footer-links {
    order: 2;
    flex: 1;
    max-width: 33%;
  }

  .footer-contact {
    order: 3;
    flex: 1;
    max-width: 33%;
  }
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social {
        margin-top: 10px;
    }
}

html {
  scroll-behavior: smooth;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #005fd3; 
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

#backToTop:hover {
  background-color: #005fd3;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* Floating Buttons Container */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 80px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 9999;
    transition: transform 0.5s, opacity 0.4s;
}

/* Floating Button Design */
.floating-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 9999;
}

/* Call Button */
.call-btn {
    background: #005fd3;
}

.call-btn:hover {
    box-shadow: 0px 0px 20px rgba(255, 102, 0, 0.6);
    transform: scale(1.1);
}

/* Ensure Call Icon is White */
.call-btn, 
.call-btn i {
    color: white !important;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #1ebc58);
}

.whatsapp-btn:hover {
    box-shadow: 0px 0px 20px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

/* Hide Button */
.hide-btn {
    background: linear-gradient(135deg, #555, #333);
    font-size: 22px;
}

.hide-btn:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

/* Message Button */
.message-btn {
    position: fixed;
    left: 20px;
    bottom: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: none;
    transition: transform 0.5s, opacity 0.4s;
}

/* Wiggle Animation */
.message-btn.wiggle {
    animation: wiggle 1s infinite;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.message-btn:hover {
    box-shadow: 0px 0px 20px rgba(0, 123, 255, 0.5);
    transform: scale(1.1);
}

/* Hidden State */
.floating-buttons.hidden {
    transform: translateX(-40px);
    opacity: 0;
    pointer-events: none;
}

.message-btn.show {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-buttons {
        left: 10px;
        bottom: 60px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .message-btn {
        left: 10px;
        bottom: 60px;
    }
}

/* loader overlay */
  #page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }

  #page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Container for ripples */
  .ripple-container {
    position: relative;
    width: 80px;
    height: 80px;
  }

  /* Ripple circles */
  .ripple {
    position: absolute;
    border: 4px solid #005fd3; 
    border-radius: 50%;
    opacity: 0.6;
    animation: ripple-anim 2.5s infinite ease-out;
  }

  
  .ripple:nth-child(1) {
    top: 0; left: 0; right: 0; bottom: 0;
    animation-delay: 0s;
  }

  .ripple:nth-child(2) {
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    animation-delay: 0.8s;
  }

  .ripple:nth-child(3) {
    top: 16px; left: 16px; right: 16px; bottom: 16px;
    animation-delay: 1.6s;
  }

  
  @keyframes ripple-anim {
    0% {
      transform: scale(0.3);
      opacity: 0.6;
    }
    80% {
      opacity: 0;
    }
    100% {
      transform: scale(1.5);
      opacity: 0;
    }
  }

  
  #page-loader p {
    margin-top: 20px;
    font-weight: 600;
    font-size: 1rem;
    color: #02245b; 
    letter-spacing: 0.05em;
  }
  
  