* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background-color: #f4f9ff;
    color: #333;
    line-height: 1.6;
}

/* Top Info Bar */
.top-bar {
    background-color: #001f4d;
    color: white;
    padding: 6px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.info-left span {
    margin-right: 20px;
}

@media (max-width: 600px) {
    .top-bar .container {
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }

    .info-left span {
        margin-left: 0;
        margin-right: 0;
        /* Remove right margin for stacking */
    }
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.header {
    height: 75px;
    /* Fixed header height */
    display: flex;
    align-items: center;
    background: #002d72;
    color: white;
    position: relative;
    z-index: 1000;
    padding: 0 20px;
    /* Add horizontal padding to header itself */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Ensure container fills header width */
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* --- Mobile Specific Styles (Default for Mobile First) --- */

/* Hamburger Menu Toggle */
.menu-toggle {
    display: block;
    /* Show hamburger on mobile */
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    order: 2;
    /* Position after logo */
}

/* Main Navigation (Hidden by default on mobile) */
.main-nav {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    /* Below the header */
    left: 0;
    width: 100%;
    background: #002f9e;
    /* Solid background for mobile menu */
    flex-direction: column;
    /* Stack links vertically */
    padding: 15px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    /* Ensure it's below top-bar but above content */
}

.main-nav.active {
    display: flex;
    /* Show when active */
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    /* Stack items vertically for mobile */
    align-items: center;
    /* Center align items */
    gap: 15px;
    /* Space between links */
    width: 100%;
    /* Ensure ul takes full width of nav */
}

.main-nav ul li {
    width: 100%;
    /* Make list items take full width */
    text-align: center;
    /* Center text within list items */
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 15px;
    /* Increase padding for better tap area */
    display: block;
    /* Make link fill padding area */
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: #004080;
    /* Highlight on hover */
}

/* Dropdown Container for Mobile */
.main-nav .dropdown {
    position: relative;
    width: 100%;
    /* Ensure dropdown takes full width */
}

.main-nav .dropdown a {
    position: relative;
    /* For caret positioning */
}

.main-nav .dropdown a .fas.fa-caret-down {
    margin-left: 5px;
    /* Space for caret */
}

/* Dropdown Menu for Mobile */
.main-nav .dropdown-menu {
    display: none;
    /* Hidden by default */
    position: static;
    /* Stack naturally within the flow for mobile */
    background: #003a8d;
    /* Slightly different background for sub-menu */
    color: white;
    /* Text color for sub-menu */
    box-shadow: none;
    /* No shadow for mobile dropdown */
    min-width: unset;
    /* Remove min-width constraint */
    border-radius: 0;
    /* No border-radius */
    padding: 0;
    /* Remove padding */
    width: 100%;
    /* Take full width */
}

.main-nav .dropdown.active .dropdown-menu {
    display: block;
    /* Show when parent dropdown is active */
}

.main-nav .dropdown-menu li {
    padding: 0;
    /* Remove padding from li */
    width: 100%;
    /* Full width */
}

.main-nav .dropdown-menu li a {
    color: white;
    /* Ensure links are white */
    padding: 10px 20px;
    /* Adjust padding for sub-items */
    background-color: #003a8d;
    /* Same as dropdown menu background */
}

.main-nav .dropdown-menu li a:hover {
    background-color: #004d99;
    /* Hover effect for sub-items */
}

/* --- Desktop Styles (Media Query) --- */
@media (min-width: 768px) {

    /* Top Bar - Desktop */
    .top-bar {
        padding: 6px 0;
        /* Original padding */
        font-size: 14px;
        /* Original font size */
        text-align: right;
    }

    .top-bar .container {
        justify-content: flex-end;
        flex-direction: row;
    }

    .info-left span {
        margin-right: 20px;
    }

    /* Header - Desktop */
    .header {
        height: 75px;
        padding: 0;
        /* Remove padding as container handles it */
    }

    .header .container {
        justify-content: space-between;
        /* Revert to original justify */
        width: 90%;
        /* Restore original container width */
    }

    .logo img {
        height: 90px;
    }

    /* Hide hamburger menu on desktop */
    .menu-toggle {
        display: none;
    }

    /* Main Navigation - Desktop */
    .main-nav {
        display: block;
        /* Always visible on desktop */
        position: static;
        /* No absolute positioning */
        width: auto;
        /* Auto width */
        background: none;
        /* No background */
        box-shadow: none;
        /* No shadow */
        flex-direction: row;
        /* Horizontal links */
        padding: 0;
        z-index: auto;
    }

    .main-nav ul {
        flex-direction: row;
        /* Horizontal links */
        gap: 20px;
        /* Restore original gap */
        width: auto;
        /* Auto width for ul */
    }

    .main-nav ul li {
        width: auto;
        /* Auto width for list items */
        text-align: left;
        /* Revert text alignment */
    }

    .main-nav a {
        padding: 0;
        /* Remove extra padding from mobile */
        display: inline-block;
        /* Revert to inline-block for proper spacing */
        background-color: transparent;
        /* No background hover */
    }

    .main-nav a:hover {
        color: #00aaff;
        background-color: transparent;
        /* No background hover */
    }

    /* Dropdown Container for Desktop */
    .main-nav .dropdown {
        position: relative;
        width: auto;
        /* Auto width */
    }

    /* Dropdown Menu for Desktop */
    .main-nav .dropdown-menu {
        display: none;
        /* Hidden by default */
        position: absolute;
        /* Absolute positioning */
        top: 100%;
        left: 0;
        background: white;
        /* White background */
        color: black;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        min-width: 180px;
        /* Restore min-width */
        border-radius: 5px;
        padding: 0;
        /* Ensure no padding on the ul itself */
    }

    /* Show Dropdown on Hover (Desktop) */
    .main-nav .dropdown:hover .dropdown-menu {
        display: block;
    }

    .main-nav .dropdown-menu li {
        padding: 10px;
        /* Restore padding for desktop dropdown items */
    }

    .main-nav .dropdown-menu li a {
        color: #111827;
        /* Dark text for desktop dropdown items */
        padding: 0;
        /* Remove padding as li handles it */
        background-color: transparent;
        /* No background */
    }

    .main-nav .dropdown-menu li:hover {
        background-color: #004080;
        color: white;
    }

    .main-nav .dropdown-menu li:hover a {
        color: white;
    }
}

#whatsappicon {
    text-decoration: none;
    color: rgb(77, 232, 77);
}

#whatsapp {
    text-decoration: none;
    color: rgb(77, 232, 77);
}

.cloud-service {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    gap: 20px;
}

.cloud-service img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.cloud-service h3 {
    color: #004ea2;
    margin-bottom: 12px;
    font-size: 22px;
}

.cloud-service ul {
    padding-left: 20px;
    color: #333;
    line-height: 1.7;
}

/* ✨ Section Heading */
.section-title {
    text-align: center;
    color: #002d72;
    font-size: 36px;
    margin-bottom: 0px;
    position: relative;
    margin-top: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3b82f6;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* 🟦 Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    padding: 50px 0;
}

/* 🎯 Individual Card */
.custom-service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: rotateCard 2.5s linear infinite;
    /* Faster & smoother */
}

