/* --- 1. THEME SETTINGS --- */
:root {
    --primary: #0ea5e9;       /* Bright Electric Blue */
    --primary-dark: #0284c7;  /* Hover State */
    --dark: #0f172a;          /* Deep Navy/Black */
    --secondary: #64748b;     /* Muted Text */
    --light: #f8fafc;         /* Light Background */
    --footer-bg: #020617;
    
    --font-heading: "Montserrat", sans-serif;
    --font-body: "Inter", sans-serif;
}

/* --- 2. BASE STYLES --- */
body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.8;
}
html, body{
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 0px;
    font-weight: 400;
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.text-secondary { color: var(--secondary) !important; }

/* --- 3. COMPONENTS --- */
.section-padding { padding: 100px 0; }
.topbar { background-color: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.1); }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- 4. HERO SECTION --- */
.hero-section {
    background: url('../images/main-img.jpg') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%);
}
.hero-title { text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.quote-form-wrapper { border-top: 5px solid var(--primary); }

/* --- 5. SERVICE CARDS (GRID FIXES) --- */
.service-card {
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    border-color: var(--primary);
}
.icon-circle {
    width: 70px; height: 70px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.service-card:hover .icon-circle { background: var(--primary); }
.service-card:hover .icon-circle i { color: white !important; }

/* --- 6. FOOTER --- */
.hover-white:hover { color: white !important; transition: 0.3s; }
.footer-section {
    background-color: var(--footer-bg);
    font-size: 0.95rem;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-dark-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}
#reviews{
    background-color: #f8f8f8;
}
/* Newsletter Input */
.footer-section input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.footer-section input:focus {
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white;
}

/* Social Buttons */
.social-btn {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: white;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px); /* Slide effect */
}

.hover-white:hover {
    color: white !important;
}
/* --- 7. RESPONSIVE --- */
@media (max-width: 991px) {
    .hero-section { text-align: center; padding-top: 100px; padding-bottom: 50px; }
    .hero-overlay { background: rgba(15, 23, 42, 0.9); }
    .hero-section .d-flex.gap-5 { justify-content: center; }
    .quote-form-wrapper { margin-top: 40px; }
    .section-padding {
        padding: 60px 0;
    }
    #services h2.display-5 {
        margin-bottom: 20px;
    }
    .footer-cta form { display: flex; flex-direction: column; gap: 10px; }
    .footer-cta button { position: static !important; width: 100%; padding: 15px !important; }
    .footer-section input { padding-right: 20px; }
}