/* General Body and Typography */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8em;
    line-height: 1.2;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: none;
    font-weight: 500;
}

.btn-login {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.btn-login:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
}

.btn-signup {
    background-color: #28a745; /* Green */
    color: white;
}

.btn-signup:hover {
    background-color: #218838; /* Darker green */
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #007bff;
    color: white;
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

.btn-submit-callback {
    width: 100%;
    background-color: #28a745;
    color: white;
    padding: 12px;
    font-size: 1.1em;
    border-radius: 8px;
    margin-top: 15px;
}

.btn-submit-callback:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.btn-discover-all {
    display: block;
    margin: 40px auto 0;
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    text-align: center;
}

.btn-discover-all:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Icons */
.green-icon {
    color: #28a745;
    margin-right: 10px;
}

.icon-xl {
    font-size: 3em;
    margin-bottom: 15px;
}

.icon-circle {
    font-size: 2.5em;
    color: white;
    background-color: #28a745;
    border-radius: 50%;
    padding: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Adjust based on icon size and padding */
    height: 60px; /* Adjust based on icon size and padding */
    margin-bottom: 20px;
}

.green-icon-lg {
    font-size: 4em;
    color: #28a745;
    margin-bottom: 10px;
}

/* Navbar */
.navbar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.navbar .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #28a745; /* Edusolver green */
}

.navbar nav {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allow nav to take available space */
    justify-content: flex-end; /* Align nav items to the right */
}

.nav-links {
    display: flex;
    margin: 0;
    padding: 0;
    margin-right: 20px; /* Space between links and buttons */
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #28a745;
    text-decoration: none;
}

.nav-buttons {
    display: flex;
    align-items: center;
}
.custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.call-btn {
    background-color: #007bff;
}

.call-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

.custom-btn i {
    font-size: 18px;
}


.hamburger {
    display: none;
    font-size: 1.8em;
    color: #333;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #e0ffe0, #c8f5d1); /* Light green gradient */
    padding: 80px 0;
    color: #333;
    text-align: left;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    min-width: 450px;
}

.hero-left h1 {
    font-size: 3.2em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.hero-left ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    font-size: 1.1em;
}

.hero-left ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.hero-cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-right {
    flex: 1;
    min-width: 350px;
    display: flex;
    justify-content: center;
}

.callback-form-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.callback-form-card h3 {
    color: #28a745;
    margin-bottom: 10px;
}

.callback-form-card p {
    color: #666;
    margin-bottom: 25px;
}

.callback-form-card form input,
.callback-form-card form select {
    width: calc(100% - 20px);
    padding: 12px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

/* Advantage Section */
.advantage-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.advantage-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.advantage-left {
    flex: 1;
    min-width: 450px;
}

.advantage-left h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.advantage-left p {
    color: #555;
}

.advantage-right {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-right h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(
        #e74c3c 0% 53.8%,
        #28a745 53.8% 100%
    );
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pie-slice-red {
    /* Handled by conic-gradient */
}

.pie-slice-green {
    /* Handled by conic-gradient */
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.percentage-value {
    font-size: 2.5em;
    font-weight: 700;
    color: #28a745;
}

.percentage-label {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
}

.pie-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 1em;
    color: #555;
}

.color-box {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 3px;
}

.color-box.red {
    background-color: #e74c3c;
}

.color-box.green {
    background-color: #28a745;
}

.legend-item .label {
    margin-right: 10px;
}

.legend-item .value {
    font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-choose-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.why-choose-item h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.5em;
}

.why-choose-item p {
    color: #666;
    font-size: 0.95em;
}

/* Career Shapes Section */
.career-shapes-section {
    padding: 80px 0;
    background-color: #e0ffe0; /* Light green background */
    text-align: center;
}

.career-shapes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.shape-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.shape-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.shape-item h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.3em;
}

.shape-item p {
    color: #666;
    font-size: 0.9em;
}

.stats-headline {
    font-size: 1.5em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.8em;
    font-weight: 700;
    color: #28a745;
    margin-top: 10px;
}

.stat-label {
    font-size: 1.1em;
    color: #555;
    margin-top: 5px;
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.reviews-carousel {
    position: relative;
    overflow: hidden; /* Hide overflowing review cards */
    margin-top: 50px;
}

.reviews-grid {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth sliding transition */
}

.review-card {
    flex: 0 0 33.33%; /* Show 3 cards at a time, adjust as needed */
    min-width: 33.33%; /* Ensure cards take up their share */
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 0 15px; /* Spacing between cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.quote-icon {
    font-size: 2em;
    color: #ccc;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to take up available space */
}

.reviewer-name {
    font-weight: 600;
    color: #333;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #28a745;
}

/* Universities Section */
.universities-section {
    padding: 80px 0;
    background-color: #e0ffe0; /* Light green background */
    text-align: center;
}

.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-items: center; /* Center logos within their grid area */
}

.university-logo-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Fixed height for consistent display */
    overflow: hidden; /* Hide overflowing parts of the image */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition */
}