.custom-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* 🔹 Card Image */
.custom-service-card .card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.custom-service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 🔸 Card Content */
.custom-service-card .card-content {
    background: #fff;
    padding: 24px;
    border-radius: 0 0 16px 16px;
    flex: 1;
}

.custom-service-card .card-content h3 {
    color: #1e3a8a;
    font-size: 20px;
    margin-bottom: 12px;
}

/* ✔️ Card List */
.custom-service-card .card-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.custom-service-card .card-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: #444;
    font-size: 15px;
}

.custom-service-card .card-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #3b82f6;
}

/* 🔘 Button */
.custom-service-card .card-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.custom-service-card .card-btn:hover {
    background: #3b82f6;
    color: white;
}

/* .custom-service-card {
            transform-style: preserve-3d;
            backface-visibility: hidden;
            perspective: 1000px;
            animation: rotateCard 3s ease-in-out 1;


        }

        .card-content,
        .card-image {
            backface-visibility: hidden;
        } */
.custom-service-card {
    perspective: 1000px;
    animation: rotateCard 4s ease-in-out 1;
    /* or infinite if needed */
    transform-style: preserve-3d;
}

/* Hide backface on all child elements */
.card-image,
.card-content {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Ensure consistent layout before and after rotation */
.custom-service-card img,
.custom-service-card h3,
.custom-service-card li {
    backface-visibility: hidden;
}

/* Rotation Keyframes */
@keyframes rotateCard {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}


/* 
        @keyframes rotateCard {
            0% {
                transform: rotateY(0deg);
            }

            50% {
                transform: rotateY(180deg);
            }

            100% {
                transform: rotateY(0deg);
            }
        } */
/* 👇 Keyframes for one slow 360° Y rotation */
/* @keyframes rotateCard {
            0% {
                transform: rotateY(0deg);
            }

            100% {
                transform: rotateY(360deg);
            }
        } */

/* 🔽 Responsive Fix */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        text-align: center;
    }

    .banner-content {
        max-width: 100%;
    }

    .banner-content h1 {
        white-space: normal;
    }
}

