@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary-color: #1e90ff;
  --secondary-color: #fff;
  --font-main: 'Poppins', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}

.section {
    width: 100%;
    height: 100vh;
}

.section.hero-section {
    background-image: linear-gradient(to bottom, var(--primary-color), var(--secondary-color)); 
}
/* body {
    padding: 10px;
} */

.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    /* border-top-left-radius: 20px;
    border-top-right-radius: 20px; */
    background-color: var(--primary-color);
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    width: 110px;
    border-radius: 10px;
}
.logo h1 {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    margin: 0;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: white;
}

.btn {
    display: flex;
    gap: 15px;
}

.btn button {
    padding: 8px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sign-up {
    background: white;
    color: var(--primary-color);
}

.sign-up:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle - Hidden by default */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 95%;
        margin-left: 2.5%;
        background: var(--primary-color);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .header-container {
        padding: 12px 15px;
    }
}

.hero {
    width: 100%;
    height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.text {
    position: absolute;
    width: 650px;
    text-align: center;
}
.text .paragraph {
    width: 60%;
    margin: auto;
}
.text h1 {
    font-size: 40px;
    color: var(--secondary-color);
    font-weight: normal;
    margin-bottom: 30px;
}
.text h1 span {
    background: white;
    color: var(--primary-color);
    padding: 0 10px;
    border-radius: 20px;
}
.text p {
    color: var(--secondary-color);
    margin-bottom: 30px;
}
.text button {
    outline: none;
    border: 2px solid white;
    border-radius: 20px;
    padding: 5px 20px;
    background: transparent;
    color: white;
    cursor: pointer;
}
.text .download {
    color: var(--primary-color);
    background: white;
    margin-right: 10px;
}
.hero .outer-circle {
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background-image: radial-gradient(circle, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero .outer-circle .inner-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-image: radial-gradient(circle, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
}

/* About Us */
.section.feature-section, 
.section.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}
.section-header {
    padding: 5px 25px;
    border-radius: 20px; 
    width: fit-content;
    height: fit-content;
    background-image: radial-gradient(circle, #aed6fd, var(--secondary-color));
}
.section-header h2 {
    font-weight: 500;
    font-size: 18px;
    color: #5eafff;
    
}
.section .infor {
    font-size: 25px;
    margin: 10px 0;
}
.container {
    margin: auto;
    margin-top: 70px;
    width: 85%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.container.features {
    gap: 10px;
    width: 90%;
}
.left-section h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 40px;
}
.left-section h3 span {
    background: var(--primary-color);
    padding: 1px 5px;
    border-radius: 5px;
    color: var(--secondary-color);
}
.left-section p {
    font-size: 14px;
    color: gray;
}
.left-section button {
    padding: 10px 35px;
    outline: none;
    border: none;
    border-radius: 20px;
    background: radial-gradient(circle, var(--primary-color), #8ec6ff);
    margin-top: 20px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in;
}
.left-section button:hover {
    box-shadow: none;
    background: radial-gradient(circle, #8ec6ff, var(--primary-color));

}
.right-section {
    border: 1px solid #ebebeb;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);

}
.right-section img {
    width: 100%;
}
.right-section.feature {
    margin-top: -100px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px; 
}
.right-section.feature > div {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
}
.right-section.feature > div h4 {
    color: rgb(40, 40, 40);
    width: 100%;
    font-size: 20px;
    color: var(--primary-color);
}
.right-section.feature > div p {
    font-size: 14px;
    color: gray;
    margin-top: 10px;
}
.col-span-1 {
    grid-column: span 1;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-4 {
    grid-column: span 4;
}
.icons {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    /* border-bottom: 1px solid rgb(224, 224, 224); */
    gap: 10px;
}
.icons .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: green;
    width: 45px;
    height: 40px;
    border-radius: 50%;
    background: rgb(197, 255, 197);
}

/* Pricing Section  */
.pricing-cards {
    margin-top: 30px;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; 
}
.pricing-cards > div {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(236, 236, 236);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;   
}
.pricing-cards > div img {
    width: 50px;
}
table {
    width: 100%;
    margin: 40px 0;
}
table tr th, 
table tr td {
    font-size: 13px;
    padding: 5px;
    text-align: left;
}
table tr td {
    font-size: 12px;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.pricing-cards button {
    padding: 5px 15px;
    outline: none;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
}
footer {
    background-image: linear-gradient(to bottom, #050b43, #121b6a );
    color: #fff;
    padding: 40px 20px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content > div {
    flex: 1 1 250px;
    margin-bottom: 30px;
}
.footer-logo img {
    width: 130px;
    border-radius: 10px;
}
.footer-logo h2 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.footer-logo p {
    font-size: 13px;
    line-height: 1.6;
    color: #ccc;
}
.footer-logo p span {
    color: green;
    font-size: 16px;
    margin-right: 5px;
}

.footer-links h3,
.footer-auth h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
}

.footer-links ul,
.footer-auth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-auth li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-auth a {
    text-decoration: none;
    color: #fff;
    font-weight: lighter;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-auth a:hover {
    color: #ccc;
}
.developed-by > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.smart-logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.smart-logo img {
    width: 40px;
    height: 40px;
}
.developed-by p {
    color: gray;
    font-size: 12px;
}
.developed-by a {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}
/* modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  overflow-y: hidden;
}
.modal h2 {
    font-weight: 500;
}
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 1rem;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  position: relative;
}
.modal-body {
    height: 400px;
    overflow-y: scroll;
} 

.close-btn {
  color: #888;
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}
.close-btn:hover {
  color: #000;
}


/* Features */
.container.features {
    margin-top: 170px;
} 
.left-section.featues .outer-box {
    width: 400px;
    display: flex;
    justify-content: center;
    background-image: radial-gradient(circle, var(--primary-color), var(--secondary-color));
    border-radius: 20px;


}
.left-section.featues .image {
    width: 300px;
    height: 300px;
    position: relative;
}
.left-section.featues .image img {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.testimonials-section {
    padding: 40px 20px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.testimonials-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #212529;
    position: relative;
    display: inline-block;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4a6bff;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 300;
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-track {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.testimonial-card {
    flex: 0 0 350px;
    padding: 30px;
    background: white;
    border: 1px solid rgb(236, 236, 236);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 5rem;
    color: rgba(74, 107, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 4 - 30px * 4));
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 15px;
  }
  
  .testimonials-title {
    font-size: 2rem;
  }
  
  .testimonial-card {
    flex: 0 0 280px;
    padding: 25px;
  }
  .text {
    position: absolute;
    width: 350px;
    text-align: center;
    }
    .text .paragraph {
        width: 100%;
    }
    .text h1 {
        font-size: 25px;
    }
    .hero .outer-circle {
        width: 350px;
        height: 350px;
    }
    .hero .outer-circle .inner-circle {
        width: 280px;
        height: 280px;
    }
    .container {
        margin-top: 20px;
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }
    .left-section.featues {
        display: none;
    }
    .section.feature-section {
        margin-top: 200px;
    }
    .right-section.feature {

        gap: 10px; 
    }
    .pricing-cards {
        width: 90%;
        grid-template-columns: repeat(1, 1fr); 
    }
    footer {
       margin-top: 1400px;
    }
    .section.about-section,
    .section.feature-section,
    .testimonials-section,
    .section.about-section {
        padding: 0 10px;
    }
    .modal-content {
        width: 90%;
    }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-280px * 4 - 30px * 4));
    }
  }
}