/* Remove underline + visited purple for the brand link */
header .brand,
header .brand:link,
header .brand:visited,
header .brand:hover,
header .brand:active {
  text-decoration: none !important;
  color: #0d3a82 !important;        /* choose your brand color */
}

/* Optional: remove underline for all header links too */
.site-header a {
  text-decoration: none !important;
}
.site-header a:hover {
  text-decoration: none !important;
}

/* If your brand is inside a heading like <h1 class="logo"><a ...> */
.logo a {
  text-decoration: none !important;
  color: inherit !important;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fdfdfd;
  color: #092275;
  line-height: 1.7;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
/* Remove underline from brand link */
.brand,
.brand a {
  text-decoration: none;
  color: inherit;        /* keep text color from parent */
  font-weight: 700;      /* optional: bold */
}

.logo {
  text-decoration: none;
  color: rgb(29, 107, 215);
  font-weight: bold;
}
/* Navbar */
header {
  background: transparent;
  padding: 0;
  position: sticky;
  transition: all 0.3s ease;
  top: 0;
  left: 0;
  z-index: 1000;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 87, 184, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 87, 184, 0.2);
  box-shadow: 0 4px 30px rgba(0, 87, 184, 0.2);
}
.navbar.hidden {
  top: -80px; /* Hides on scroll */
}

/* Logo text */
.navbar .logo {
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.navbar.scrolled .logo {
  color: #1a1a2e;
  text-shadow: none;
}

/* Navigation links */
.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled ul li a {
  color: #1a1a2e;
  text-shadow: none;
}

.navbar ul li a:hover {
  color: #0f3460;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.navbar.scrolled ul li a:hover {
  color: #1a1a2e;
  background: rgba(26, 26, 46, 0.1);
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0f3460;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar.scrolled ul li a::after {
  background: #1a1a2e;
}

.navbar ul li a:hover::after {
  width: auto;
}
/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 5% 5%;
  }

  .navbar ul {
    gap: 15px;
  }

  .navbar ul li a {
    font-size: 14px;
  }
  .navbar .logo {
    font-size: 18px;
    color: rgb(29, 107, 215);
    font-weight: bold;
  }
}
.navbar ul li a:hover {
  color: transparent;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.nav-links a:hover {
  color: beige;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;       
  height: 100vh;            
  text-align: center;
  padding: auto;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.8), #092275),transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 87, 184, 0.3), rgba(0, 170, 255, 0.2));
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: none;
  z-index: 2;
}

/* Particles canvas */
#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

/* Bubbles canvas for other sections */
.bubbles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
}

.loading-logo i {
  font-size: 3rem;
  animation: pulse 2s infinite;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loading-progress {
  height: 100%;
  background: white;
  border-radius: 2px;
  animation: loading 3s ease-in-out;
}

@keyframes loading {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* dark overlay */
}
.hero::after, .hero--products::after, .products::after, .services::after, .contact::after {
  content: none;
}

.hero-badge i {
  color: #ffd700;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px) scale(1.05);
}

.hero-content h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
  color: #e8e8e8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  animation: bounce 2s infinite;
}

.hero-scroll i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.hero-scroll:hover i {
  color: white;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}


button {
  background-color: transparent;
  color: #1a1a2e;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #0f3460, #1a1a2e);
  color: #fff; 
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none; 
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 91, 204, 0.4);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover {
  background: linear-gradient(135deg, #0f3460, #1a1a2e);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(47, 91, 204, 0.6);
}

.btn:hover::before {
  left: 100%;
}



.products {
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;       
  min-height: 100vh;       
  background: linear-gradient(135deg, #092275, #16213e);
  padding: 4rem 2rem;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  color: white;
  overflow: hidden;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.products::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: none;
  z-index: 2;
}
.products h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  text-shadow: none;
  position: relative;
  z-index: 3;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px; 
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}
.card {
  background: #0e1526;
  color: #e6e9ef;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a1a2e, #0f3460);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card h3 {
  color: #f1f5f9;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.card p {
  color: #c9d2e0;
  line-height: 1.6;
  margin-bottom: 0;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 87, 184, 0.2);
  border-color: rgba(0, 87, 184, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f172a, #0b1220);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .hero-content h2 {
    font-size: 32px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}

.product-details {
  margin-top: 40px;
  padding: 20px;
  background: rgb(36, 33, 33);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  animation: fadeIn 0.5s ease-in-out;
}

.product-details h3 {
  color:#ddd;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-details img {
  width: 200px;
  border-radius: 10px;
  margin: 10px;
  box-shadow: 0 4px 8x rgba(0,0,0,0.2);
  transition: 0.3s;
}
.product-details img:hover {
  transform: scale(1.05);
}
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}
.product-gallery div {
  text-align: center;
  max-width: 220px;
}
.product-gallery p {
  margin-top: 5px;
  font-size: 14px;
}
.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.8s ease-in-out;
}
.card, .hero-content, .product-details {
  opacity: 0;
  transform: translateY(50px);
}
.card:hover {
  box-shadow: 0 8px 25px rgba(0, 87, 184, 0.6);
  transform: translateY(-10px) scale(1.05);
  transition: all 0.3s ease-in-out;
}
.pulse {
  animation: pulseAnim 0.6s infinite alternate;
}
@keyframes pulseAnim {
  from { transform: scale(1); box-shadow: 0 0 5px #1a1a2e; }
  to { transform: scale(1.1); box-shadow: 0 0 20px #0f3460; }
}
.fade-in {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInImg 0.8s forwards;
}
@keyframes fadeInImg {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-gallery img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 87, 184, 0.6);
}

.services {
  padding: 4rem 2rem;
  background: linear-gradient(-135deg, #16213e, #092275);
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: white;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="services-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23services-pattern)"/></svg>');
  pointer-events: none;
}

.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: none;
  z-index: 2;
}

.services h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  text-shadow: none;
  position: relative;
  z-index: 3;
}

