@import url("animations.css");

/* CSS Variables for Brand Colors */
:root {
  --primary-green: rgb(37, 132, 66);
  --primary-red: rgb(190, 19, 19);
  --light-green: rgba(37, 132, 66, 0.1);
  --light-red: rgba(190, 19, 19, 0.1);
  --dark-green: rgb(25, 89, 44);
  --dark-red: rgb(150, 15, 15);
  --text-dark: #333;
  --text-light: #666;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --calculator-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Top Header Styles */
.top-header {
  background: var(--primary-green);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 30px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: white;
  text-decoration: none;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Main Header Styles */
.main-header {
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-green);
  gap: 15px;
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.company-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-green);
}

.company-tagline {
  font-size: 12px;
  color: var(--primary-red);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Navigation Styles */
.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.3s ease;
}

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

/* Login Button */
/* Login Dropdown Styles */
.login-dropdown {
  position: relative;
  display: inline-block;
}

.login-btn {
  padding: 8px 16px;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: transparent;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-btn:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 132, 66, 0.3);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.login-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.login-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--light-green);
  color: var(--primary-green);
  transform: translateX(5px);
}

.dropdown-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-green);
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(37, 132, 66, 0.7), rgba(190, 19, 19, 0.7)),
              url("../images/banner.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  z-index: 1;
}

/* .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(37, 132, 66, 0.7), rgba(190, 19, 19, 0.7)),
    url("../images/banner.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  filter: blur(8px);
   z-index: 1;
  transition: opacity 1s ease-in-out;
} */

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
   z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #ffd700;
  font-weight: 600;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 400;
}

.cta-button {
  background: var(--primary-red);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: var(--dark-red);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: var(--primary-red);
}

/* Section Styles */
.section-subtitle {
  color: var(--text-light);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 500;
}

.section-title {
  font-size: 42px;
  color: var(--primary-green);
  margin-bottom: 40px;
  font-weight: 600;
  text-align: center;
}

/* Company Profile Section */
.company-profile {
  padding: 80px 0;
  background: var(--background-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 512px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
  padding: 20px 0;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-icon {
  width: 25px;
  height: 25px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.feature-item span:last-child {
  color: var(--text-dark);
  font-weight: 500;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--white);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 132, 66, 0.2);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-green);
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
}

/* Education Section */
.education-section {
  padding: 80px 0;
  background: var(--light-green);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.education-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.education-card:hover {
  transform: translateY(-3px);
}

.education-card h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

/* SIP Calculator Section */
.calculator-section {
  padding: 80px 0;
  background: var(--calculator-bg);
  color: white;
  position: relative;
}

.calculator-header {
  text-align: center;
  margin-bottom: 60px;
}

.calculator-header .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 3px;
}

