/* General Styles */
:root {
    --primary-color: #e67e22;
    --secondary-color: #2c3e50;
    --accent-color: #d35400;
    --dark-color: #1a252f;
    --light-color: #ecf0f1;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
header {
    transition: all 0.3s ease;
}

.navbar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    padding: 15px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: all 0.3s ease;
    max-height: 70px;   /* default for desktop */
    width: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-brand img {
        width: auto;
        height: 60px;
    }
}

@media (max-width: 768px) {
     .navbar-brand img {
        width: auto;
        height: 45px;
    }
    }

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    margin-left: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Enhanced Dropdown Styles */
.dropdown-hover:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu-dark {
    background-color: var(--secondary-color);
}

.dropdown-item {
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 2px 10px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.dropdown-megamenu {
    width: 500px;
    padding: 0;
    overflow: hidden;
}

.btn-enquire {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-enquire:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: auto !important;
    min-height: unset !important;
    overflow: hidden;
    z-index: 10;
}

.carousel-item {
    height: 75%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 1;
    text-align: left;
    margin-top: -3px;
}

.caption-content {
    max-width: 700px;
}

.slide-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-title span {
    color: var(--primary-color);
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.slide-buttons .btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.slide-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.slide-buttons .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slide-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background-size: 1.5rem;
    transition: all 0.3s ease;
    margin-bottom: 135px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary-color);
}

/* Modal Styles */
.modal-content {
    border: none;
    z-index: 999999999;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 25px;
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-header .btn-close {
    background-color: #fff;
}

.form-control,
.form-select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Thank You Modal */
.thank-you-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-you-icon i {
    animation: bounceIn 0.8s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.8rem;
    }

    .slide-description {
        font-size: 1.1rem;
    }

    .dropdown-megamenu {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto !important;
        min-height: unset !important;
    }

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-subtitle {
        font-size: 0.8rem;
    }

    .slide-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .carousel-caption {
        margin-top: -10px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 0vh;
        min-height: 137px;
    }

    .slide-title {
        font-size: 1.2rem;
        margin-bottom: 1px;
    }

    .slide-subtitle {
        content-visibility: hidden;
        margin-bottom: 1px;
    }

    .carousel-caption {
        margin-top: -10px;
    }

    .slide-description {
        font-size: 0.9rem;
        margin-bottom: 1px;
    }

    .slide-buttons {
        display: flex;
    }

    .slide-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .slide-buttons .btn-outline-light {
        margin-left: 0 !important;
    }

    .modal-dialog {
        margin: 10px;
    }
}