:root {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --text-dark: #222e40;
  --text-light: #64748b;
  --background: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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


 html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
} 

body {
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* Shared Navbar is styled via css/navbar.css */

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 120px 0 60px;
    background: url(../images/about_comany.webp)no-repeat center center/cover;
    min-height: 100vh;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.6); */
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button {
  display: inline-block;
  background-color: #222e40;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
    /* border: 2px solid white; */
    gap: 30px;
}

.cta-button:hover {
    background-color: #162444;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: white;
    color: #1d2c4d;
    /* margin-left: 15px; */
    border-radius: 30px;
}

.cta-button.secondary:hover {
    background-color: #1d2c4d;
    color:white;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.2rem;
    color: #222e40;
}

.section-title:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    /* background: linear-gradient(90deg, #3498db, #2ecc71); */
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: white;
}

/* Card Styles */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.card-icon {
    font-size: 2.8rem;
    color: #3498db;
    margin-bottom: 20px;
    text-align: center;
}

.card-title {
    margin-top: 0;
    color: #2c3e50;
    text-align: center;
    font-size: 1.4rem;
}

/* Process Timeline */

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
}

.process-step {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 70px;
}

.process-step:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 70px;
}

.process-step:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    top: 30px;
}

.process-step:nth-child(odd):before {
    right: -10px;
}

.process-step:nth-child(even):before {
    left: -10px;
}

.process-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    word-wrap: break-word;
}

/* Accordion for Terms */
.accordion {
    margin: 50px 0;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: #222e40;
}

.accordion-item.is-open {
    border-color: #222e40;
    box-shadow: 0 4px 15px rgba(34, 46, 64, 0.12);
}

.accordion-header {
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.3s;
    color: #222e40;
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-content {
    padding: 25px;
    background-color: white;
    border-top: 1px solid #eee;
    display: none;
    color: #222e40;
}

.accordion-content p,
.accordion-content li,
.accordion-content strong {
    color: #222e40;
}

/* Pricing Box */
.pricing-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-box h3 {
    color: #222e40;
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: clamp(2.4rem, 5.5vw, 3.4rem);
    color: #222e40;
    font-weight: 800;
    margin: 20px 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    transition: transform 0.3s ease;
}

.pricing-amount .commission-dyn-block {
    display: inline-flex;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
}

.pricing-amount .commission-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    text-align: right;
    letter-spacing: -0.02em;
    color: #222e40;
}

.pricing-amount .commission-unit {
    font-size: 0.72em;
    font-weight: 700;
    margin-left: 2px;
    color: #222e40;
}

.pricing-amount .commission-operator {
    display: inline-block;
    margin: 0 4px;
    font-size: 0.85em;
    font-weight: 600;
    color: #222e40;
}

/* Subtle celebration pop when numbers finish increasing */
.pricing-amount.is-counted {
    animation: commPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes commPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.035); }
    100% { transform: scale(1); }
}

.pricing-features .commission-counter {
    font-variant-numeric: tabular-nums;
    display: inline-block;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.pricing-features li:before {
    content: '✓';
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Testimonial Section */
.testimonial-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: clamp(64px, 7.5vh, 90px) 0;
}

.testimonial-section .section-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(2rem, 3.1vw, 2.65rem) !important;
    font-weight: 800 !important;
    color: #222e40 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
    text-align: center !important;
    margin: 0 auto clamp(30px, 4vw, 44px) auto !important;
    display: block !important;
}

.testimonial-section .section-title:after,
.testimonial-section .section-title::after {
    display: none !important;
}

