/* ========== Global Reset ========== */
* {
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    margin-left: 5px;
    margin-right: 5px;
}

body {
    padding-top: 0px;
}

.container {
    margin: 0 auto;
    padding: 0px 20px;
}

/* ========== Header ========== */
header {
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    margin-right: 30px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.btn-primary {
    background: #40c5ff;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: auto;
}

.close-btn,
.hamburger,
.nav-links .btn-primary {
    display: none;
}

.hamburger {
    font-size: 50px;
    cursor: pointer;
    user-select: none;
}

/* ========== Hero Section ========== */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px 0px 100px 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 700;
    color: #323232;
    width: 600px;
}

.hero-text p {
    margin-top: 10px;
    font-size: 18px;
    color: #555;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 80%;
    border-radius: 0px;
}

/* ========== Stats Section ========== */
.stats {
    padding: 0px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

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

.stat img {
    width: 150px;
    height: 150px;
}

.stat h2 {
    color: #332C5C;
}

.stat p {
    margin-bottom: 20px;
}

/* ========== CTA Banner ========== */
.cta-banner {
    background: url("images/Group\ 1261152819.png") no-repeat center center/cover,
        linear-gradient(135deg, #1ecbff, #00aaff);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1300px;
    padding: 60px 100px 150px 100px;
    color: #fff;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 250px;
}

.cta-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 16px;
    line-height: 1.6;
    width: 400px;
}

.cta-btn {
    flex-shrink: 0;
}

.cta-btn button {
    background: #fff;
    color: #00aaff;
    padding: 15px 50px 15px 50px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    font-size: 16px;
}

.cta-btn button:hover {
    transform: translateY(-3px);
}

/* ========== About Section ========== */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.about-image,
.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #4c4e64;
    max-width: 500px;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* ========== Features Section ========== */
.features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0px;
    padding: 0px 0px 0px 100px;
}

.features1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding: 0px 0px 0px 0px;
}

.features-text {
    flex: 1;
}

.features-text h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #000;
}

.features-text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features-text li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.features-text li img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.features-text li strong {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.features-text li p {
    color: #4c4e64;
    margin: 0;
    font-weight: 400;
    font-size: 16px;
}

.features-text span {
    color: #4c4e64;
    font-weight: 400;
}

.features-image img {
    max-width: 100%;
}

.features-text p {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    width: 450px;
}

.testimonial-slider {
    display: flex;
    justify-content: center;
    margin: 0px 0;
}

.testimonial-container {
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    align-items: center;
    gap: 40px;
}

.testimonial.active {
    display: flex;
}

.testimonial-image img {
    width: 100%;
    border-radius: 10px;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text p {
    font-size: 18px;
    color: #000;
    font-weight: 500;
    margin-bottom: 15px;
}

.testimonial-text h4 {
    font-size: 16px;
    font-weight: 600;
}

.testimonial-text span {
    color: #666;
    font-weight: 400;
}

/* Arrow Button */
.next-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #00aaff;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* ========== Contributors Section ========== */
.contributors {
    padding: 100px 40px;
    text-align: center;
}

.contributors h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

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

.contributor-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contributor-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.contributor-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: transform 0.3s ease;
    transform: translateY(0);
}

.contributor-info p {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icons a {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00aced;
}

/* ========== Footer ========== */
/* Footer */
footer {
  background-color: #1A1F36;
  color: #fff;
  margin-top: 80px;
}

/* Main Layout */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
}

/* Left Section */
.footer-left {
  flex: 1;
  min-width: 280px;
  margin-left: 100px;
}

.footer-left p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Right Section - Newsletter */
.footer-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;   
  align-items: flex-end;    
}

.footer-bottom .links {
    display: flex;
    gap: 100px;
}

.footer-bottom .links a {
  color: #fff;         
  text-decoration: none; 
  transition: color 0.3s;
}

.footer-bottom .links a:hover {
  color: #ffc247; 
}
.newsletter-box {
    background: #ffc247;
    padding: 20px;
    border-radius: 2px;
    color: #000;
    max-width: 450px;
    width: 100%;
    margin-right: 100px;
    height: 100%;
}

.newsletter-box h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-box p {
  font-size: 14px;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  margin: 0;
}

.newsletter-form button {
  background: #1a1f36; /* Dark button */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0;
}

.newsletter-form button:hover {
  background: #333;
}

/* Contact icons */
.contact-info {
    display: flex;
    align-items: flex-start;
    text-align: left;
    flex-direction: column; 
    gap: 40px; 
}
.callMail {
    display: flex;       
    align-items: center; 
    gap: 20px;          
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}
.callMail p {
  margin: 0;            
  line-height: 1.2;     
  font-weight: 600;   
}

.callMail span {
  display: block;   
  margin-top: 2px;      
  font-size: 14px;      
}

