/* ==========================================================================
   Premium BrandEadge Stylesheet
   ========================================================================== */

   :root {
    --primary-color: #0b5ed7; /* Deeper blue for buttons/links */
    --secondary-color: #0d6efd;
    --theme-bg: #ffffff;
    --theme-card: #f8f9fa;
    --text-main: #212529;
    --text-muted: #6c757d;
    --header-footer-bg: #0a2540; /* Dark Blue for Header/Footer */
    --glass-border: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--theme-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-core {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utilities */
.text-primary-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    color: #fff;
}

/* Navbar */
.navbar {
    background: var(--header-footer-bg);
    transition: all 0.4s ease;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: var(--header-footer-bg);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.8rem;
    color: #fff !important;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.navbar-toggler {
    border: none;
    color: #fff;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at top right, rgba(13,110,253,0.05) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(13,110,253,0.08) 0%, transparent 50%);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Services Cards */
.service-card {
    background: var(--theme-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,110,253,0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Footer */
.footer-area {
    background: var(--header-footer-bg);
    color: rgba(255,255,255,0.8);
    border-top: none;
}

.footer-area p, .footer-area span {
    color: rgba(255,255,255,0.7) !important;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    color: var(--text-muted);
}

.footer-contact i {
    margin-top: 5px;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Sections General */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
}

/* Counters */
.counter-box {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--theme-card);
    border: 1px solid var(--glass-border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    /* Navbar Mobile view */
    .nav-link::before { display: none; } /* Hide underline on mobile */
    .navbar-collapse {
        background: var(--header-footer-bg);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 10px;
    }
    .nav-item {
        padding: 5px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .dropdown-menu {
        background-color: transparent !important;
        border: none;
        padding-left: 20px;
        box-shadow: none !important;
    }
    .dropdown-item {
        color: rgba(255,255,255,0.7) !important;
        padding: 8px 0;
    }
    .dropdown-item:hover {
        color: #fff !important;
        background: transparent !important;
        padding-left: 10px;
    }
    .page-header {
        padding-top: 120px !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    .section-padding {
        padding: 60px 0;
    }
    .display-5 {
        font-size: 2rem;
    }
    .btn-primary-gradient {
        width: 100%;
        margin-bottom: 10px;
    }
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
    }
    .hero-section .d-flex.gap-3 .btn {
        width: 100%;
    }
}

/* Premium Dropdown Hover */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropFadeIn 0.3s ease;
    }
    .navbar .dropdown-menu {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
        padding: 10px 0;
    }
    .navbar .dropdown-item {
        padding: 10px 20px;
        transition: all 0.2s;
    }
    .navbar .dropdown-item:hover {
        background: rgba(13, 110, 253, 0.05);
        color: var(--primary-color);
        padding-left: 25px;
    }
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
