/* ===================================================================================
   GLOBAL STYLES
   =================================================================================== */
:root {
  --primary-color: #032d4c;
  --secondary-color: #1E90FF;
  --accent-color: #E3F7FF;
  --text-color: #4A4A4A;
  --white: #FFFFFF;
  --border-color: #E0E0E0;
  --shadow-light: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-medium: 0 8px 24px rgba(30, 144, 255, 0.1);
  --shadow-heavy: 0 20px 40px rgba(13, 59, 102, 0.15);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  font-family: 'Open Sans', sans-serif;
  color: #4A4A4A;
  background-color: #FFFFFF;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Add scroll reveal animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================================================================
   NAVBAR
   =================================================================================== */
.navbar {
  background-color: #0D3B66;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(13, 59, 102, 0.95);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #0D3B66;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
}

.logo-img {
  height: 40px;
  width: auto;
  transition: all var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(30, 144, 255, 0.1));
  animation: logoFadeIn 0.8s ease-out;
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(30, 144, 255, 0.2));
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links li a:hover {
  color: #1E90FF;
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #FFFFFF;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background-color: #0D3B66;
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: #1E90FF;
}
.btn-secondary {
  background-color: #1E90FF;
  color: #FFFFFF;
}
.btn-secondary:hover {
  background-color: #0D3B66;
}

.btn-outline-nav {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  transition: all var(--transition-smooth);
}

.btn-outline-nav:hover {
  background: #FFFFFF;
  color: #0D3B66;
}

/* ===================================================================================
   HERO SECTION
   =================================================================================== */
.hero {
  background: linear-gradient(135deg, #E3F7FF 0%, #F0FBFF 50%, #E3F7FF 100%);
  padding-top: 100px; /* account for fixed navbar */
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(13, 59, 102, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(30, 144, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-text {
  flex: 1 1 500px;
  max-width: 600px;
}
.hero-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #0D3B66;
  margin-bottom: 15px;
}
.hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 48px;
  color: #0D3B66;
  margin-bottom: 20px;
}
.hero-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #1E90FF;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
}
.link-underline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1E90FF;
  text-decoration: underline;
  cursor: pointer;
}
/* --- Mobile Responsive Fixes --- */

/* Hide toggle button on desktop */
.mobile-nav-toggle {
  display: none;
}

    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 1s ease-out forwards;
      animation-delay: 0.5s;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 999;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.75);
      /* reduced blur opacity */
    }


    .modal-content {
      margin: auto;
      display: block;
      width: auto;
      height: auto;
      max-width: 800px;
      max-height: 80vh;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(204, 199, 199, 0.986);
    }

    .modal-close {
      position: absolute;
      top: 15px;
      right: 35px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
    }

    .project-screenshot {
      cursor: pointer;
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      transition: transform 0.3s ease;
    }

    .project-screenshot:hover {
      transform: scale(1.02);
    }
.hero-image {
  flex: 1 1 400px;
  text-align: center;
  position: relative;
  padding: 20px;
}

@media (min-width: 1025px) {
  .hero-image {
    margin-left: 120px;
  }
}

.hero-image dotlottie-player {
  width: 100%;
  height: 100%;
}

@media (min-width: 1025px) {
  .hero-image dotlottie-player {
    transform: translateX(20px) !important;
}

.lottie-wrapper {
    transform: translateX(20px);
  }
}

.lottie-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.white-text {
  color: white;
}

.blue-text {
  color: #7be63e; /* Dark blue */
}

.logo-subtext {
  font-size: 0.85rem;
  font-weight: 400;
  color: white;
  margin-top: 2px;
}


@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.4;
    transform: scale(0.98);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

/* ===================================================================================
   FEATURES SECTION
   =================================================================================== */
.features {
  background-color: #FFFFFF;
  padding: 80px 0;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #0D3B66;
  text-align: center;
  margin-bottom: 50px;
}
.feature-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
  background-color: #FFFFFF;
  width: 350px;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 144, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.card:hover {
  background-color: #FFFFFF;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(13, 59, 102, 0.1),
    0 8px 24px rgba(30, 144, 255, 0.08);
  border-color: rgba(30, 144, 255, 0.3);
}

.card:hover::before {
  left: 100%;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(30, 144, 255, 0.1));
}
.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #0D3B66;
  margin-bottom: 15px;
}
.card p {
  font-size: 16px;
  line-height: 1.5;
}

