
:root {
    --white: #FFFFFF;
    --light-blue: #B1D4E0;
    --medium-blue: #2E8BC0;
    --dark-blue: #145DA0;
    --navy: #071640;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--navy);
    line-height: 1.6;
}

/* navbar */
.navbar {
    background: var(--white) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    width: 100vw !important;
    z-index: 1000;
}

.logo {
    width: 50%;
    height: 50%;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--navy) !important;
}

.nav-link {
    color: var(--text) !important;
    text-align: left;
    margin: 0 1rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

.dropdown-item:hover {
    background: var(--light-blue);
    color: var(--navy);
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 80vh;
        /* overflow-y: auto; */
    }
    
    .dropdown-menu {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-left: 20px;
        padding: 0;
    }
    
    .dropdown-submenu .dropdown-menu {
        margin-left: 30px;
    }
    
    .dropdown-toggle::after {
        display: none;
    }
}

/* Desktop Dropdown Styles */
@media (min-width: 992px) {
    .dropdown-submenu {
        position: relative;
    }
    
    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
    }
    
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* hero & Other */

.hero {
    background: linear-gradient(rgba(7, 22, 64, 0.9), rgba(20, 93, 160, 0.9)),
                url('../imgs/data\ amangemetn\ background.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 160px 0 120px;
}

.microsoft-hero {
    background: linear-gradient(rgba(7, 22, 64, 0.9), rgba(20, 93, 160, 0.9)),
                url('../imgs/microsoft-platform-bg.png');
    background-size: cover;
    background-position: top;
    color: var(--white);
    padding: 160px 0 120px;
}

.data-gov-hero {
    background: linear-gradient(rgba(7, 22, 64, 0.9), rgba(20, 93, 160, 0.9)),
                url('../imgs/data-governance-bg.png');
    background-size: cover;
    background-position: top;
    color: var(--white);
    padding: 160px 0 120px;
}

.section-title {
    color: var(--dark-blue);
    border-bottom: 3px solid var(--medium-blue);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--dark-blue);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--medium-blue);
}

.benefit-card {
    transition: transform 0.3s;
    border: 1px solid var(--light-blue);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.img-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--medium-blue);
    margin-bottom: 1rem;
}

.approach-step {
    padding: 2rem;
    border-left: 4px solid var(--medium-blue);
    margin-bottom: 2rem;
    background: var(--white);
    position: relative;
}

.alert-dark ul.mb-0 li {
font-size: 1.1rem; /* Adjust this value as needed */
line-height: 1.6;
font-weight: bolder;
}

.service-img {
    height: 200px;
    object-fit: cover;
}

/* Success Stories */
.success-stories-section {
    position: relative;
    min-height: 100%;
    padding: 4rem 0;
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(7, 22, 64, 0.9), 
                rgba(7, 22, 64, 0.9)),
                url('../assets/imgs/success.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: pan-image 20s linear infinite;
}

@keyframes pan-image {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section-heading {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 0 15px;
    transform: scale(0.95);
    transition: all 0.6s ease;
    opacity: 0.7;
}

.carousel-item.active .testimonial-card {
    transform: scale(1);
    opacity: 1;
}

.card-header {
    background: #145DA0;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
}

.card-header h3 {
    color: #B1D4E0;
    font-size: 1.8rem;
    text-align: center;
    margin: 0;
    text-transform: lowercase;
}

.card-header h3::after {
    content: ".";
    color: #2E8BC0;
}

.success-card-body {
    padding: 2rem;
    color: #145DA0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company-logo{
  width: 20%;
  height: 20%;
  margin-left: 40%;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 3px solid #2E8BC0;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.client-info {
    text-align: right;
    border-top: 1px solid #B1D4E0;
    padding-top: 1rem;
}

.client-name {
    color: #2E8BC0;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.client-position {
    color: #145DA0;
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #2E8BC0;
    border-radius: 50%;
    padding: 1.2rem;
    background-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #145DA0;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
        padding: 0 15px;
    }

    .company-logo{
  width: 50%;
  height: 50%;
  margin-left: 26%;
}
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .card-header h3 {
        font-size: 1.4rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 0.8rem;
    }
    
    .card-body {
        height: 100%;
        padding: 1.5rem;
    }
}

/* Custom Scroll Animation */
.carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%) scale(0.95);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%) scale(0.95);
}

/* Contact Us */
.contact-us {
    width: 100%;
    height: 100%;
    background: var(--navy);
}

.contact-title {
    margin: 10px auto;
    padding-top: 3%;
    text-align: center;
    color: var(--white);
    border: none;
    font-size: 3rem;
}