.university-logo-item:hover {
    transform: scale(1.05); /* Grow effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.university-logo-item img {
    max-width: 100%;
    max-height: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
    object-fit: contain; /* Ensure the image fits within its container without cropping */
}

/* Footer */
footer {
    background-color: #2c3e50; /* Dark blue/grey */
    color: white;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid #4a627a;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: #28a745; /* Edusolver green */
    margin-bottom: 25px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-col ul li a {
    color: #bbb;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-col ul li a:hover {
    color: #28a745;
    text-decoration: none;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping */
}

.footer-bottom .logo {
    font-size: 1.6em;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px; /* Space for wrap */
}

.social-icons {
    margin-bottom: 10px; /* Space for wrap */
}

.social-icons a {
    color: white;
    font-size: 1.2em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #28a745;
}

.copyright p {
    color: #bbb;
    font-size: 0.9em;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar .nav-links {
        margin-right: 10px;
    }

    .nav-links li {
        margin-left: 15px;
    }

    .hero-left h1 {
        font-size: 2.8em;
    }

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

    .hero-left, .hero-right {
        min-width: unset;
        width: 100%;
    }

    .hero-left ul {
        text-align: left;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .advantage-content {
        flex-direction: column;
        text-align: center;
    }

    .advantage-left h2 {
        text-align: center;
    }

    .advantage-left, .advantage-right {
        min-width: unset;
        width: 100%;
    }

    .reviews-grid {
        flex-wrap: wrap; /* Allow wrapping of review cards */
        justify-content: center;
    }

    .review-card {
        flex: 0 0 45%; /* Show 2 cards per row on medium screens */
        margin-bottom: 30px;
    }

    .university-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar .nav-links,
    .navbar .nav-buttons {
        display: none;
    }

    .navbar nav {
        justify-content: flex-end;
    }

    .navbar .hamburger {
        display: block;
    }

    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        margin-right: 0;
    }

    .navbar.active .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .navbar.active .nav-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        padding: 10px 0 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        position: absolute;
        top: calc(70px + (6 * 45px)); /* Adjust based on header height + nav links height */
        left: 0;
    }

    .navbar.active .nav-buttons .btn {
        margin: 5px auto;
        width: 80%;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .hero-section, .advantage-section, .why-choose-us-section,
    .career-shapes-section, .reviews-section, .universities-section,
    .footer-top {
        padding: 60px 0;
    }

    .callback-form-card {
        padding: 20px;
    }

    .why-choose-grid, .career-shapes-grid, .stats-grid, .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        flex: 0 0 90%; /* Single card per row on small screens */
        margin-bottom: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}

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

    .hero-left ul li {
        font-size: 1em;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .btn-submit-callback, .btn-discover-all {
        padding: 10px 20px;
        font-size: 1em;
    }

    .stat-number {
        font-size: 2.2em;
    }

    .stat-label {
        font-size: 1em;
    }
}