/* ===================================================================================
   TESTIMONIALS SECTION
   =================================================================================== */
.testimonials {
  background-color: #E3F7FF;
  padding: 80px 0;
}
.testimonial-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.testimonial-card {
  background-color: #FFFFFF;
  width: 320px;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(30, 144, 255, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(13, 59, 102, 0.15),
    0 8px 24px rgba(30, 144, 255, 0.1);
  border-color: rgba(30, 144, 255, 0.2);
}
.quote-icon {
  width: 30px;
  position: absolute;
  top: 20px;
  left: 20px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.5;
  font-style: italic;
  color: #4A4A4A;
  margin-top: 40px;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info .author-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0D3B66;
}
.author-info .author-role {
  font-size: 14px;
  color: #4A4A4A;
}

/* ===================================================================================
   PRICING SECTION
   =================================================================================== */
.pricing {
  background-color: #FFFFFF;
  padding: 80px 0;
}
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #4A4A4A;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E0E0E0;
  border-radius: 30px;
  transition: background-color 0.2s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  border: 1px solid #C0C0C0;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
input:checked + .slider {
  background-color: #1E90FF;
}
input:checked + .slider:before {
  transform: translateX(30px);
}
.pricing-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-card {
  background-color: #F9F9F9;
  width: 300px;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.pricing-card.popular {
  border: 2px solid #1E90FF;
}
.ribbon {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #1E90FF;
  color: #FFFFFF;
  padding: 5px 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.plan-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #0D3B66;
  margin-bottom: 20px;
}
.plan-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 48px;
  color: #1E90FF;
  margin-bottom: 20px;
}
.plan-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}
.plan-features li {
  font-size: 16px;
  margin-bottom: 10px;
}
.pricing-note {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  color: #4A4A4A;
  margin-top: 20px;
}

/* ===================================================================================
   CTA SECTION
   =================================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 42px;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  transition: all var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn-light-blue {
  background: rgba(30, 144, 255, 0.2);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.btn-light-blue:hover {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
  transform: translateY(-2px);
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* ===================================================================================
   CONTACT SECTION
   =================================================================================== */
   
.contact-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.contact-section .section-title {
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 36px;
}

.contact-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
    align-items: center;
}

/* Contact Information */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  font-size: 20px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-details h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.4;
}

.contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-details a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  height: fit-content;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
}

/* Contact Section Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-form-container {
    padding: 25px;
  }
  
  .contact-item {
    padding: 15px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .contact-details h3 {
    font-size: 15px;
  }
  
  .contact-details p {
    font-size: 13px;
  }
}

/* ===================================================================================
   FOOTER
   =================================================================================== */
.footer {
  background-color: #0D3B66;
  color: #FFFFFF;
  padding: 35px 0 12px;
  margin: 0;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 35px;
  width: auto;
  transition: all var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out 0.3s both;
  filter: drop-shadow(0 2px 4px rgba(30, 144, 255, 0.1));
}
.footer-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(30, 144, 255, 0.2));
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px;
  align-items: start;
  margin: 0;
  padding: 0;
}

/* Laptop view (1025px and above) */
@media (min-width: 1025px) {
  .footer-top {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr 0.9fr !important;
    gap: 45px !important;
  }
  
  .footer-links-row {
    gap: 50px;
  }
}

/* Large desktop view */
@media (min-width: 1400px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 80px !important;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .footer-links-row {
    gap: 60px;
  }
}

.footer-col {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.footer-col:first-child {
  max-width: 100%;
}

.footer-col:last-child {
  align-items: flex-start;
}

.footer-col .logo-text-group {
  margin-bottom: 0;
}

.footer-col .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-col .logo-subtext {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  line-height: 1.4;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
  margin-top: 0;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}
.footer-col p,
.footer-col ul,
.footer-col form {
  font-size: 14px;
  line-height: 1.5;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover {
  color: #1E90FF;
}

/* Footer Links Row Layout */
.footer-links-row {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  align-items: flex-start;
}

.footer-links-left,
.footer-links-right {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}

.footer-links-left li,
.footer-links-right li {
  margin-bottom: 10px;
}

.footer-links-left li:last-child,
.footer-links-right li:last-child {
  margin-bottom: 0;
}

.footer-links-left li a,
.footer-links-right li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  display: inline-block;
}

.footer-links-left li a:hover,
.footer-links-right li a:hover {
  color: #1E90FF;
  transform: translateX(3px);
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
  margin-top: 5px;
  align-items: center;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-icons a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}
.social-icons a img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) invert(1); /* ensure white icons */
  transition: filter 0.2s ease;
}
.social-icons a:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(30, 144, 255, 0.5));
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}
.newsletter-form button {
  padding: 8px 16px;
  background-color: #1E90FF;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.newsletter-form button:hover {
  background-color: #0D3B66;
}
.footer-bottom {
  text-align: center;
  padding-top: 18px;
  padding-bottom: 0;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  opacity: 0.8;
}

