* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #fff;
}

/* ===================== Header ===================== */
/* ===================== NAVBAR ===================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(70, 70, 70, 0.9);
    z-index: 999;
}

nav {
    max-width: 1340px;
    height: 100px;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===================== LOGO ===================== */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-img {
    height: 3rem;
    object-fit: contain;
}

/* ===================== NAV LINKS ===================== */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}

/* Anchor Tags & Dropdown Button */
.nav-links a,
.dropdown-btn {
    text-decoration: none;
    color: black;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 1rem;
    background: transparent;
    border: none;
}

/* Active Capsule */
.nav-links a.active,
.dropdown-btn.active {
    background-color: #235097;
    color: white !important;
    font-weight: 600;
}

/* Hover Effect */
.nav-links a:hover,
.dropdown-btn:hover {
    color: #235097;
}

/* ===================== DROPDOWN ===================== */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-left: 19px;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 10px rgba(70, 70, 70, 0.9);
    min-width: 200px;
    border-radius: 4px;
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: black;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

/* ===================== FOOTER ===================== */
footer {
    background-color: #161F2D;
    color: white;
    padding: 40px 20px 10px 20px;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: auto;
}

.footer-section {
    flex: 1 1 220px;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-section a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: white;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Icon Row Before Copyright */

.footer-divider-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: transparent;
    margin-bottom: 10px;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: #ccc;
    width: 90%;
    max-width: 1300px;
    opacity: 0.6;
}

.footer-icons-row {
    width: 100%;
    padding: 5px 0;
    margin-top: 30px;
    background-color: transparent;
    /* Keeps background see-through */
    display: flex;
    justify-content: center;
    /* Centers the icons horizontally */
    align-items: center;
    gap: 30px;
    /* Spacing between icons */
}

.footer-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-icon:hover {
    transform: scale(1.15);
    /* Slight zoom on hover */
}

.copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #ccc;
}

/* ============================== Cloud Page Body Styling ==================================== */

/* ===== Global Styles ===== */
body {
    background-color: #f8fafc;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: #264993;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn:hover {
    background: #235097;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(15, 33, 71, 0.3);
}

