/* Global Styles & Typography */
:root {
    --primary-color: #cc1d24; /* Drakhat Crimson Red */
    --secondary-color: #0f172a; /* Slate Dark Blue */
    --dark-color: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-color: #495057;
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Lato', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f4f7f6;
    background-image: linear-gradient(135deg, #f4f7f6 0%, #ffffff 100%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link, .btn {
    font-family: var(--font-main);
    font-weight: 600;
}

/* Topbar */
.topbar {
    font-size: 0.85rem;
    background-color: var(--dark-color) !important;
}
.topbar .social-links a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.topbar .social-links a:hover {
    background-color: var(--primary-color);
    color: white !important;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar-brand {
    letter-spacing: -0.5px;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50 !important;
    padding: 1rem 1.2rem !important;
    transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 0;
    border: none;
    padding: 1rem 0;
    min-width: 220px;
}
.dropdown-item {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: #444;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color);
}
.nav-link.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 0.3em;
}

/* Open Dropdown on Hover for Desktop */
@media all and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        animation: dropFadeIn 0.25s ease forwards;
    }
}
@keyframes dropFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Services Grid */
.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}
.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}
.service-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}
.service-text {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}
.read-more-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.read-more-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.read-more-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.about-img-wrap::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

/* Footer */
.footer {
    background-color: var(--dark-color) !important;
}
.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}
.footer-links a {
    transition: all 0.3s ease;
}

/* Eliminate Sharp Corners Globally */
.rounded-0,
.btn:not(.rounded-circle):not(.rounded-pill),
.card,
.form-control,
.form-select,
textarea,
input,
img:not(.rounded-circle) {
    border-radius: 5px !important;
}

/* Force hide injected third-party chat widgets (like GetButton, Tawk, etc. from browser extensions) */
div[id^="gb-widget"], 
div[class*="elfsight"], 
div[id*="whatsapp-widget"], 
div[class*="whatsapp-widget"], 
iframe[src*="getbutton"],
div[class*="tawk"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

/* --- Global Glassmorphism Elements --- */
.card, 
.dropdown-menu {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(25px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05) !important;
    border-radius: 15px !important;
}

/* Navbar is solid white across all pages */
.navbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid #eaeaea !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border-radius: 0 !important;
}

/* Make Dropdown highly readable while keeping a slight glass effect */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(25px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
}
.dropdown-item {
    font-weight: 500 !important;
    color: #222 !important;
}
.dropdown-item:hover {
    color: var(--primary-color) !important;
    background-color: rgba(204, 29, 36, 0.1) !important;
}

/* Specific fix for hero section and full-width sections to not look awkward with radius */
.hero-section {
    border-radius: 0 !important;
    backdrop-filter: none !important;
}
