﻿/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #333;
    color: white;
}
.Clogo {
    display: table-cell;
    background-color: #92a7d0;
    width: 15%;
    vertical-align: top;
    text-align: left;
}

    .Clogo img {
        width: 100%;
        height: 10%;
        object-fit: cover;
        border-radius: 50px;
    }

.nav-links {
    list-style: none;
    display: flex;
}

    .nav-links li {
        padding: 0 15px;
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

        .nav-links a:hover {
            color: #1abc9c;
        }
/* Hover effect */

/* Slideshow Styling */
.slideshow {
    width: 100%;
    overflow: hidden; /* Hide other slides */
    height: 500px;
}

.slide-wrapper {
    display: flex;
    width: 300%; /* (Number of slides * 100%) */
    height: 100%;
    animation: slide-animation 15s infinite; /* Automatic looping */
}

.slide {
    width: 100.33%;
    height: 100%;
}

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Slide Animation */
@keyframes slide-animation {
    0% {
        transform: translateX(0);
    }

    2% {
        transform: translateX(0);
    }

    8% {
        transform: translateX(-33.33%);
    }

    14% {
        transform: translateX(-33.33%);
    }

    20% {
        transform: translateX(-66.66%);
    }

    26% {
        transform: translateX(-66.66%);
    }

    30% {
        transform: translateX(0);
    }
}

.pie-chart {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient( #4CAF50 0% 25%, /* Green slice */
    #2196F3 25% 50%, /* Blue slice */
    #FF9800 50% 75%, /* Orange slice */
    #F44336 75% 100% /* Red slice */
    );
    margin: 50px auto;
    position: relative;
}
/* Optional: Add labels or legend */
.legend {
    width: 300px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.color-box {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    margin: auto;
}

.hero {
    
    margin:50px;   
    border-radius:30px;
    background-color:#d7d5f8;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

    .hero h1 {
        margin-bottom: 10px;
        font-size: 36px;
    }

.about, .services, .why-us {
    background-color: white;
    padding: 30px;
    margin-top: 20px;
    border-radius: 6px;
}

h2 {
    color: #0a3d62;
}

.services ul {
    list-style: square;
    padding-left: 20px;
}

.services li {
    margin: 10px 0;
}



.bg-box {
    margin: 50px;
    border-radius: 30px;
    background-color: #d7d5f8;
    color: white;
    padding: 100px 40px;   
    text-align:center;
}

    .bg-box img {
        width: 10%;
        height: 20%;
        margin:33px;
        object-fit: cover; /* fills the box neatly */
    }
    .bg-box h2{
        font-size:xx-large;
        word-wrap:break-word;
        text-align:center;
    }
.brand-section {
    background: #ffffff;
    max-width: 1200px;
    margin: 50px auto;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
}

    .brand-section h2 {
        color: #4a5670;
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 40px;
    }

.brand-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

    .brand-logos img {
        max-width: 140px;
        height: auto;
        opacity: 0.7;
        transition: 0.3s ease;
    }

        .brand-logos img:hover {
            opacity: 1;
        }

.section {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    position: relative;
}
/* LEFT SIDE */

.image-wrapper {
    position: relative;
}

    .image-wrapper img {
        width: 100%;
        border-radius: 20px;
        display: block;
    }

/* Chart Card */
.chart-card {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 320px;
}

.chart {
    height: 100px;
    background: linear-gradient(to top, #c41e3a, #e6485d);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

    .chart::before {
        content: "";
        position: absolute;
        width: 200%;
        height: 200%;
        top: 30%;
        left: -50%;
        background: radial-gradient(circle at 20% 40%, rgba(255,255,255,0.3) 20%, transparent 21%), radial-gradient(circle at 50% 60%, rgba(255,255,255,0.3) 20%, transparent 21%), radial-gradient(circle at 80% 30%, rgba(255,255,255,0.3) 20%, transparent 21%);
        background-size: 200px 100px;
    }

/* RIGHT SIDE */

.content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.content p {
    color: #6b6b6b;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 450px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.green {
    background: #e6f8ec;
    color: #35b76a;
}

.orange {
    background: #fff1e6;
    color: #ff9c42;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.feature p {
    font-size: 14px;
    margin: 0;
    max-width: 380px;
}

/* Decorative dots */

.dots {
    position: absolute;
    top: -30px;
    left: -40px;
    display: grid;
    grid-template-columns: repeat(8, 8px);
    gap: 10px;
}

    .dots span {
        width: 6px;
        height: 6px;
        background: #e6485d;
        border-radius: 50%;
    }

/* Responsive */

@media (max-width: 900px) {
    .section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content p {
        margin: 0 auto 30px;
    }

    .feature {
        justify-content: center;
        text-align: left;
    }

    .chart-card {
        right: 50%;
        transform: translateX(50%);
    }
}

.services {
    padding: 60px 8%;
    background: #fff;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

    .top-content h1 {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .top-content p {
        color: #666;
        max-width: 600px;
        line-height: 1.6;
    }

.btn {
    background: #ff2d2d;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

    .card img {
        width: 60px;
        margin-bottom: 15px;
    }

    .card h3 {
        margin-bottom: 10px;
    }

    .card p {
        color: #555;
        line-height: 1.6;
    }

/* Responsive */
@media (max-width: 900px) {
    .top-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

.services {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-box {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .service-box:hover {
        transform: translateY(-8px);
    }

.icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-box a {
    text-decoration: none;
    color: #1a237e;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Footer Styles */
.footer {
    background-color: #0a1f44; /* Dark blue background */
    color: #fff;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

    .footer .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1200px;
        margin: auto;
    }

.footer-section {
    flex: 1 1 250px; /* Responsive sections */
    margin: 15px;
}

    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
        border-bottom: 2px solid #ffcc00; /* Accent color */
        display: inline-block;
        padding-bottom: 5px;
    }

    .footer-section p,
    .footer-section li,
    .footer-section a {
        font-size: 14px;
        color: #ccc;
        line-height: 1.8;
        text-decoration: none;
    }

    .footer-section li {
        list-style: none;
    }

    .footer-section a:hover {
        color: #ffcc00;
    }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding: 15px 0;
    margin-top: 30px;
    color: #aaa;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}