/* ------------------------------
   GLOBAL
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
    background: #111827;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #d6251a;
    font-size: 30px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    color: #d1d5db;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffffff;
}

/* Mobile menu button */
.menu-btn {
    display: none;
    background: none;
    border: none;
}

/* ------------------------------
   HERO SLIDER
------------------------------ */
.hero {
    position: relative;
}

.hero-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: #fff;
    max-width: 450px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
}

/* ------------------------------
   SECTIONS
------------------------------ */
.section {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-title2 {
    text-align: left;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ------------------------------
   SERVICES GRID
------------------------------ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 2px 7px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* ------------------------------
   BUTTON
------------------------------ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #111827;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 25px;
    transition: 0.3s;
}

.btn:hover {
    background: #222f3d;
}

.btn2 {
    display: inline-block;
    padding: 5px 15px;
    background: #111827;
    color: #ffffff;
    border-radius: 8px;
    font-size: 10px;
    margin-top: 25px;
    transition: 0.3s;
}

.btn2:hover {
    background: transparent;
    color: #ff6600;
}

/* ------------------------------
   FOOTER
------------------------------ */
.footer {
    background: #1f2937;
    color: #e5e7eb;
    padding: 50px 0;
}

.footer-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.footer h3,
.footer h4 {
    margin-bottom: 12px;
}

/* ------------------------------
   MOBILE RESPONSIVE
------------------------------ */
@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 250px;
        background: #111827;
        flex-direction: column;
        padding-top: 80px;
        transition: 0.4s;
        gap: 20px;
    }

    .menu-btn {
        display: block;
    }

    .hero-slide {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

}
/* ================================
   FIX OWL CAROUSEL NAV + DOTS
================================ */

/* Make navigation arrows larger, white, centered vertically */
.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4) !important;
    color: #fff !important;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 32px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider .owl-nav button.owl-prev {
    left: 25px;
}

.hero-slider .owl-nav button.owl-next {
    right: 25px;
}

/* Remove default background */
.hero-slider .owl-nav button span {
    font-size: 48px;
    color: #fff !important;
}

/* Make dots larger, centered, visible */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider .owl-dots .owl-dot span {
    width: 16px !important;
    height: 16px !important;
    background: #ddd !important;
    margin: 5px !important;
    border-radius: 50%;
    transition: 0.3s;
}

.hero-slider .owl-dots .owl-dot.active span {
    background: #fff !important;
    transform: scale(1.2);
}
/* Hero Button */
.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #ff6600;         /* Bright CTA color */
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid #ff6600;
}

.hero-btn:hover {
    background: transparent;
    color: #ff6600;
}

.hero-content {
    position: absolute;
    bottom: 10px;               /* keep above dots */
    left: 60px;
    color: #fff;
    max-width: 450px;
    z-index: 5;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
}

/* Submenu general styling */
.nav-links .submenu {
    position: absolute;
    background: #111827;
    padding: 15px 0;
    margin-top: 10px;
    list-style: none;
    min-width: 240px;
    display: none;
    border-radius: 6px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.nav-links .submenu li a {
    display: block;
    padding: 10px 20px;
    color: #d1d5db;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links .submenu li a:hover {
    background: #1f2937;
    color: #fff;
}

/* Show submenu on hover (desktop) */
.nav-links .has-submenu:hover .submenu {
    display: block;
}

/* Position submenu */
.nav-links .has-submenu {
    position: relative;
}

/* Arrow indicator */
.nav-links .has-submenu > a::after {
    content: " ▼";
    font-size: 12px;
}

/* Fix disappearing submenu issue */

.nav-links .has-submenu:hover .submenu {
    display: block;
    visibility: visible;
    opacity: 1;
}

.nav-links .submenu {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-links .has-submenu:hover > .submenu {
    visibility: visible;
    opacity: 1;
}

/* Prevent submenu from closing when hovering submenu itself */
.nav-links .submenu:hover {
    display: block;
    visibility: visible;
    opacity: 1;
}

.nav-links .submenu {
    margin-top: 1px; /* small gap to avoid cursor leaving */
}

/* ============================================
   CONTACT FORM CARD
============================================ */
.contact-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.08);
    max-width: 600px;
    /* margin: auto; */
}

.contact-card h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ============================================
   FLOATING LABEL FORM
============================================ */
.nice-form .input-group {
    position: relative;
    margin-bottom: 25px;
}

.nice-form input,
.nice-form textarea {
    width: 100%;
    padding: 14px 14px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background: transparent;
    outline: none;
    transition: 0.3s;
}

.nice-form textarea {
    resize: none;
}

.nice-form .input-group label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    padding: 0 6px;
    font-size: 16px;
    color: #888;
    pointer-events: none;
    transition: 0.3s;
}

/* When user types */
.nice-form input:focus,
.nice-form textarea:focus {
    border-color: #111827;
}

.nice-form input:focus + label,
.nice-form input:not(:placeholder-shown) + label,
.nice-form textarea:focus + label,
.nice-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 13px;
    color: #111827;
}

/* ============================================
   SUBMIT BUTTON
============================================ */
.form-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background: #111827;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.form-btn:hover {
    background: #222f3d;
}

/* ============================================
   FEEDBACK MESSAGE
============================================ */
.feedback-msg {
    display: none;
    margin-top: 15px;
    color: green;
    font-weight: 600;
    font-size: 16px;
}
