@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Add these scrollbar hiding styles at the top */
::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Inter', sans-serif;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    overflow-y: scroll;
    /* Ensure page is scrollable even with hidden scrollbar */
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* for navbar */
nav a:hover {
    color: #007bff;
}

/* Smooth Transition for Navbar and Mobile Menu */
.menu-transition {
    transition: transform 0.3s ease-in-out;
}

/* Hamburger to X icon transition */
.hamburger-transition {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Mobile menu items fade-in */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Background Grid Pattern */
.bg-grid-pattern {
    background-image: linear-gradient(to right, #e5e7eb 1px, transparent 1px),
        linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Gradient Text Animation */
.animate-gradient {
    background: linear-gradient(270deg, #2563eb, #3b82f6, #60a5fa);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Image Hover Effects */
img {
    transition: all 0.5s ease;
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* FAQ Animations */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content.active {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

/* FAQ Button Hover */
.faq-button:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Social Media Icons */
.social-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    color: #4B5563;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.social-icon-link:hover {
    color: #2563EB;
    background-color: #F3F4F6;
    transform: translateY(-2px);
}

.social-icon-link span {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Add Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* If not already present, add these styles */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.15;
    }
}

.blur-3xl {
    --tw-blur: blur(64px);
    filter: var(--tw-blur);
}

/* hero section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #001f3f, #007bff);
    /* color: #00ffff; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
    /* text-shadow: 0 0 10px #00ffff; */
    padding: 0 15px;
}

.hero-content h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    white-space: nowrap;
    background: linear-gradient(to right, #ffffff, #007bff);
    /* Gradient from white to blue */
    -webkit-background-clip: text;
    /* Clip the gradient to text */
    color: transparent;
    /* Make the text color transparent */
    /* text-shadow: 0 0 10px #00ffff; */
}

#line1,
#line2 {
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 20px;
    margin-bottom: 2.5rem;
}

.btn-custom {
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.btn-primary-custom:hover {
    transform: translateY(-5px);
    background-color: #0056b3;
}

.btn-secondary-custom {
    background-color: #ffffff;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary-custom:hover {
    transform: translateY(-5px);
    background-color: #f0f8ff;
    color: #0056b3;
}

.floating-icons {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    pointer-events: none;
}

.floating-icons i {
    position: absolute;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 30%;
    left: 60%;
    animation-delay: 2s;
}

.floating-icons i:nth-child(3) {
    top: 50%;
    left: 15%;
    animation-delay: 4s;
}

.floating-icons i:nth-child(4) {
    top: 60%;
    left: 70%;
    animation-delay: 1s;
}

.floating-icons i:nth-child(5) {
    top: 75%;
    left: 30%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .floating-icons i {
        font-size: 30px;
    }

    .main-text {
        margin-bottom: 2.5rem;
    }

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
}

/* objectives */
.container {
    margin: 0 auto;
    padding: 0 1rem;
}

.core-values-section {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .core-values-section {
        grid-template-columns: repeat(3, 1fr);
    }

    .core-values-section h1 {
        grid-column: span 3;
    }
}

.core-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2), 0 5px 10px -2px rgba(0, 0, 0, 0.1);
}

.core-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.core-card p {
    color: #4B5563;
}

/* Add smooth transition to body content */
.content-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-wrapper.transitioning {
    opacity: 0;
    transform: translateY(20px);
}

/* Add transition to links */
a {
    transition: all 0.3s ease;
}

/* Desktop Menu Items */
.desktop-menu a {
    position: relative;
    transition: all 0.3s ease;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.desktop-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 45;
}

@media (max-width: 682px) {
    .mobile-menu-button {
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

    .menu-overlay.active {
        display: block;
    }
}

/* Simplified Mobile Menu Styles */
#mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#mobile-menu {
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    #mobile-menu-button {
        display: none;
    }
}


/* blog section css */
.blog-section {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.blog-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1F2937;
}

.blog-card p {
    color: #4B5563;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 0.75rem;
}

.blog-link {
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.blog-link:hover {
    color: #1D4ED8;
}