/* Root Variables */
:root {
    /* Primary Colors */
    --primary-color: #2C5282;    /* Deep Blue - Trust & Education */
    --secondary-color: #4299E1;  /* Bright Blue - Knowledge */
    --accent-color: #48BB78;     /* Green - Growth */
    
    /* Supporting Colors */
    --dark-color: #1A365D;       /* Navy Blue - Authority */
    --light-color: #EBF8FF;      /* Light Blue - Clarity */
    --text-color: #2D3748;       /* Dark Gray - Readability */
    --white-color: #ffffff;      /* Pure White */
    --success-color: #48BB78;    /* Green - Success */
    --warning-color: #ECC94B;    /* Yellow - Warning */
    --info-color: #4299E1;       /* Blue - Information */
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    
    /* Fonts */
    --primary-font: 'Poppins', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
    
    /* Effects */
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

/* Global Styles */
body {
    font-family: var(--primary-font);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--secondary-font);
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animation Classes */
.wow {
    visibility: hidden;
}

/* Responsive Styles */
@media (max-width: 991px) {
    :root {
        --border-radius: 10px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
} 