.contact-section {
    max-width: 1200px;
    margin: 0px auto;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    position: relative;
    background: var(--navy);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(7, 22, 64, 0.1);
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            var(--dark-blue) 50%,
            transparent 55%);
    animation: flow 20s linear infinite;
    opacity: 0.1;
    z-index: 0;
}

.contact-info {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.contact-form {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.contact-form-title {
    color: var(--light-blue);
    margin-bottom: 25px;
    font-size: 1.8em;
    position: relative;
    padding-bottom: 10px;
}

.contact-form-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-blue);
}

.contact-details {
    display: grid;
    gap: 20px;
}

.detail-card {
    background: rgba(177, 212, 224, 0.08);
    padding: 18px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateX(8px);
}

.detail-card i {
    color: var(--light-blue);
    margin-right: 12px;
    font-size: 1.1em;
}

.social-contact {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: var(--light-blue);
    font-size: 22px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-blue);
    font-size: 0.95em;
}

input,
textarea {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(177, 212, 224, 0.2);
    border-radius: 6px;
    color: var(--white);
    font-size: 15px;
    transition: all 0.3s ease;
}

textarea {
    height: 100px;
}

input:focus,
textarea:focus {
    border-color: var(--primary-blue);
    background: rgba(177, 212, 224, 0.12);
    outline: none;
}

.submit-button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 35px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.success-message {
    display: none;
    color: #4CAF50;
    margin-top: 20px;
    text-align: center;
    font-size: 1.1em;
    padding: 10px;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    background: rgba(76, 175, 80, 0.1);
}

@keyframes flow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    h2 {
        font-size: 1.6em;
    }

    .contact-section {
        padding: 30px 15px;
        margin: 30px auto;
    }
}

/* Footer */
.footer {
background-color: #071640;
color: #FFFFFF;
padding: 40px 20px;
border-top: 4px solid #B1D4E0;
}

.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
}

.footer-section h4 {
color: #FFFFFF;
margin-bottom: 15px;
font-size: 1.2em;
}

.footer-links {
list-style: none;
padding: 0;
}

.footer-links li {
margin-bottom: 8px;
}

.footer-links a {
color: #FFFFFF;
text-decoration: none;
}

.footer-links a:hover {
color: #2E8BC0;
}

.contact-info {
color: #FFFFFF;
line-height: 1.6;
}

.copyright {
text-align: center;
padding: 20px;
margin-top: 40px;
color: #FFFFFF;
}

.copyright-links {
margin-top: 10px;
}

.copyright-links a {
color: #FFFFFF;
text-decoration: none;
margin: 0 10px;
}

.copyright-links a:hover {
color: #2E8BC0;
}

/* data-managemenet */
.data-management-banner{
    width: 100%;
    height: 100%;
    text-align: center;
}
.data-management-banner-img{
    width: 80%;
    height: 80%;
    margin: 0 auto;
}

/* power-bi-consulting */
.custom-dashboard-container {
    position: relative;
    padding: 15px;
}

.custom-dashboard-tabs {
    border-bottom: 2px solid #dee2e6;
}

.custom-dashboard-tab {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.custom-dashboard-tab:hover,
.custom-dashboard-tab.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    border-color: transparent;
}

.custom-dashboard-content {
    margin-top: 20px;
}

.custom-iframe-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-dashboard-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .custom-dashboard-tab {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .custom-dashboard-container {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .custom-dashboard-tabs {
        flex-direction: column;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
}

/* Technologies */
.tech-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e6f2ff, #ffffff);
    position: relative;
    text-align: center;
}

.tech-section h2 {
    color: #145DA0;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 2.4rem;
}

.tech-section p.description {
    color: #071640;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.tech-carousel-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 90%;
    margin: 0 auto;
}

.tech-card {
    flex: 1 1 14%;
    min-width: 160px;
    background-color: #ffffff;
    border: 2px solid #2E8BC0;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-10px);
}

.tech-card img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.tech-card h5 {
    color: #145DA0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.tech-card p {
    font-size: 0.9rem;
    color: #444;
    display: block;
}

@media (max-width: 576px) {
    .tech-section h2 {
        font-size: 1.8rem;
    }

    .tech-carousel-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
        width: 100%;
    }

    .tech-card {
        width: 100px;
        padding: 10px;
        background: none;
        border: none;
        box-shadow: none;
    }

    .tech-card p {
        display: none;
    }

    .tech-card img {
        height: 40px;
        margin-bottom: 8px;
    }

    .tech-card h5 {
        font-size: 0.9rem;
        margin: 0;
    }
}