:root {
    --primary: #1A3C6C;
    --secondary: #E63946;
    --accent: #4ECDC4;
    --light: #F7F9FC;
    --dark: #212529;
    --gradient-primary: linear-gradient(135deg, #1A3C6C 0%, #2A5298 100%);
    --gradient-secondary: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%);
    --gradient-accent: linear-gradient(135deg, #4ECDC4 0%, #2EC4B6 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    text-align: center;
}

.preloader-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(26, 60, 108, 0.1);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    margin: 0 12px;
    position: relative;
    transition: all 0.3s;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary) !important;
}

/* Buttons */
.btn-custom {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.3);
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    z-index: -1;
}

.btn-custom:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(230, 57, 70, 0.4);
}

.btn-custom:hover::before {
    width: 100%;
}

.btn-custom-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.btn-custom-outline:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 12px 20px rgba(255, 255, 255, 0.3);
}

.btn-icon {
    margin-right: 8px;
    transition: transform 0.3s;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzFBM0M2QyI+PHBhdGggZD0iTTEyODAgMTQwVjBTOTkzLjQ2IDE0MCA2NDAgMTM5IDAgMCAwIDB2MTQweiIvPjwvZz48L3N2Zz4=');
    background-size: 100% 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.footer-logo-text span {
    color: var(--secondary);
}

.footer-about {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    opacity: 0.7;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-contact-text a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-contact-text a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.copyright a {
    color: var(--secondary);
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