/* 🟦 Banner Section */
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
    background: linear-gradient(135deg, #007bff, #002d72);
    gap: 40px;
    flex-wrap: wrap;
    min-height: 400px;
    overflow: hidden;
}

.banner-content {
    max-width: 50%;
    display: block;
    position: relative;
    z-index: 1;
    color: white;
}

.banner-content h1 {
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    white-space: normal;
    /* allow wrapping if needed */
}

.banner-content p {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary {
    background-color: #00aaff;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #008ecc;
}

/* Banner Image Animation */
.banner-image {
    flex: 1;
    text-align: center;
}

.banner-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    animation: floatZoom 4s ease-in-out infinite;
}

@keyframes floatZoom {
    0% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.05) translateY(-10px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

/* 📱 Responsive */
@media (max-width: 992px) {
    .banner {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 5%;
    }

    .banner-content,
    .banner-image {
        max-width: 100%;
    }

    .banner-image img {
        max-width: 400px;
        margin-bottom: 20px;
    }
}

/* Section Heading */
.section-title {
    text-align: center;
    color: #002d72;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3b82f6;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 🚀 Services */
.services-section {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

.services-section h2 {
    color: #002d72;
    margin-bottom: 50px;
    font-size: 36px;
}

.services-grid {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #002d72;
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
}

/* 💡 Benefits Section */
.benefits-section {
    padding: 60px 10%;
    background: #f0f6ff;
    text-align: center;
}

.benefits-section .section-title {
    font-size: 36px;
    color: #002d72;
    margin-bottom: 30px;
}

/* .benefits-list {
            list-style: none;
            padding: 0;
            margin: 0 auto;
            max-width: 700px;
        /* } */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 700px;
    text-align: left;
}

/* .benefits-list li {
            font-size: 18px;
            color: #333;
            padding: 12px 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
            border-bottom: 1px solid #cce0ff;
            position: relative;
            text-align: left;
            padding-left: 80px;
        } */
.benefits-list li {
    /* opacity: 0;
            transform: translateX(-30px);
            padding: 12px 0 12px 30px;
            margin-bottom: 12px;
            font-size: 18px;
            color: #002d72;
            font-weight: 500;
            border-bottom: 1px solid #cce0ff;
            position: relative; */
    opacity: 0;
    transform: translateX(-40px);
    padding: 12px 0 12px 30px;
    margin-bottom: 12px;
    font-size: 18px;
    color: #002d72;
    font-weight: 500;
    border-bottom: 1px solid #cce0ff;
    position: relative;
    margin-left: 80px;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.benefits-list li.animate {
    animation: slideIn 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* .benefits-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
} */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

/* .benefits-list li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    margin-bottom: 12px;
    font-size: 18px;
    color: #002d72;
    font-weight: 500;
    position: relative;
    padding-left: 24px;
} */

/* .benefits-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #00aaff;
} */

.benefits-list li:nth-child(1) {
    animation-delay: 0.2s;
}

.benefits-list li:nth-child(2) {
    animation-delay: 0.4s;
}

.benefits-list li:nth-child(3) {
    animation-delay: 0.6s;
}

.benefits-list li:nth-child(4) {
    animation-delay: 0.8s;
}

.benefits-list li:nth-child(5) {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* .benefits-list li {
            animation: slideIn 0.5s ease forwards;
            animation-delay: calc(0.15s * var(--i));
            opacity: 0;
        } */


/* 🔗 Footer */
/* .footer {
            background-color: #001f4d;
            color: white;
            padding: 60px 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .footer h4,
        .footer h3 {
            margin-bottom: 15px;
        }

        .footer p,
        .footer a {
            color: #ddd;
            font-size: 14px;
        }

        .footer a:hover {
            color: #00aaff;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 13px;
            color: #aaa;
        } */


/* Footer Styles */
.site-footer {
    /* background-color: #1a203c; Dark blue from image */
    /* background-color: #0d0d57; */
    /* background-image: url(./bg_images/footer1.png); */
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 80px 0 20px;
    position: relative;
    z-index: 5;
    /* Ensure footer is below the grow-business section */
    margin-top: 50px;
    /* Adjust this to pull the footer up behind the grow-business section */
    /*padding-top: 150px;  Add padding to the top of the footer to account for the overlapping section */
    height: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: orange;
}

.footer-column address,
.footer-column p {
    margin-bottom: 10px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
}

.footer-column a:hover {
    color: orange;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #fff;
    font-size: 0.9em;
}

footer {
    background: #1a237e;
    /* background-color: #0d0d57; */
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}