.calculator-title {
  font-size: 48px;
  font-weight: 700;
  color: #4caf50;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.calculator-description {
  font-size: 18px;
  color: white;
  font-weight: 400;
  opacity: 0.9;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group label {
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slider-container {
  position: relative;
}

.slider-container input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffd700;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-container input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffd700;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
  color: white;
  font-weight: 500;
}

.input-group input[type="number"] {
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(10px);
}

.input-group input[type="number"]:focus {
  outline: none;
  border-color: #ffd700;
}

.input-group input[type="number"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.calculator-result {
  display: flex;
  justify-content: center;
  align-items: center;
}

.piggy-bank {
  position: relative;
  width: 300px;
  height: 300px;
  background: linear-gradient(145deg, #ff9a9e, #fecfef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

.piggy-bank::before {
  content: "🐷";
  font-size: 120px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

.maturity-amount {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

.maturity-amount span {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.maturity-amount .amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

.result-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  gap: 30px;
  align-items: center;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-icon {
  font-size: 40px;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-amount {
  font-size: 24px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 5px;
}

.summary-label {
  color: white;
  font-weight: 500;
}

.apply-btn {
  background: var(--primary-red);
  color: white;
  padding: 20px 30px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  height: fit-content;
}

.apply-btn:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(190, 19, 19, 0.3);
}

/* Text reveal animation - Fixed spacing */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: textReveal 0.8s ease forwards;
  margin-right: 0; /* Remove any margin that might interfere */
}

@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonials Section - Fixed for proper visibility */
.testimonials-section {
  padding: 80px 0;
  background: var(--background-light);
  overflow: hidden;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.testimonials-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.testimonials-wrapper {
  overflow: hidden;
  border-radius: 15px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
}

.testimonials-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  width: fit-content;
  padding-left: 15px;
  padding-right: 400px; /* Extra padding to prevent last card cutting */
}

.testimonial-card {
  width: 350px;
  min-width: 350px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--primary-green);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 10px 0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 25px;
}

.stars {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffd700;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  font-style: italic;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.author-info h4 {
  color: var(--primary-green);
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
}

.author-info span {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 400;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  padding: 20px 0;
  width: 100%;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: var(--primary-green);
  transform: scale(1.2);
  border-color: var(--primary-green);
}

.dot.active {
  background: var(--primary-green);
  transform: scale(1.3);
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(37, 132, 66, 0.3);
}

/* Mobile Responsive Styles for Testimonials */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-section .container {
    padding: 0 20px;
  }

  .testimonials-wrapper {
    padding: 15px 0;
    margin: 0;
  }

  .testimonials-container {
    gap: 20px;
    padding-left: 10px;
    padding-right: 100px; /* Reduced padding for mobile */
  }

  .testimonial-card {
    width: calc(100vw - 80px);
    min-width: calc(100vw - 80px);
    max-width: 400px;
    margin: 10px auto;
    padding: 25px;
  }

  .slider-dots {
    margin-top: 30px;
    padding: 15px 0;
    gap: 12px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .testimonials-section .container {
    padding: 0 15px;
  }

  .testimonials-wrapper {
    padding: 10px 0;
  }

  .testimonials-container {
    gap: 15px;
    padding-left: 5px;
    padding-right: 80px; /* Further reduced for small mobile */
  }

  .testimonial-card {
    width: calc(100vw - 60px);
    min-width: calc(100vw - 60px);
    max-width: 350px;
    margin: 5px auto;
    padding: 20px;
  }

  .testimonial-content p {
    font-size: 15px;
  }

  .author-info h4 {
    font-size: 16px;
  }

  .author-avatar {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .slider-dots {
    margin-top: 25px;
    padding: 10px 0;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    transform: scale(1.2);
  }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonial-card {
    width: 320px;
    min-width: 320px;
  }

  .testimonials-container {
    gap: 25px;
    padding-right: 350px; /* Adjusted for tablet */
  }
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--primary-red);
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.8;
  font-weight: 400;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-weight: 400;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .top-header .container {
    flex-direction: column;
    gap: 10px;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .main-nav {
    gap: 15px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 0;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .nav-link {
    padding: 15px;
    display: block;
  }

  .login-btn {
    padding: 6px 12px;
    font-size: 12px;
    margin-left: 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .section-title {
    font-size: 32px;
  }

  .calculator-title {
    font-size: 36px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 300px;
  }

  .services-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Mobile Responsive for Calculator and Testimonials */
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .piggy-bank {
    width: 250px;
    height: 250px;
  }

  .piggy-bank::before {
    font-size: 80px;
  }

  .result-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .summary-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .logo {
    gap: 10px;
  }

  .logo-image {
    width: 40px;
    height: 40px;
  }

  .company-name {
    font-size: 18px;
  }

  .company-tagline {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .calculator-title {
    font-size: 28px;
  }

  .service-card,
  .education-card {
    padding: 20px;
  }

  .calculator-section {
    padding: 60px 0;
  }

  .calculator-inputs {
    gap: 30px;
  }

  .piggy-bank {
    width: 200px;
    height: 200px;
  }

  .maturity-amount {
    padding: 15px;
  }

  .maturity-amount .amount {
    font-size: 20px;
  }

  .summary-amount {
    font-size: 20px;
  }
}