.footer-bottom p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* ===================================================================================
   RESPONSIVE ADJUSTMENTS
   =================================================================================== */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Tablet Styles */
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-image {
    margin-left: 0 !important;
  }
  
  .hero-text h1 {
    font-size: 40px;
  }
  
  .hero-text h2 {
    font-size: 26px;
  }
  
  .hero-text h3 {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .feature-cards,
  .testimonial-grid,
  .pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-items: center;
  }
  
  .card,
  .testimonial-card,
  .pricing-card {
    width: 100%;
    max-width: 100%;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }
  
  .footer-col:last-child {
    grid-column: 1 / -1;
    margin-top: 10px;
  }
  
  .footer-links-row {
    gap: 35px;
  }
  
  .hero-image dotlottie-player {
    width: 280px !important;
    height: 280px !important;
    transform: translateX(0) !important;
  }
  
  .lottie-wrapper {
    transform: translateX(0);
  }
}

/* Laptop/Desktop Optimizations - These are now handled in the main footer-top rule above */

@media (max-width: 768px) {
  /* Navbar Mobile Fixes */
  .navbar {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .navbar .container {
    padding: 10px 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  
  .logo {
    flex: 1;
    min-width: 0;
    text-decoration: none;
  }
  
  .logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  
  .logo-text {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .logo-subtext {
    font-size: 0.6rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
  }
  
  @media (max-width: 360px) {
    .logo-text {
      font-size: 0.85rem;
    }
    
    .logo-subtext {
      font-size: 0.55rem;
    }
  }
  
  /* Hide Hire Me button on mobile */
  .nav-actions {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    z-index: 1001;
    position: relative;
    margin-left: 10px;
    padding: 8px 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
  }
  
  .mobile-menu-toggle:active {
    opacity: 0.7;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background-color: #0D3B66;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    padding: 70px 0 20px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Backdrop overlay when menu is open */
  .nav-links::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: -1;
    transition: background-color 0.3s ease;
    pointer-events: none;
  }
  
  .nav-links.active::after {
    background-color: rgba(0, 0, 0, 0.6);
    pointer-events: all;
  }
  
  .nav-links li {
    width: 100%;
    margin: 0;
    list-style: none;
  }
  
  .nav-links li a {
    display: block;
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: rgba(30, 144, 255, 0.3);
  }
  
  .nav-links li a:hover,
  .nav-links li a:active {
    background-color: rgba(30, 144, 255, 0.2);
    color: #1E90FF;
    padding-left: 30px;
  }
  
  .nav-links li:first-child a {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
    background-color: #FFFFFF;
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
    background-color: #FFFFFF;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  /* Logo Mobile Fixes */
  .logo-text {
    font-size: 1.1rem;
  }
  
  .logo-subtext {
    font-size: 0.7rem;
  }
  
  /* Hero Section Mobile Fixes */
  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .hero-text {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0 10px;
  }
  
  .hero-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .hero-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .hero-text h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .hero-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
  
  .hero-image {
    flex: 1 1 100%;
    margin-left: 0 !important;
    padding: 10px;
  }
  
  .hero-image dotlottie-player {
    width: 250px !important;
    height: 250px !important;
    transform: translateX(0) !important;
    margin: 0 auto;
  }
  
  .lottie-wrapper {
    transform: translateX(0);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Section Titles Mobile */
  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  /* Feature Cards Mobile */
  .feature-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
  }
  
  .card {
    width: 100%;
    max-width: 100%;
    padding: 25px 20px;
  }
  
  .card h3 {
    font-size: 20px;
  }
  
  .card p {
    font-size: 15px;
  }
  
  /* Testimonials Mobile */
  .testimonials {
    padding: 50px 0;
  }
  
  .testimonial-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
  }
  
  .testimonial-card {
    width: 100%;
    max-width: 100%;
    padding: 25px 20px;
  }
  
  .testimonial-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .testimonial-card p {
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .testimonial-card ul {
    padding-left: 20px;
  }
  
  .testimonial-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
  }
  
  /* Pricing Cards Mobile */
  .pricing {
    padding: 50px 0;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    padding: 25px 20px;
  }
  
  .plan-name {
    font-size: 20px;
  }
  
  .pricing-card p {
    font-size: 15px;
    line-height: 1.6;
  }
  
  /* Contact Section Mobile */
  .contact-section {
    padding: 50px 0;
  }
  
  .contact-section .section-title {
    font-size: 26px;
    margin-bottom: 12px;
  }
  
  .contact-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
  }
  
  .contact-info {
    gap: 15px;
  }
  
  .contact-item {
    padding: 18px;
    flex-direction: row;
    align-items: center;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    flex-shrink: 0;
  }
  
  .contact-details h3 {
    font-size: 15px;
  }
  
  .contact-details p {
    font-size: 13px;
  }
  
  .contact-form-container {
    padding: 25px 20px;
  }
  
  .form-group label {
    font-size: 12px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 14px;
    font-size: 15px;
  }
  
  .btn-large {
    padding: 14px 20px;
    font-size: 15px;
    width: 100%;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 25px 0 8px;
    margin-top: 0;
  }
  
  .footer .container {
    padding: 0 15px;
  }
  
  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
  }
  
  .footer-col {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-col:first-child {
    margin-bottom: 0;
  }
  
  .footer-col .logo-text-group {
    margin-bottom: 0;
    text-align: center;
  }
  
  .footer-col .logo-text {
    font-size: 0.95rem;
    line-height: 1.2;
  }
  
  .footer-col .logo-subtext {
    font-size: 0.65rem;
    margin-top: 2px;
    line-height: 1.3;
  }
  
  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 0;
    font-weight: 600;
  }
  
  .footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .footer-col ul li {
    margin-bottom: 0;
  }
  
  .footer-col ul li a {
    font-size: 13px;
    padding: 3px 0;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer-col ul li a:hover {
    color: #1E90FF;
  }
  
  .social-icons {
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
    margin-top: 0;
  }
  
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-icons a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
  }
  
  .footer-bottom {
    padding-top: 12px;
    padding-bottom: 8px;
    font-size: 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom p {
    margin: 0;
    padding: 0;
    line-height: 1.4;
  }
  
  /* Container Mobile */
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  /* Better touch targets for mobile */
  .btn,
  .nav-links li a,
  .contact-item,
  .card {
    -webkit-tap-highlight-color: rgba(30, 144, 255, 0.2);
  }
  
  /* Prevent text selection on buttons during tap */
  .btn {
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Smooth scrolling for mobile */
  html {
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  /* Extra Small Mobile Devices */
  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero-text h2 {
    font-size: 20px;
  }
  
  .hero-text h3 {
    font-size: 16px;
  }
  
  .hero-text p {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .hero-image dotlottie-player {
    width: 200px !important;
    height: 200px !important;
  }
  
  .logo-text {
    font-size: 0.95rem;
  }
  
  .logo-subtext {
    font-size: 0.65rem;
  }
  
  .card,
  .testimonial-card,
  .pricing-card {
    padding: 20px 15px;
  }
  
  .contact-form-container {
    padding: 20px 15px;
  }
  
  .contact-item {
    padding: 15px;
  }
  
  .btn {
    padding: 12px 18px;
    font-size: 13px;
  }
  
  /* Footer Extra Small */
  .footer {
    padding: 25px 0 8px;
  }
  
  .footer-top {
    gap: 18px;
  }
  
  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .footer-links-row {
    gap: 12px;
  }
  
  .footer-col ul li,
  .footer-links-left li,
  .footer-links-right li {
    margin-bottom: 5px;
  }
  
  .footer-col ul li a,
  .footer-links-left li a,
  .footer-links-right li a {
    font-size: 12px;
  }
  
  .footer-col .logo-text {
    font-size: 0.9rem;
  }
  
  .footer-col .logo-subtext {
    font-size: 0.65rem;
  }
  
  .social-icons {
    gap: 15px;
    margin-bottom: 8px;
  }
  
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-icons a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
  }
  
  .footer-bottom {
    padding-top: 12px;
    padding-bottom: 8px;
    font-size: 10px;
    margin-top: 8px;
  }
}
