/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Utility Classes */
.h4 {
  font-size: 1.2rem;
  color: #555;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #00B9D4;
}

/* Header Styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F5F7FA; /* Light background for contrast */
    border-bottom: 2px solid rgba(34, 48, 99, 0.2); /* Subtle border for definition */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header .logo img {
    height: 60px;
    filter: none; /* No color adjustment, full visibility */
}

/* Navigation Links */
.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #223063; /* Logo color for text contrast */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
}

.nav a:hover {
    color: #FFA726; /* Bright hover contrast */
    transform: scale(1.1);
}

/* CTA Button */
.login-link {
    background: #FFA726;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.login-link:hover {
    background: #FF7043;
    transform: scale(1.1);
}

/* Hamburger Icon - Hidden on Desktop */
.hamburger {
    display: none;
    font-size: 2rem;
    color: #223063;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(135deg, #00416A, #E4E5E6);
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease-in-out;
}

/* Overlay Effect for Readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 0;
    border-radius: inherit;
}

/* Container Styling */
.hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Heading */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

/* Hero Subtext */
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f1f1f1;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Call-to-Action Button */
.cta-hover, .cta {
    background: linear-gradient(135deg, #FFA726, #FF7043);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

/* Hover Effect */
.cta-hover:hover, .cta:hover {
    background: linear-gradient(135deg, #FF7043, #FF5722);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Animation for Entry */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Features Section Styling */
.features {
    padding: 6rem 5%;
    background: #f9fafc;
    text-align: center;
}

.features h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

/* Flex Layout for Feature Cards */
.feature-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Individual Feature Card */
.feature {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
}

/* Feature Icon Styling */
.feature::before {
    content: "⭐";
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: #FFA726;
}

/* Card Hover Effect */
.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFA726;
}

/* Feature Headings */
.feature h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bold;
}

/* Feature Text */
.feature p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Call-to-Action Button */
.cta {
    background: linear-gradient(135deg, #FFA726, #FF7043);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta:hover {
    background: linear-gradient(135deg, #FF7043, #FF5722);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Benefits Section Styling */
.benefits {
    padding: 6rem 5%;
    background: #f9fafc;
    text-align: center;
}

.benefits h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

/* Benefits Grid Layout */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

/* Individual Benefit Card */
.benefit {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    max-width: 350px;
}

/* Adding Icon Effect */
.benefit::before {
    content: "✅";
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    color: #FFA726;
}

/* Hover Animation */
.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFA726;
}

/* Benefit Title Styling */
.benefit h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #333;
}

/* Benefit Text Styling */
.benefit p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Call-to-Action Button */
.cta {
    background: linear-gradient(135deg, #FFA726, #FF7043);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-top: 3rem;
}

.cta:hover {
    background: linear-gradient(135deg, #FF7043, #FF5722);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* About Section Styling */
.about {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #e8f5e9, #f4f8f5); 
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Flexbox for Layout Balance */
.about .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Section Styling */
.about-text {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.about h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.about p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    font-weight: 400;
}

/* Image Styling */
.about img {
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 5%;
    background: #f9f9f9;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-align: center; /* Ensures the heading is centered */
}

.testimonials p {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonials .quote {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 40px;
    display: block; /* Ensures the quote takes the full width and goes under the heading */
    text-align: center; /* Centers the quote text */
}

.testimonials .quote::before {
    content: '“';
    font-size: 3rem;
    position: absolute;
    left: 0;
    top: 0;
    color: #7f56d9;
}

.testimonials .quote::after {
    content: '”';
    font-size: 3rem;
    position: absolute;
    right: 0;
    bottom: 0;
    color: #7f56d9;
}

.testimonials .client {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    margin-top: 1rem;
}

.testimonials .client-title {
    font-size: 1rem;
    color: #777;
}

/* Container Style */
.testimonials .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers all content */
    justify-content: center;
}


/* Contact Section */
.contact {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc);
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.contact p {
    font-size: 1.2rem;
    color: #444;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.contact p strong {
    color: #000;
}

.contact .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact .cta {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background: #00796b;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.contact .cta:hover {
    background: #004d40;
    transform: translateY(-3px);
}

/* Icons */
.contact .icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #00796b;
    vertical-align: middle;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
        .testimonials .container {
        padding: 0;
    }
        .contact {
        padding: 3rem 3%;
    }
    .contact h2 {
        font-size: 2rem;
    }
    .contact p {
        font-size: 1rem;
    }
    .contact .cta {
        width: 100%;
        padding: 1rem;
    }
        .hero {
        padding: 4rem 3%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-hover {
        width: 100%;
    }
    
        .features h2 {
        font-size: 2.2rem;
    }

    .feature {
        padding: 1.5rem;
        min-width: 100%;
    }

    .cta {
        width: 100%;
    }
        .benefits h2 {
        font-size: 2.2rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .benefit {
        width: 100%;
    }

    .cta {
        width: 100%;
    }
        .about .container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about img {
        max-width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav {
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background: rgba(0, 70, 140, 0.95);
        padding: 2rem;
        border-radius: 10px;
        display: none;
        width: 100%;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 1rem 0;
        text-align: center;
        width: 100%;
    }
}
