/* public/css/website.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Top Header */
.top-header {
    background: var(--dark-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-header a {
    color: white;
    text-decoration: none;
    margin-left: 5px;
}

.top-header a:hover {
    color: var(--primary-color);
}

.header-contact i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social-link {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-left: 5px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

.btn-login {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    margin-left: 15px;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #0056b3;
    color: white;
}

/* Main Navbar */
.main-navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand .brand-text {
    color: var(--dark-color);
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.brand-text span {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link i {
    margin-right: 5px;
    font-size: 14px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer */
.main-footer {
    background: var(--dark-color);
    color: #999;
    padding: 60px 0 0;
}

.footer-widget h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

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

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

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}

.contact-info a {
    color: #999;
    text-decoration: none;
}

.contact-info a:hover {
    color: white;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form .input-group {
    border-radius: 5px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 12px 15px;
}

.newsletter-form .btn {
    padding: 12px 20px;
    border-radius: 0;
}

.footer-bottom {
    background: #1e1e1e;
    padding: 20px 0;
    margin-top: 40px;
}

.copyright {
    margin: 0;
    color: #999;
}

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

.footer-bottom-links li {
    display: inline-block;
    margin-left: 20px;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px 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;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 99;
    transition: all 0.3s;
}

.scroll-to-top:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .top-header {
        display: none;
    }
    
    .navbar-nav {
        padding: 20px 0;
    }
    
    .footer-bottom .text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }
    
    .footer-bottom-links li:first-child {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}