/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #6c5ce7;
    --light-bg: #f0f0ff;
    --white: #ffffff;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-brand img {
    width: 120px;
    height: auto;
}

.nav-link {
    color: #333;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.contact-btn {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #5649c0;
    transform: translateY(-2px);
}

/* Custom Dropdown */
.custom-dropdown {
    width: 300px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.custom-dropdown .dropdown-header {
    padding: 0.75rem 1.5rem;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 0.85rem;
}

.custom-dropdown .dropdown-item {
    padding: 0.5rem 1.5rem;
    color: #212529;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #5649c0;
    border-left: 3px solid #5649c0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-color: #D8D4FF;
    padding: 100px 0 0 0;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons .btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-secondary {
    color: #555;
    border-color: #ddd;
    background-color: white;
}

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

.btn-outline-secondary:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,96L60,90C120,84,240,72,360,60C480,48,600,36,720,42C840,48,960,72,1080,72C1200,72,1320,48,1380,36L1440,24L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: 40px 0;
    background-color: white;
}

.brands-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.brand-logo {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-heading {
    text-align: center;
    margin-bottom: 40px;
    color: #5649c0;
    font-size: 32px;
    font-weight: 600;
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #5649c0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 0;
    position: relative;
    z-index: 1;
    border: 4px solid white;
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-content {
    padding: 20px;
    text-align: center;
}

.service-title {
    color: #5649c0;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== ABOUT US SECTION ===== */
.about-us-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.chart-icon,
.chart-stats {
    background-color: #f0f0ff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.chart-icon:hover,
.chart-stats:hover {
    transform: translateY(-5px);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: #D8D4FF;
    width: 100%;
    min-height: 100vh;
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.requestAquote-right {
    position: relative;
    background: #ffffff;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.contact-info-box {
    font-size: 15px;
    margin-bottom: 1.5rem;
    color: #495057;
    padding: 28px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact h4 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-info-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-info-box h3 i {
    font-size: 20px;
    margin-right: 10px;
    color: #3498db;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Contact Form */
.form {
    margin: 0 66px 0 30px;
}

.input-text {
    background: 0 0 !important;
    z-index: 3;
    outline: 0;
    border: 0;
    border-bottom: 1px solid #5649c0;
    box-shadow: none !important;
    transition: box-shadow 150ms ease-out;
    padding: 15px 16px;
    width: 100%;
    height: 50px;
    display: block;
    border-radius: 0;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 15px 0;
}

.input-text:focus {
    border-bottom: 1px solid #F3B431;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(124, 197, 118, 0.3);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(124, 197, 118, 0.3);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(124, 197, 118, 0.3);
}

.input-text.text-area {
    height: 165px;
    resize: none;
    overflow: auto;
}

.input-btn {
    width: 175px;
    height: 50px;
    background: #5649c0;
    border-radius: 0px;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: 0px;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
}

.input-btn:hover {
    background: #f3b431;
    color: #fff;
}

.custom-control-label {
    display: inline;
}

.validation {
    color: red;
    display: none;
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 13px;
}

#sendmessage {
    color: #5649c0;
    border: 1px solid #5649c0;
    display: none;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#errormessage {
    color: red;
    display: none;
    border: 1px solid red;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#sendmessage.show,
#errormessage.show,
.show {
    display: block;
}

/* Compact Contact Form */
.contactForm .form-group input,
.contactForm .form-group textarea,
.contactForm .input-btn {
    padding: 8px 12px;
    font-size: 14px;
}

.contactForm .form-group textarea {
    height: 100px;
}

.contactForm .input-btn {
    padding: 10px 20px;
}

.contactForm .custom-control-label {
    font-size: 14px;
}

.contactForm .custom-control-input {
    margin-top: -2px;
}

.contactForm .form-group {
    margin-bottom: 10px;
}

.contactForm {
    padding: 20px;
}

/* Social Links */
.social-link {
    padding: 35px 0;
    display: block;
    overflow: hidden;
    list-style: none;
}

.social-link li {
    float: left;
    margin-right: 8px;
}

.social-link li a {
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 25px;
    color: #fff;
    background: #20bcbf;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.social-link li a:hover,
.social-link li a:focus {
    text-decoration: none;
}

.twitter a:hover {
    background: #55acee;
}

.linkedin a:hover {
    background: #0077B5;
}

.pinterest a:hover {
    background: #cb2026;
}

.fas.fa-envelope a:hover {
    background: #dd4b39;
}

.dribbble a:hover {
    background: #ea4c89;
}

/* ===== FOOTER ===== */
.footer {
    background: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-logo {
    margin: 0 auto 20px;
    width: 70px;
}

.footer-content {
    padding: 0;
    list-style: none;
}

.footer a {
    text-decoration: none;
    color: #cccccc;
}

.footer a:hover {
    color: #5649c0;
}

.btn-text-only {
    border: none;
    background-color: transparent !important;
    display: inline-block;
    position: relative;
    padding: 3px 0px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    color: #5649c0;
}

.copyright,
.credits {
    color: #cccccc;
    font-size: 14px;
    display: block;
    text-align: center;
}

.copyright a {
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.credits a {
    color: #5649c0;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.copyright a:hover,
.credits a:hover,
.btn-text-only:hover {
    color: #5649c0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-content p {
        max-width: 100%;
    }

    .contact {
        padding: 40px 0;
    }

    .requestAquote-right {
        padding: 30px;
        margin-top: 30px;
    }

    .contact h2 {
        font-size: 28px;
    }

    .contact h4 {
        font-size: 22px;
    }

    .contact-info-box {
        padding: 15px;
    }

    .custom-dropdown {
        width: 100%;
    }

    .nav-item.dropdown.mx-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 767px) {
    .input-btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .form {
        margin: 0 30px;
    }
    .contact h2 {
        font-size: 28px;
    }
    .contact h4 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .form {
        margin: 0 20px;
    }
    .requestAquote-right {
        padding: 30px 20px;
    }
    .input-text {
        height: 45px;
        font-size: 14px;
    }
    .contact-info-box {
        padding: 20px;
    }
    .contact h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 40px 0;
    }

    .form {
        margin: 0 15px;
    }

    .contact-info-box {
        margin-bottom: 1rem;
    }

    .input-btn {
        width: 100%;
        font-size: 13px;
    }

    .benefits-list li {
        font-size: 14px;
    }
}
