/* Basic Reset and Typography */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    padding-top: 90px;

}

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

/* Header*/
header {
    background-color: #e0c2a1;
    padding: 1px 0;
    width: 100%;
    position: fixed; 
    top: 0;          
    left: 0;          
    z-index: 1000;      
}

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


/*logo*/
.logo {
    background-color: #e0c2a1;
    width: 100%;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
    padding: 15px 0;
    border: 3px ;
    background-color: #e0c2a1;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

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

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    background-color: #e0e0e0;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInSlideDown 1s ease-out forwards 0.5s;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
    color: #333;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 1s;
}

.hero-image {
    margin: 30px auto;
    max-width: 80%;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 1.5s;
}

.hero-image img {
    width: 100%;
    display: block;
}

.whatlink {
    margin-top: 50px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 2s;
}

/* Middle Section */
.middle-section {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.middle-section h2 {
    text-align: center;
    margin-bottom: 30px;
}
.benifit {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.b {
    text-align: center;
    width: 30%;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s ease-out forwards;
}

.b img {
    max-width: 100%;
    display: block;
    margin: 0 auto 10px;
}

/*here is the whatapp.jpg */
img[src="whatapp.jpg"] {
    max-width: 15vw; /* Adjust as needed */
    height: auto;
}

/* Make text responsive */
div[style*="position: absolute;"] {
    font-size: 4vw; /* Scale font size with viewport width */
    width: 90%; /* Scale width with viewport width */
}

div[style*="pre"] {
    font-size: 2.5vw;
}

/* Make outer div responsive */
div[style*="display: flex;"] {
    width: 100%;
}

/*ends here*/
.customer-segments {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.segment {
    flex-basis: calc(33.33% - 20px); 
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s ease-out forwards;
    border: 1px solid #ccc; 
    padding: 15px;
    box-sizing: border-box;
}

/* For tablets, Two columns */
@media (max-width: 768px) {
    .segment {
        flex-basis: calc(50% - 20px);
    }
}

/* For phones,One column */
@media (max-width: 480px) {
    .segment {
        flex-basis: 100%;
    }
}

/* Footer */
footer {
    background-color: #e0c2a1;
    padding: 30px 0;
    text-align: center;
}

.social-icons a {
    font-size: 1.5em;
    color: #333;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
}

/* Animations */
@keyframes fadeInSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transeY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 50%;
        text-align: center;
        position: absolute;
        top: 60px;
        right: 0; 
        background-color: #f0f0f0;
        z-index: 100;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #ddd;
    }

    .hamburger {
        display: flex;
    }

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

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

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