/* Custom Styles for HAJARIS */

:root {
    --primary-color: #0b2e59;
    --secondary-color: #fca311;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.text-warning { color: var(--secondary-color) !important; }

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(11, 46, 89, 0.8), rgba(11, 46, 89, 0.8)), url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card .card-body {
    padding: 25px;
}

.service-card .card-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(11, 46, 89, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    background-color: var(--primary-color);
    color: white;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #082244;
    border-color: #082244;
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #e5930e;
    border-color: #e5930e;
    color: white;
}

/* Utilities */
.shadow-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.hover-white:hover {
    color: white !important;
}

/* Dropdown Hover Effect */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    /* Nested Dropdown Hover */
    .dropend:hover > .dropdown-menu {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 100% !important;
        margin-left: 0.125rem !important;
        transform: none !important;
        min-width: 280px;
    }
}

.dropend .dropdown-menu {
    border-radius: 0.5rem;
}

/* Active Main Menu Link Color */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active.text-primary,
.navbar-nav .nav-link.active.text-dark {
    color: var(--secondary-color) !important;
}