.section-title {
    font-size: 2.2rem;
    background: linear-gradient(to right, #0f2147, #122e66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-align: center;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(15, 33, 71, 0.8), rgba(15, 33, 71, 0.8)),
        url('image/cloud-background.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: left;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    margin-top: 100px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* ===== Cloud Plans Section ===== */
.cloud-section {
    padding: 80px 0;
    background: white;
}

.cloud-container {
    display: flex;
    gap: 30px;
    margin-top: 70px;
}

.plan-nav {
    flex: 1;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.plan-nav-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.plan-nav-card:hover,
.plan-nav-card.active {
    border-left: 4px solid #0f2147;
    background: white;
    box-shadow: 0 5px 20px rgba(15, 33, 71, 0.1);
}

.plan-nav-card h3 {
    color: #0f2147;
    margin-bottom: 10px;
}

.plan-content {
    flex: 2;
    margin-top: -20px;
}

.plan-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 2px solid #0f2147;
    border-top: 0px;
    border-right: 0px;
    border-bottom: 0px;
}

.plan-card h2 {
    color: #0f2147;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.plan-card .best-for {
    font-weight: 500;
    color: #235097;
    margin-bottom: 15px;
}

.plan-features {
    margin: 20px 0;
    font-weight: bold;
    margin-left: -10px;
}

.plan-features li {
    list-style: none;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.plan-features li i {
    color: #235097;
    margin-right: 10px;
}

.use-case {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-style: italic;
    margin-left: -15px;
}

/* ===== Product Comparison ===== */
.product-comparison {
    padding: 80px 0;
    background: #f8fafc;
}

.product-cards {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 2px solid #0f2147;
    border-top: 0px;
    border-right: 2px solid #0f2147;
    border-bottom: 0px;
}

.product-card:hover {
    transform: translateY(0px);
    box-shadow: 0 15px 30px rgba(.7, .7, .7, .7);
}

.product-card img {
    height: 150px;
    margin-bottom: 20px;
}

.product-card h3 {
    color: #0f2147;
    margin-bottom: 20px;
    font-size: 2rem;
}

.product-features {
    text-align: center;
    margin: 25px 0;
    padding: 0;
}

.product-features li {
    list-style: none;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    transition: all 0.3s ease; /* Smooth hover effect */
}

.product-features li:hover {
    font-weight: bold; /* Bold on hover */
    transform: scale(1.02); /* Slight zoom effect (optional) */
}

.product-features li i {
    color: #235097;
    margin-right: 10px;
    transition: all 0.3s ease; /* Smooth hover effect */
}

.product-features li:hover i {
    transform: scale(1.1);
}

/* ===== Why Choose Us ===== */
.why-us {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #f0f7ff;
    transform: translateY(-5px);
    border-left: 2px solid #0f2147;
    border-top: 0px;
    border-right: 2px solid #0f2147;
    border-bottom: 0px;
}

.benefit-card i {
    font-size: 2.5rem;
    color: #235097;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #0f2147;
    margin-bottom: 15px;
}

.cta-section {
    text-align: center;
    margin-top: 50px;
}

/* ========================== MOBILE RESPONSIVE of Cloud Page =========================== */

/* ===================== NAVBAR - MOBILE RESPONSIVE ===================== */

@media (max-width: 992px) {
    nav {
        height: auto;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        justify-content: left;
        margin-bottom: 1rem;
    }

    .logo-img {
        height: 4rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        display: none;
        /* Hidden by default, shown via hamburger */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a,
    .dropdown-btn {
        padding: 10px;
        border-radius: 5px;
        width: 100%;
        text-align: center;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        margin-left: 0;
        width: 100%;
        box-shadow: none;
    }

    /* Mobile menu toggle */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1rem;
        cursor: pointer;
        z-index: 1000;
        margin-top: 20px;
    }

    .hamburger {
        width: 30px;
        height: 3px;
        background: #235097;
        display: block;
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger:before,
    .hamburger:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: #235097;
        transition: all 0.3s ease;
    }

    .hamburger:before {
        top: -8px;
    }

    .hamburger:after {
        top: 8px;
    }

    .menu-toggle.active .hamburger {
        background: transparent;
    }

    .menu-toggle.active .hamburger:before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle.active .hamburger:after {
        top: 0;
        transform: rotate(-45deg);
    }
}

/* ===================== FOOTER - MOBILE RESPONSIVE ===================== */

@media (max-width: 936px) {
    footer {
        padding: 30px 15px 10px;
    }

    .footer-sections {
        flex-direction: column;
        gap: 25px;
    }

    .footer-section {
        flex: 1 1 100%;
        text-align: center;
    }

    .footer-section h4 {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .footer-section a {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .footer-icons-row {
        gap: 15px;
        margin-top: 20px;
    }

    .footer-icon {
        width: 35px;
        height: 35px;
    }

    .copyright {
        margin-top: 20px;
        font-size: 0.8rem;
    }
}

/* ===================== Main Cloud Section - MOBILE RESPONSIVE ===================== */

@media only screen and (max-width: 768px) {
    /* General adjustments */
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Hero section */
    .hero {
        padding: 60px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        margin-top: 100px;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Product comparison */
    .product-comparison {
        padding: 50px 0;
    }

    .product-cards {
        flex-direction: column;
        gap: 20px;
    }

    .product-card {
        padding: 25px;
    }

    .product-card img {
        height: 120px;
    }

    .product-card h3 {
        font-size: 1.5rem;
    }

    /* Why choose us */
    .why-us {
        padding: 50px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 25px;
    }

    .benefit-card i {
        font-size: 2rem;
    }

    .cta-section {
        margin-top: 30px;
    }

    /* Cloud plans section - updated version (keep this one) */
    .cloud-section {
        padding: 50px 0;
    }

    .cloud-container {
        flex-direction: column;
        margin-top: 30px;
        gap: 20px;
    }

    .plan-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding-bottom: 0;
        overflow-x: visible;
    }

    .plan-nav-card {
        min-width: calc(50% - 15px);
        max-width: 100%;
        margin-bottom: 0;
        padding: 15px;
        text-align: center;
        flex-grow: 1;
    }

    .plan-content {
        margin-top: 0;
    }

    .plan-card {
        padding: 20px;
    }

    .plan-card h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .best-for {
        text-align: center;
    }

    .plan-features {
        margin-left: 0;
    }

    .plan-features li {
        font-size: 0.9rem;
        justify-content: flex-start;
    }

    .use-case {
        margin-left: 0;
        text-align: center;
    }

    .btn {
        display: block;
        text-align: center;
        margin: 20px auto 0;
    }
}

/* For very small devices (below 480px) */
@media only screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .plan-nav-card {
        min-width: 100%;
    }

    .product-card img {
        height: 100px;
    }
}

/* For medium devices (between 768px and 1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    /* Adjust cloud plan cards for tablet */
    .plan-nav-card {
        padding: 20px 15px;
    }
    
    /* Adjust product cards for tablet */
    .product-card {
        padding: 25px 15px;
    }
}