:root {
    --primary-dark: #111F4D;
    --light-gray: #F2F4F7;
    --accent-red: #E43A19;
    --deep-black: #020205;
}

body {
    font-family: "Montserrat", "Poppins", "Avenir", sans-serif;
    overflow-x: hidden;

}

/* ===== Navbar ===== */
.navbar {
    background: linear-gradient(120deg, var(--primary-dark) 0%, #1a2f6d 100%);
    padding: 0;
    box-shadow: 0 4px 15px rgba(17, 31, 77, 0.3);
}

.navbar-brand {
    background: white;
    color: var(--primary-dark) !important;
    padding: 0.8rem 2rem;
    font-weight: 900;
    font-size: 1.4rem;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    margin-right: 2rem;
}

.navbar-brand i {
    color: var(--accent-red);
    margin-right: 8px;
}

.navbar-nav {
    padding: 0.6rem;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 0.2rem;
    padding: 0.4rem 0.8rem !important;
    border-radius: 18px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: white;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* ===== Carousel ===== */
.hero-section {
    width: 100%;
    overflow: hidden;
}

.hero-section .row {
    margin: 0;
}

.hero-section .col-12 {
    padding: 0;
}

.hero-img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767.98px) {
    .hero-img {
        height: 300px;
        object-fit: contain;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-img {
        height: 450px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-img {
        height: 550px;
    }
}

@media (min-width: 1200px) {
    .hero-img {
        height: 650px;
    }
}

.carousel-control {
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--deep-black);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-control:hover {
    background-color: var(--accent-red);
    color: white;
}

/* ===== Section ===== */
section {
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.section-title::before {
    left: -30px;
}

.section-title::after {
    right: -30px;
    background: rgba(228, 58, 25, 0.2);
}

/* ===== About Grid ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-content {
    background: white;
    color: var(--deep-black);
    padding: 1.8rem;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(17, 31, 77, 0.15);
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent-red);
    border-radius: 50%;
    top: -15px;
    right: -15px;
    z-index: -1;
}

.about-content:nth-child(2)::before {
    background: var(--primary-dark);
}

.highlight-box {
    color: var(--deep-black);
    padding: 1rem;
    border-radius: 15px;
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 5px 15px rgba(17, 31, 77, 0.1);
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    transition: transform 0.3s;
}

.highlight-box:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(228, 58, 25, 0.2);
}

.highlight-box i {
    font-size: 1.8rem;
    background: var(--primary-dark);
    color: white;
    padding: 10px;
    border-radius: 50%;
}

.highlight-box:nth-child(2) i {
    background: var(--accent-red);
}

.highlight-box:nth-child(3) i {
    background: var(--deep-black);
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-hex {
    background: white;
    padding: 2.5rem 1.8rem;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(17, 31, 77, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.product-hex::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(242, 244, 247, 0.6),
            rgba(242, 244, 247, 0.4),
            transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.product-hex:hover::before {
    left: 100%;
}

.product-hex:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(17, 31, 77, 0.2);
}

.product-icon {
    width: 200px;
    height: 200px;
    background: transparent;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-icon i {
    font-size: 5rem;
    color: var(--primary-dark);
}

.product-hex:nth-child(3n+2) .product-icon i {
    color: var(--accent-red);
}

.product-hex:nth-child(3n+3) .product-icon i {
    color: var(--deep-black);
}

.product-hex h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.product-hex:nth-child(3n+2) h4 {
    color: var(--accent-red);
}

.product-hex:nth-child(3n+3) h4 {
    color: var(--deep-black);
}

.btn-product {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 18px;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: 0.8rem;
}

.btn-product:hover {
    background: #1a2f6d;
    transform: scale(1.05);
}

.product-hex:nth-child(3n+2) .btn-product {
    background: var(--accent-red);
}

.product-hex:nth-child(3n+2) .btn-product:hover {
    background: #c72f14;
}

.product-hex:nth-child(3n+3) .btn-product {
    background: var(--deep-black);
}

.product-hex:nth-child(3n+3) .btn-product:hover {
    background: #1a1a1c;
    color: #fff;
}

/* ===== Category Wave ===== */
.category-wave {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.wave-box {
    color: white;
    padding: 2rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2f6d 100%);
}

.wave-box:nth-child(2) {
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff5733 100%);
}

.wave-box:nth-child(3) {
    background: linear-gradient(135deg, var(--deep-black) 0%, #2a2a2d 100%);
}

.wave-box:nth-child(4) {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-red) 100%);
}

.wave-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.wave-box h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.wave-box i {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

/* ===== Info Accordion ===== */
.info-accordion {
    background: white;
    border-left: 4px solid var(--primary-dark);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-accordion:nth-child(3n+2) {
    border-left-color: var(--accent-red);
}

.info-accordion:nth-child(3n+3) {
    border-left-color: var(--deep-black);
}

.info-accordion h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.info-accordion:nth-child(3n+2) h4 {
    color: var(--accent-red);
}

.info-accordion:nth-child(3n+3) h4 {
    color: var(--deep-black);
}

.info-accordion h4 i {
    font-size: 1.5rem;
    background: var(--light-gray);
    padding: 8px;
    border-radius: 8px;
}

.info-accordion:nth-child(3n+2) h4 i {
    background: rgba(228, 58, 25, 0.1);
}

.info-accordion:nth-child(3n+3) h4 i {
    background: rgba(2, 2, 5, 0.1);
}

.info-accordion li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--light-gray);
    padding-left: 1.5rem;
    font-size: 0.9rem;
    position: relative;
}

.info-accordion li::before {
    content: '►';
    color: var(--primary-dark);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.info-accordion:nth-child(3n+2) li::before {
    color: var(--accent-red);
}

.info-accordion:nth-child(3n+3) li::before {
    color: var(--deep-black);
}

/* ===== Client Circles ===== */
.client-circle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.client-circle {
    background: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(17, 31, 77, 0.15);
    border: 3px solid var(--light-gray);
    transition: all 0.4s;
}

.client-circle:nth-child(3n+2) {
    border-color: rgba(228, 58, 25, 0.3);
}

.client-circle:nth-child(3n+3) {
    border-color: rgba(2, 2, 5, 0.3);
}

.client-circle:hover {
    color: white;
    transform: scale(1.1);
}

.client-circle:nth-child(3n+1):hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.client-circle:nth-child(3n+2):hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.client-circle:nth-child(3n+3):hover {
    background: var(--deep-black);
    border-color: var(--deep-black);
}

.client-circle i {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.client-circle:nth-child(3n+2) i {
    color: var(--accent-red);
}

.client-circle:nth-child(3n+3) i {
    color: var(--deep-black);
}

.client-circle:hover i {
    color: white;
}

/* ===== Form ===== */
.enquiry-form {
    background: white;
    padding: 2.2rem;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(17, 31, 77, 0.15);
    position: relative;
}

.form-label {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-control,
.form-select {
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.2rem rgba(228, 58, 25, 0.15);
}

.btn-submit {
    background: var(--accent-red) !important;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 58, 25, 0.4);
    background: #c72f14 !important;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--accent-red);
}

.footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.9rem;
}

.footer a:hover {
    transform: translateX(8px);
    color: var(--accent-red);
}

.social-icons a {
    background: white;
    color: var(--primary-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-icons a:nth-child(3n+2) {
    color: var(--accent-red);
}

.social-icons a:nth-child(3n+3) {
    color: var(--deep-black);
}

.social-icons a:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

.social-icons a:nth-child(3n+2):hover {
    background: var(--accent-red);
}

.social-icons a:nth-child(3n+3):hover {
    background: var(--deep-black);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .about-grid,
    .product-grid,
    .category-wave,
    .client-circle-grid {
        grid-template-columns: 1fr;
    }

    .client-circle {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .carousel-item {
        height: 300px;
    }

    .navbar-brand {
        font-size: 1.2rem;
        padding: 0.6rem 1.5rem;
    }
}

.saas-hero {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--accent-red) 100%);
    height: 50%;
    width: 100%;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}