/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures consistent padding and width calculations */
}


/* ========== Navigation (NAV) Section ========== */
header {
    background: linear-gradient(180deg, white 0%, #e0f7fa 100%);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: #6c63ff;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Button Styling */
.Assessment-btn, .Consult-btn {
    background-color: transparent;
    color: #0b1120;
    border: 1px solid #0b1120;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.Assessment-btn:hover, .Consult-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.05); /* Subtle shadow effect */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.dropdown-container:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Darker shadow effect when hovering */
}

/* Dropdown Arrow */
.dropdown-arrow {
    border: solid #0b1120;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 5px;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 2px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Box shadow for subtle overlay effect */
    border-radius: 8px;
    display: none; /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 50;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

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

/* Show Dropdown on Hover */
.dropdown-container:hover .dropdown,
.dropdown-container .dropdown:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(180deg, white 0%, #e0f7fa 100%);
    text-align: center;
    padding: 80px 0;
}

/* ========== Ticker Section ========== */
.ticker {
    position: relative;
    overflow: hidden;
    height: 60px; /* Adjust as needed */
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 50px;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite; /* 20s for full scroll */
}

.ticker-content img {
    height: 40px;
    width: auto;
}

/* Keyframes for scrolling animation */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ========== Global Styles ========== */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--text-color);
}

/* Add Nunito to headings and other elements if needed */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

p, a, span, nav {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}


/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background-color: #6c63ff; /* Initial blue background */
    color: #ffffff; /* White text */
    font-size: 1.1rem; /* Slightly larger text */
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2); /* Add depth */
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 1; /* Ensure button is fully opaque */
}

/* Hover effect: Changes from blue to green */
.cta-button:hover {
    background-color: #00bfa6; /* Change to green on hover */
    color: #ffffff; /* Ensure text remains white */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
}

/* Apply subtle bounce animation */
@keyframes gentle-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px); /* Gentle bounce */
    }
    60% {
        transform: translateY(-3px); /* Smaller bounce */
    }
}

.cta-button.bounce {
    animation: gentle-bounce 2.5s infinite ease-in-out;
}


/* Style the Analytics Section Heading like the Programs Section Heading */
.analytics-heading {
    font-size: 3.5rem; /* Larger and bold */
    font-weight: 800; /* Extra bold */
    color: transparent;
    background: linear-gradient(90deg, #6c63ff, #00bfa6); /* Gradient for heading */
    background-clip: text;
    -webkit-background-clip: text;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    animation: text-fade-in 2s ease-out; /* Optional animation for a modern effect */
}

/* Optional: Fade-in animation */
@keyframes text-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Programs Section Heading */
.programs-heading {
    font-size: 3.5rem; /* Larger, bold font */
    font-weight: 800; /* Extra bold */
    color: transparent;
    background: linear-gradient(90deg, #6c63ff, #00bfa6);
    background-clip: text;
    -webkit-background-clip: text;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    animation: text-fade-in 2s ease-out;
}

.program-box {
    background-color: #0b1120; /* Dark background */
    color: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: box-fade-in 1.5s ease-out forwards;
    animation-delay: var(--animation-delay);
}

.program-box:hover {
    background: linear-gradient(135deg, #6c63ff, #00bfa6);
    transform: translateY(-10px) scale(1.05); /* Subtle scale on hover */
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

.program-box img {
    width: 55px;
    height: 55px;
    margin-bottom: 15px;
}

.program-box h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.program-box p {
    color: #6c63ff;
    font-weight: bold;
}

.program-box p:hover {
    text-decoration: underline;
}

/* Heading Fade-in Animation */
@keyframes text-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Box Fade-in Animation */
@keyframes box-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========== Programs Section ========== */
.programs-section {
    padding: 60px 20px;
    background: url('path-to-pattern.png'), linear-gradient(180deg, #f7fafc, #e0f7fa);
    background-size: cover; /* Pattern with gradient */
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.program-box {
    background-color: #0b1120; /* Dark background */
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.4s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: box-fade-in 1.5s ease-out forwards;
    animation-delay: var(--animation-delay);
    overflow: hidden;
}

.program-box:hover {
    background: linear-gradient(135deg, #6c63ff, #00bfa6); /* Gradient hover */
    transform: translateY(-10px) scale(1.05) rotateY(5deg) rotateX(5deg); /* 3D Hover effect */
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.25); /* Stronger shadow */
}

.program-box img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.program-box:hover img {
    transform: scale(1.1) rotate(10deg); /* Pulse and rotate */
}

.program-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.3), rgba(0, 191, 166, 0.3)); /* Transparent gradient */
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.program-box:hover::after {
    opacity: 1; /* Brings in subtle gradient overlay */
}

.program-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    transition: font-size 0.3s ease, color 0.3s ease;
}

.program-box:hover h3 {
    font-size: 1.75rem; /* Increase font size on hover */
    color: #fff; /* Make text brighter */
}

.program-box p {
    color: #6c63ff; /* Use primary color for 'See Programs' link */
    font-weight: bold;
    transition: color 0.3s ease;
}

.program-box:hover p {
    text-decoration: underline;
    color: white; /* Change link color on hover */
}

/* Box staggered fade-in animation */
@keyframes box-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Icon Effects ========== */
.program-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.program-box:hover img {
    transform: scale(1.2) rotate(5deg); /* Add rotation and scale on hover */
}

