/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F5F7FA;
    color: #6B7280;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: #001F5B;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #003087;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 100px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Header */
header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

header.scrolled {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.95);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: 1;
}

.hero-text {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    color: #FFFFFF !important;
}

/* Typing Animation */
.typing-text span {
    display: inline-block;
    opacity: 0;
    color: #FFFFFF;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: #FFFFFF;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Glowing Button */
.glow-button {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 48, 135, 0.3);
    background: #003087;
}

/* Feature Card */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 48, 135, 0.15);
}

.feature-card img {
    flex-shrink: 0;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.feature-card > div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-card h3 {
    flex-shrink: 0;
}

.feature-card p {
    flex-grow: 1;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Section Gradient Overlay */
.section-bg {
    position: relative;
    background: #F5F7FA;
}

.section-content {
    position: relative;
    z-index: 1;
}

/* Benefits Section */
.benefits-section {
    background: #E6F0FA;
}

/* Card Hover Effect for Benefits */
.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 48, 135, 0.15);
}

/* Portfolio Card */
.portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 48, 135, 0.15);
}

.portfolio-card img {
    transition: transform 0.3s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

/* Blog Card */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 48, 135, 0.15);
}

.blog-card img {
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* Fade-in Animation for Text */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    pointer-events: auto;
}

.dropdown-menu.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Ensure dropdown menu items are clickable */
.dropdown-menu a {
    pointer-events: auto;
    cursor: pointer;
    display: block;
}

/* Legal Links */
.legal-links a {
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #4A90E2;
}

/* Particle Animation */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Hero Logo - Prevent compression and improve appearance */
.hero-logo {
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 10rem;
    max-height: 10rem;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.3));
}

/* Additional Styles */
.gradient-text {
    background: linear-gradient(90deg, #4A90E2, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.smart-art {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
}