.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 3;
}

.service-card {
  background: #0e1526;
  color: #e6e9ef;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f3460, #1a1a2e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 87, 184, 0.2);
  border-color: rgba(0, 87, 184, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card img {
  width: 70px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #f1f5f9;
  margin-bottom: 10px;
}

.service-card p {
  color: #c9d2e0;
  font-size: 0.95rem;
  line-height: 1.6;
}
section, .products, .hero, .services-hero, .contact-hero {
  border: none;
  box-shadow: none;
}
hr {
  display: none;
}
.contact {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #092275, #16213e);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.contact h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  text-shadow: none;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #0e1526;
  color: #e6e9ef;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f3460, #1a1a2e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 87, 184, 0.2);
  border-color: rgba(0, 87, 184, 0.3);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.btn-contact {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  background: #1f2a44;
  color: white;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-contact:hover {
  background: #2a3a5e;
}
.footer1{
  display: flex;
  margin-bottom: 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: auto;
}
.footer-section{
  flex: 1 1 220px;
  margin: 12px;
}
.footer-section h2,
.footer-section h3{
  color:#cbd5e1;
  margin-bottom: 8px;
  font-size: 1rem;
}
.footer-section ul{
  list-style: none;
  padding: 0;
}
.footer-section ul li{
  margin-bottom: 4px;
}
.footer-section a{
  color: #e2e8f0;
  text-decoration: underline;
  font-size: 0.95rem;
}
@media (max-width: 768px){
  .footer-container{
    flex-direction: column;
    align-items: center;
  }
}
.footer-section{
  margin: 10px 0;
  text-align: center;
}
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.social-icons img{
  width: 24px;
  height: 24px;
  filter: brightness(1.2) contrast(1.1);
  transition: transform 0.3s ease;
}
.social-icons a :hover img{
  transform: scale(1.2);
}
Section Dividers
.section-divider {
  display: none;
}

/* Improved animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Navigation Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle, .mobile-menu-toggle {
  background: none;
  border: none;
  color: #1a1a2e;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.theme-toggle:hover, .mobile-menu-toggle:hover {
  background: rgba(26, 26, 46, 0.1);
  transform: scale(1.1);
}

.mobile-menu-toggle {
  display: none;
}

/* Testimonials */
.testimonials {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #092275, #16213e);
  text-align: center;
  position: relative;
  color: white;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonials-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonials-pattern)"/></svg>');
  pointer-events: none;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: none;
  z-index: 2;
}

.testimonials h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  text-shadow: none;
  position: relative;
  z-index: 3;
}

.testimonials p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  position: relative;
  z-index: 3;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.testimonial-card {
  display: none;
  background: #0e1526;
  color: #e6e9ef;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s ease;
}

.testimonial-card.active {
  display: block;
  animation: fadeInScale 0.5s ease;
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #c9d2e0;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.author-info h4 {
  margin: 0;
  color: #1a1a2e;
  font-size: 1.1rem;
}

.author-info span {
  color: #666;
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: #1a1a2e;
  transform: scale(1.2);
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, #092275, #16213e);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
  pointer-events: none;
}

.newsletter-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#newsletterEmail {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #333;
}

#newsletterEmail::placeholder {
  color: #666;
}

.newsletter-btn {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  border: none;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #0d1b2a, #1a1a2e);
  transform: scale(1.05);
}

.newsletter-success {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 87, 184, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 87, 184, 0.6);
}


/* Enhanced responsive design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Ensure nav links are hidden on mobile until toggled */
  .navbar .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .navbar .nav-links.active {
    display: flex !important;
  }
  .navbar {
    padding: 1rem;
  }
  
  .navbar ul {
    gap: 1rem;
  }
  
  .navbar ul li a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hero {
    padding: 0 1rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  
  .hero-search {
    bottom: 150px;
  }
  
  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .form-group {
    flex-direction: column;
    border-radius: 20px;
  }
  
  .newsletter-btn {
    border-radius: 0 0 20px 20px;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-section {
    margin: 1rem 0;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}
