/* Base styles */
:root {
    /* Updated color palette - more vibrant and engaging */
    --bg-color-dark: #2D3142;  /* Deeper slate blue instead of gray */
    --bg-color-light: #3E4259;  /* Slightly deeper/richer complementary shade */
    --text-color: #ffffff;     /* Pure white for text contrast */
    --accent-color: #4F86C6;   /* Vibrant blue accent */
    --accent-hover: #5D9BE6;   /* Lighter blue for hover states */
    --accent-light: #90B8F8;   /* Light blue for subtle accents */
    --accent-dark: #275293;    /* Darker blue for depth */
    --accent-gold: #ECBD3B;    /* Warm gold for contrasting accents */
    --accent-gold-hover: #FFD557; /* Brighter gold for hover states */
    --white: #ffffff;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --success: #28a745;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-circle: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--bg-color-dark), var(--bg-color-light));
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
    position: relative;
}

/* Add subtle texture overlay to body */
body:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

a {
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced button styles with more vibrant colors */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background-color: var(--accent-color);
    background-image: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    background-image: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    background-image: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--bg-color-dark);
    border-color: var(--white);
}

/* Enhanced section title styles */
.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-gold));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
    color: var(--white);
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Header styles with improved contrast and glow effects */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(45, 49, 66, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    background-color: rgba(45, 49, 66, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 2px 8px rgba(79, 134, 198, 0.5));
}

.logo-text {
    margin-left: 10px;
    line-height: 1.2;
}

.logo-name {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(144, 184, 248, 0.4);
}

.logo-tagline {
    font-size: 12px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-gold));
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--accent-light);
}

.nav-link:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Enhanced Hero section with better visual interest */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(45, 49, 66, 0.8), rgba(45, 49, 66, 0.9)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Add animated gradient overlay */
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(79, 134, 198, 0.1) 0%, 
        rgba(39, 82, 147, 0.1) 25%, 
        rgba(236, 189, 59, 0.1) 50%, 
        rgba(255, 213, 87, 0.1) 75%, 
        rgba(79, 134, 198, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
    z-index: 0;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
    background: linear-gradient(90deg, #ffffff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    margin-top: 40px;
    animation: fadeIn 1s ease 0.6s both;
}

.hero-buttons .btn {
    margin: 0 10px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    animation: bounce 2s infinite;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(236, 189, 59, 0.5);
    z-index: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Enhanced About section with better depth */
.about {
    padding: var(--section-padding);
    background-color: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.about:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 134, 198, 0.1) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    border-radius: var(--border-radius-circle);
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    top: 15px;
    left: 15px;
    z-index: -1;
    border-radius: var(--border-radius-md);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.about-text h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-gold));
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: linear-gradient(145deg, rgba(79, 134, 198, 0.05), rgba(79, 134, 198, 0.1));
    padding: 25px 20px;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.stat-item:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-gold));
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(79, 134, 198, 0.2);
}

.stat-item:hover:before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}