.testimonial {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial:before {
    content: '"';
    font-size: 100px;
    color: #e9ecef;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.testimonial-author {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    margin-top: 20px;
    text-align: right;
    color: #222e40 !important;
    font-size: 1.05rem;
}

/* Contact Section */
.contact-section {
    background: #39465f;
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title:after {
    background: white;
}

.contact-box {
    background: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0;
}

.contact-item {
    text-align: center;
    margin: 15px;
}

.contact-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 400px;
    }

    .process-timeline:before {
        left: 20px;
    }

    .process-step {
        padding-left: 50px;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding-left: 50px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .pricing-box {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .pricing-amount {
        font-size: clamp(2rem, 7.5vw, 2.6rem);
        gap: 6px;
        margin: 16px 0;
    }

    .pricing-amount .commission-operator {
        margin: 0 2px;
    }

    .process-timeline:before {
        display: none;
    }

    .process-step {
        padding-left: 0;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding-left: 0;
    }

    .accordion-header {
        padding: 15px;
    }
}

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

    .hero-content p {
        font-size: 0.95rem;
    }

    .cta-button {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pricing-box {
        padding: 24px 16px;
        margin: 0 5px;
    }

    .pricing-amount {
        font-size: clamp(1.65rem, 7.2vw, 2.15rem);
        gap: 4px;
        margin: 14px 0;
    }

    .pricing-features li {
        padding-left: 26px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .pricing-amount {
        font-size: 1.5rem;
        gap: 2px;
    }

    .pricing-amount .commission-unit {
        font-size: 0.68em;
    }
}

.footer {
  background: #222e40;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 0 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 280px;
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color:orangered;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}

.footer-col:first-child {
  padding-right: 30px;
}

.footer-col p {
  word-wrap: break-word;
  line-height: 1.6;
  font-size: 14px;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  
  padding: 8px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* Newsletter */
.newsletter-col {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  background: #222e40;
  color: white;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
@media screen and (max-width: 1165px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/*contact us button footer*/
.btn {
  padding: 12px 26px;
  background-color: #222e40;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(34, 46, 64, 0.22);
}
.btn:hover {
  background-color: #18212e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 46, 64, 0.3);
}
/* End of Government Project Section Styles */
@media (min-width: 2560) {
  .hero{
    height:60vh;
  }

}


/* Tablet View (768px and up) */
@media (min-width: 768px) {
    .process-timeline:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .process-step {
        width: 50%;
        padding: 20px 40px;
    }
    
    .process-step:nth-child(odd) {
        left: 0;
        text-align: right;
        padding-right: 70px;
        padding-left: 0;
    }
    
    .process-step:nth-child(even) {
        left: 50%;
        text-align: left;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .process-step:nth-child(odd):before {
        right: -10px;
        left: auto;
    }
    
    .process-step:nth-child(even):before {
        left: -10px;
    }
}


/* Switch to vertical stack below 768px */
@media (max-width: 768px) {
  .process-timeline:before {
    left: 20px; /* Move line to the left */
    transform: none;
  }
  
  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 20px 0 20px 50px;
    margin-bottom: 20px;
  }
  
  .process-step:before,
  .process-step:nth-child(odd):before,
  .process-step:nth-child(even):before {
    left: 8px;
    right: auto;
    top: 25px;
  }
  
  .process-step:nth-child(odd) {
    padding-right: 0;
  }
  
  .process-step:nth-child(even) {
    padding-left: 50px;
  }
}

/* Further optimize for very small screens */
@media (max-width: 480px) {
  .process-timeline {
    padding: 30px 15px;
  }
  
  .process-step {
    padding-left: 40px;
  }
  
  .process-step:before {
    width: 16px;
    height: 16px;
    left: 4px;
  }
  
  .process-content {
    padding: 15px;
  }
}

.videos {
  padding: 40px 20px;
  text-align: center;
}

.video-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.video-item {
  flex: 0 0 auto;
  width: 30%;
  /* responsive width */
  min-width: 250px;
  /* minimum size so video visible */
  height: auto;
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  /* maintain video ratio */
  border-radius: 8px;
}

/* Hide scrollbar */
.video-slider::-webkit-scrollbar {
  display: none;
}

/* ✅ Media Queries for smaller screens */
@media (max-width: 1024px) {
  .video-item {
    width: 45%;
    /* 2 videos per row on tablets */
  }
}

@media (max-width: 768px) {
  .video-item {
    width: 100%;
    /* 1 video per row on mobile */
  }
}

.video-carousel {
  padding: 20px;
  text-align: center;
}
.video-carousel h2 {
  margin-bottom: 15px;
  font-size: 24px;
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.video-item {
  min-width: 300px;
  margin: 0 10px;
}
.video-item video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.video-carousel h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #004aad; /* deep blue for finance theme */
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* Decorative underline effect */
.video-carousel h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #000000, #00c6ff);
  margin: 8px auto 0;
  border-radius: 2px;
}
.video-item video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  background-color: #000; /* force black background */
}
.video-item {
  min-width: 400px;   /* increase width of each video block */
  margin: 0 15px;     /* more balanced spacing between videos */
}

.video-item video {
  width: 100%;
  max-width: 400px;   /* limit max width */
  height: 220px;      /* fixed height for uniform look */
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  background-color: #000; /* force black background */
  object-fit: cover;  /* crop/fit video nicely */
}


