:root {
  --primary-dark: #0d1b2a;
  --primary-light: #1b9cfc;
  --white: #ffffff;
  --light-gray: #f5f6fa;
  --dark-text: #2c3e50;
  --border-radius: 8px;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background-color: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  font-size: 1.8rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-light) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.btn-cta {
  background-color: var(--primary-light) !important;
  color: var(--primary-dark) !important;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(27, 156, 252, 0.4);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2f4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
  padding: 3rem 1rem;
}

.hero-overlay {
  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 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="none"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  animation: fadeInUp 0.8s ease;
  max-width: 850px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-light);
  border: none;
  border-radius: 50px;
  padding: 14px 45px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background-color: #0a7ac2;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(27, 156, 252, 0.4);
  color: var(--white);
}

.btn-outline-primary {
  color: var(--primary-light);
  border-color: var(--primary-light);
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-3px);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2f4a 100%);
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
  margin-top: 70px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Intro Section */
.intro-section {
  background-color: var(--light-gray);
  padding: 3rem 1rem;
}

.intro-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.intro-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.intro-section img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
  background-color: var(--white);
  padding: 80px 1rem;
}

.features-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--light-gray);
  padding: 30px 25px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(27, 156, 252, 0.15);
  border-color: var(--primary-light);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Services Section */
.services-section {
  background-color: var(--light-gray);
  padding: 4rem 1rem;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-light);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(27, 156, 252, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1rem;
}

.service-link {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 0.5rem;
}

/* About Section */
.about-section {
  background-color: var(--white);
  padding: 3rem 1rem;
}

.about-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.about-section img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-list {
  list-style: none;
}

.about-list li {
  color: #555;
  margin-bottom: 1rem;
  padding-left: 30px;
  position: relative;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Team Section */
.team-section {
  background-color: var(--light-gray);
  padding: 3rem 1rem;
}

.team-section h2 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 2rem;
}

.team-member {
  text-align: center;
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 1rem;
}

.team-member p {
  color: var(--primary-light);
  font-weight: 600;
  margin: 0.5rem 0;
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--white);
}

.portfolio-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 27, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 20px;
}

.portfolio-info h4 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}










/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
}

.contact-info h3,
.contact-form-wrapper h3 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-top: 0.5rem;
}

.contact-item h5 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-light);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  padding: 12px 15px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(27, 156, 252, 0.25);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2f4a 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 1rem;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #cccccc;
  padding: 50px 1rem 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-contact {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.footer-link {
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer p {
  color: #cccccc;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-social {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background-color: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* WhatsApp Button */
/* Ensure WhatsApp button always visible with highest z-index */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 9999;
  visibility: visible !important;
  opacity: 1 !important;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}


/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  background-color: #0a7ac2;
  transform: translateY(-5px);
}

/* Messages */
.messages-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
}

.alert {
  border-radius: var(--border-radius);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsiveness improvements */
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 1.5rem;
    margin-top: 60px;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .intro-section {
    padding: 3rem 1.5rem;
  }

  .intro-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .intro-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .features-section {
    padding: 4rem 1.5rem;
  }

  .features-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }

  .feature-card {
    padding: 25px 20px;
    margin-bottom: 2rem;
  }

  .feature-card i {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }

  .feature-card h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 1rem 2.5rem;
    margin-top: 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    letter-spacing: -0.3px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 0.95rem;
    width: auto;
    margin-bottom: 1rem;
  }

  .intro-section {
    padding: 2.5rem 1rem;
    background-color: var(--light-gray);
  }

  .intro-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .intro-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
  }

  .intro-section .row {
    flex-direction: column;
  }

  .intro-section .col-lg-6 {
    margin-bottom: 2rem !important;
  }

  .intro-section img {
    margin-bottom: 1rem;
  }

  .btn-outline-primary {
    padding: 10px 25px;
    font-size: 0.9rem;
    margin-top: 1rem;
  }

  .features-section {
    padding: 3rem 1rem;
    background-color: var(--white);
  }

  .features-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .feature-card {
    padding: 20px 18px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
  }

  .feature-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .feature-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
  }

  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2.5rem 1rem 2rem;
    margin-top: 50px;
  }

  .hero-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.35;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
    padding: 0;
  }

  .btn-primary {
    padding: 10px 25px;
    font-size: 0.85rem;
  }

  .intro-section {
    padding: 2rem 1rem;
  }

  .intro-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .intro-section p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }

  .btn-outline-primary {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-top: 0.8rem;
  }

  .features-section {
    padding: 2.5rem 1rem;
  }

  .features-section h2 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .feature-card {
    padding: 18px 15px;
    margin-bottom: 1.2rem;
  }

  .feature-card i {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .feature-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .feature-card p {
    font-size: 0.8rem;
    line-height: 1.45;
  }
}