.footer-bottom {
  display: flex;
  justify-content: space-between; 
  align-items: center;        
  flex-wrap: wrap;            
  padding: 20px 40px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .social {
  display: flex;
  gap: 15px;
}

.footer-bottom .social a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.footer-bottom .social a img:hover {
  transform: scale(1.1);
}

.footer-right .logo {
  margin-top: 15px;
  padding: 0;
  line-height: 0;
  margin-bottom: 0;
}

.footer-right .logo img {
  max-width: 180px;
  height: 50px;
  display: block;
  margin-right: 100px;
  border-radius: 2px;
  margin-bottom: 0; 
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}

@media(max-width:768px) {

    * {
        margin-left: 0px;
        margin-right: 0px;
    }


    body{
        width:100%;
    }

    .btn-primary {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 2000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        margin: 10px 0;
        font-weight: 600;
        color: #333;
        text-decoration: none;
    }

    .nav-links .btn-primary {
        display: inline-block;
        margin-top: 20px;
        text-align: center;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        color: #333;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        font-size: 28px;
        cursor: pointer;
    }

    .logo img {
        height: 50px;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 24px;
        margin-top: 50px;
        width: auto;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-image img {
        max-width: 100%;
        margin-top: 20px;
    }

    /* Stats Section */
    .stats {
        padding: 10px 0;
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
        align-items: center;
        padding-left: 20px;
    }

    /* each row */
    .stat {
        display: grid;
        grid-template-columns: 72px auto;
        align-items: center;
        column-gap: 16px;
        width: 100%;
        max-width: 420px;
        margin-left: 35px;
    }

    /* icon wrapper */
    .stat-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* image inside wrapper */
    .stat-icon img {
        width: 100px;
        height: 100px;
        object-fit: contain;
    }

    /* text block */
    .stat>div:nth-child(2) {
        display: flex;
        flex-direction: column;
    }

    .stat h2 {
        margin: 0 0 2px;
        font-size: 28px;
        font-weight: 700;
        color: #332C5C;
        line-height: 1.1;
    }

    .stat p {
        margin: 0;
        font-size: 14px;
        color: #4c4e64;
    }



    /* CTA Banner */
    .cta-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-banner {
        padding: 30px 20px;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 22px;
    }

    .cta-text p {
        width: auto;
        font-size: 14px;
    }

    .cta-btn {
        display: flex;
        justify-content: center;
        margin-top: 15px;
        width: 100%;
        /* optional */
    }

    .cta-btn button {
        padding: 10px 25px;
        font-size: 14px;
    }

    /* About Section */
    .about {
        flex-direction: column;
        padding: 0px 0px;
    }

    .about-text h1 {
        font-size: 22px;
        text-align: center;
    }

    .about-text p {
        font-size: 14px;
        width: auto;
        padding: 0px 20px;
    }

    /* Features Section - Mobile */
    .features,
    .features1 {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        padding: 0px 0px;
        text-align: left;
        margin-top: 40px;
    }

    /* Text Styles */
    .features-text h1 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 15px;
    }

    .features-text p {
        font-size: 14px;
        width: auto;
        margin-top: 10px;
    }

    .features-text ul {
        list-style: none;
        margin: 0;
        padding: 20px;
    }

    .features-image img {
        max-width: 100%;
        margin: 0 auto;
    }

    .testimonial {
        flex-direction: column;
        text-align: left;
    }

    .testimonial-image img {
        max-width: 100%;
    }

    .testimonial-text p {
        font-size: 14px;
        padding: 0px 20px;
    }

    .testimonial-text h4 {
        padding: 0px 20px;
    }


    /* Contributors */
    .contributors {
        padding: 40px 20px;
    }

    .contributors-grid {
        grid-template-columns: 1fr;
    }

     footer {
        background-color: #1A1F36;
        color: #fff;
        width: 100%;    
    }

  .footer-main.container, 
    .footer-bottom.container {
        max-width: 1200px; 
        margin: 0 auto;     
        padding: 40px 20px;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
    .footer-left {
        flex: 1;
        min-width: 280px;
        margin-left: 0px;
    }
    
    .footer-left p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .footer-right { order: 1; }   
    .footer-left { order: 2; }
    
    .footer-right {
        width: 100%;             
        flex-direction: column;    
        align-items: flex-start;  
    }

    .newsletter-box {
        width: 100%;             
        max-width: 400px;        
        margin: 0 -10px;   
        margin-bottom: 30px;    
    }

    .footer-right .logo {
        margin: 0;  
        margin-bottom: 30px;     
    } 
    .contact-info {
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column; 
        gap: 30px; 
    }
    .callMail {
        display: flex;       
        align-items: center; 
        gap: 10px;          
    }

    .callMail img {
        width: 40px;  
        height: 40px;  
        object-fit: contain; 
    }

    .callMail p {
        margin: 0;            
        line-height: 1.2;     
        font-weight: 600;   
    }
    
    .callMail span {
        display: block;   
        margin-top: 2px;      
        font-size: 14px;      
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        gap: 10px;
    }

    .footer-bottom p {
        order: 1;
    }

    .footer-bottom .links {
        order: 2;
        display: flex;
        flex-direction: column; 
        gap: 5px;
    }

    .footer-bottom .social {
        order: 3;
        display: flex;
        flex-direction: row; 
        justify-content: flex-start; 
        gap: 10px;
    }
    .callMail div {
        display: flex;        
        flex-direction: column; 
    }
    .footer-bottom .links {
        flex-direction: column;
        gap: 1px; 
    }
}

@media(max-width:1366){
    .features1 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 30px;
        margin-left: 60px;
        margin-right: 60px;
    }

    .testimonial-slider {
        display: flex;
        justify-content: center;
        margin-left: 60px;
        margin-right: 60px;
}
}