@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
/* ========================================
        CSS Variables for a Modern, Premium Theme
        ======================================== */
:root {
  --primary-color: #00146a; /* Deep Midnight Blue */
  --secondary-color: #6099d4; /* Soft Gold */
  --accent-color: #1b9aaa; /* Muted Teal */
  --text-color: #4a4a4a; /* Softer Black for Readability */
  --light-text-color: #f5f5f5;
  --bg-color: #ffffff;
  --light-bg-color: #f8f9fa;
  --border-color: #e9ecef;
  --shadow-color: rgba(12, 31, 62, 0.08);
  --transition-speed: 0.4s;
}

/* ========================================
        General Body and Reset Styles
        ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
} /* Responsive font size */
h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 60px;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.25rem;
}

section {
  padding: 100px 0;
  overflow: hidden; /* For animations */
}

/* Animation on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity var(--transition-speed) ease-out,
    transform var(--transition-speed) ease-out;
}
.reveal.visible {
  padding: 50px;
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: 0px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--bg-color);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========================================
        Header & Navigation
        ======================================== */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0;
  transition: padding 0.3s ease;
}

/* Style for when the page is scrolled */
.main-header.scrolled {
  padding: 0; /* Adjust padding on scroll if needed */
}

.navbar-brand img {
  width: 200px;
  height: auto;
  transition: width 0.3s ease;
}

.main-header.scrolled .navbar-brand img {
  width: 180px; /* Slightly smaller logo on scroll */
}

/* Targeting the Bootstrap navigation links */
.navbar-nav .nav-link {
  color: #333; /* --primary-color */
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
  margin: 0 15px;
  transition: color 0.3s ease;
}

/* Underline effect for nav links */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: #007bff; /* --secondary-color */
  transition: width 0.4s ease;
}

/* Hover and active states */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #007bff; /* --secondary-color */
}

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

/* On smaller screens, center the nav items */
@media (max-width: 991.98px) {
  .navbar-nav {
    align-items: center;
    padding-top: 1rem;
  }
  .navbar-nav .nav-link {
    margin-bottom: 0.5rem;
  }
}

/* ========================================
        Hero Section with Parallax
        ======================================== */
.hero {
  background-color: #fff;
  position: relative;
  color: var(--light-text-color);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--light-text-color);
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero p {
  color: var(--primary-color);
  font-size: 1.3rem;
  max-width: 750px;
  margin: 0 auto 45px;
  opacity: 0.9;
}

/* ========================================
        Stats Section
        ======================================== */
#stats {
  background-color: var(--secondary-color);
  color: var(--light-text-color);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--light-text-color);
}
.stat-item .text {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* ========================================
        Services Section
        ======================================== */
#services {
  background-color: var(--bg-color);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}
.service-card {
  background: var(--light-bg-color);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  box-shadow: 0 5px 15px var(--shadow-color);
  border-bottom: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px var(--shadow-color);
  border-bottom-color: var(--secondary-color);
}
.service-card .icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  transition: transform var(--transition-speed) ease;
}
.service-card:hover .icon {
  transform: scale(1.1);
}
.service-card h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* ========================================
        Our Process Section
        ======================================== */
#process {
  background-color: var(--light-bg-color);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 20px;
}
.process-step .icon {
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  background-color: var(--bg-color);
  color: var(--secondary-color);
  font-size: 3rem;
  margin: 0 auto 20px;
  border: 2px solid var(--secondary-color);
  transition: all var(--transition-speed) ease;
}
.process-step:hover .icon {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  transform: scale(1.1);
}
.process-step h4 {
  margin-bottom: 10px;
}

/* ========================================
        Project Gallery Section
        ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-color);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 31, 62, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--light-text-color);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h4 {
  color: var(--light-text-color);
  transform: translateY(20px);
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* ========================================
        Testimonials Section
        ======================================== */
/*#testimonials { background-color: var(--light-bg-color); }*/
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  opacity: 0.5;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin: 20px 0;
  flex-grow: 1;
}
.author-info {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.author-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  object-fit: cover;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--primary-color);
  text-align: left;
}

/* ========================================
        Contact Section
        ======================================== */
#contact {
  background-color: var(--light-bg-color);
}
.contact-wrapper {
  display: flex;
  gap: 50px;
  background: var(--light-bg-color);
  padding: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 40px var(--shadow-color);
}
.contact-info,
.contact-form {
  flex: 1;
}
.contact-info h3 {
  margin-bottom: 30px;
}
.contact-info p {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}
.contact-info i {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-right: 20px;
  width: 30px;
}
.contact-form h3 {
  margin-bottom: 30px;
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(197, 164, 126, 0.3);
}
.contact-form .btn {
  align-self: flex-start;
}

/* ========================================
        CEO Section
        ======================================== */

.ceo-section {
  background: #fff;
  padding: 60px 0;
}
.ceo-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ceo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
}
.ceo-img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
}
.ceo-quote {
  font-style: italic;
  color: #555;
  border-left: 4px solid var(--secondary-color);
  padding-left: 15px;
  margin: 20px 0;
}
.signature {
  font-family: "Brush Script MT", cursive;
  font-size: 28px;
  color: var(--secondary-color);
  margin-top: 20px;
}

.mt-4.btn {
  background-color: var(--secondary-color);
}

/* ========================================
        Footer
        ======================================== */
.footer {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-col h4 {
  color: var(--secondary-color);
  margin-bottom: 25px;
}
.footer-col p,
.footer-col a {
  color: rgba(245, 245, 245, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--secondary-color);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links i {
  margin-right: 10px;
}
.social-icons {
  margin-top: 25px;
}
.social-icons a {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
  margin-right: 12px;
  transition: all 0.3s;
}
.social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.6);
}

#logotext {
  width: 650px;
}

/* ========================================
        Responsive Design
        ======================================== */
@media (max-width: 992px) {
  .nav-menu {
    display: none; /* Implement hamburger menu for production */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    padding: 40px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    align-items: center;
  }
  .social-icons {
    justify-content: center;
  }
  .testimonial-card {
    margin-right: 20px;
  }
  #logotext {
    width: 300px;
  }
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

#whatsapp-button:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#whatsapp-button i {
  font-size: 18px;
}

.or-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #aaa;
}

.or-separator::before,
.or-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.or-separator::before {
  margin-right: 10px;
}

.or-separator::after {
  margin-left: 10px;
}

.or-separator span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  opacity: 0; /* invisible at start */
  pointer-events: none; /* prevent clicks when hidden */
  transition: opacity 0.4s ease;
  display: flex;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    opacity 0.4s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  background-color: var(--secondary-color);
}
