/* Hero Section */
.hero {
    position: relative;
    height: 650px;
    overflow: hidden;
}

/* Swiper Slide */
.hero .swiper-slide {
    display: flex;
    flex-direction: column;
    height: 650px;
}

.hero .swiper-slide:nth-child(1) {
    background: linear-gradient(to right, #00000088, #00000088), url('hdr1.jpg') no-repeat center/cover;
    background-color: #333; /* Fallback color */
}
.hero .swiper-slide:nth-child(2) {
    background: linear-gradient(to right, #00000088, #00000088), url('hdr2.jpg') no-repeat center/cover;
    background-color: #333; /* Fallback color */
}

/* Navigation Container */
.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #001c3a;
    background-color: transparent;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Fixed class for when navbar is at top */
.nav-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #00000056;
    color: #fff;
}

.nav-container.fixed .nav-link {
    color: #fff !important;
}

/* Full-width top bar */
.top-bar {
    width: 100%;
    background-color: #f2f2f2;
    color: #001c3a;
    z-index: 2000;
}

/* Top Content */
.top-content {
    display: flex;
    justify-content: space-between;
    width: 80%;
    padding: 10px 0;
    font-size: 13px;
    margin: 0 auto;
}

.service-items {
    display: flex;
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sm-icons {
    display: flex;
    gap: 7px;
}

.icon-container {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #001c3a;
    border-radius: 50%;
}

.icon-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.icon-container i {
    font-size: 10px;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.0);
    padding: 0;
    width: 80%;
}

.navbar-brand {
    color: #fff;
    font-size: 1.5rem;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.nav-link {
    color: #001c3a !important;
    margin-right: 20px;
    position: relative;
    padding: 30px 25px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--secondary-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active::after {
    transition: none;
}

.nav-link i {
    margin-left: 5px;
    font-size: 12px;
    vertical-align: middle;
}

/* Call Us */
.call-us {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.call-us a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.call-us i {
    font-size: 16px;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 140px;
}

.btn-blue {
    background-color: #007bff;
    color: #fff;
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 1.1rem;
}

.btn-blue:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 1.1rem;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: #007bff;
}

/* Swiper Navigation and Pagination */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1;
}

/* Navbar Toggler Styles */
.navbar-toggler {
    border: none;
    background-color: #ff5722;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}
.navbar-toggler:hover {
    background-color: #e64a19;
}
.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.3);
}
.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #fff;
    display: block;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
    left: 0;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before {
    top: -8px;
}
.navbar-toggler-icon::after {
    top: 8px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Hero1 */
.hero1 {
    position: relative;
    height: 650px;
    background: url('hdr1.jpg') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: flex-start;
    text-align: left;
}
.hero1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    z-index: 1;
}
.hero1 .hero-content {
    position: relative;
    z-index: 2;
    margin: 0;
    margin-left: 80px;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero1 .hero-content .small-container {
    display: flex;
    align-items: center;
    margin: 0 0 10px;
    justify-content: flex-start;
    align-self: flex-start;
}
.hero1 .hero-content p.small {
    font-size: 0.9em;
    color: #fff;
    margin: 0;
    margin-right: 10px;
    text-align: left;
}
.hero1 .hero-content .underline {
    width: 50px;
    height: 2px;
    background-color: white;
}
.hero1 .hero-content h1 {
    font-size: 2.5em;
    margin: 0 0 20px;
    text-align: left;
    color: #fff;
    font-weight: 700;
}
.hero1 .hero-content p.description {
    font-size: 1.1em;
    margin: 0 0 30px;
    text-align: left;
    color: #fff;
}
.hero1 .hero-content a {
    
    padding: 10px 10px 10px 20px;
    background-color: #ff4500;
    color: white;
    text-decoration: none;
    
}
.hero1 .hero-content a:hover {
    background-color: #e03e00;
}

.hero1 .button1 {
    width: fit-content;
    display: flex;
    align-self: flex-start;
}

/* Hero2 */
.hero2 {
    position: relative;
    width: 100%;
    height: 650px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hdr2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}
.hero2 .hero2-text {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.hero2 .subtitle-text {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    margin-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.74);
    width: fit-content;
    padding: 10px 10px;
    align-self: center;
    border-radius: 10px;
}
.hero2 .hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.1;
    color: white;
    position: relative;
}
.hero2 .hero-title::before,
.hero2 .hero-title::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #ff6600;
    border-style: solid;
}
.hero2 .hero-title::before {
    top: -10px;
    left: 30px;
    border-width: 4px 0 0 4px;
}
.hero2 .hero-title::after {
    bottom: -10px;
    right: 30px;
    border-width: 0 4px 4px 0;
}
.hero2 .discover-more-btn {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    align-self: center;
}
.hero2 .discover-more-btn:hover {
    background-color: #e65c00;
}
.hero2 .button1 {
    width: fit-content;
    display: flex;
    align-self: center;
}

/* Hero3 */
.hero3 {
    position: relative;
    width: 100%;
    height: 650px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url('hdr3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero3 .hero3-text {
    width: 90%;
    max-width: 1200px;
    margin-left: 80px;
    position: relative;
    z-index: 1;
}
.hero3 .hero-content {
    color: white;
    max-width: 600px;
    text-align: left;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
}
.hero3 .hero-subtitle {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border-left: 4px solid #ff6600;
    padding-left: 10px;
    background-color: #090138;
    width: fit-content;
    padding: 10px 40px 10px 10px;
}
.hero3 .hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
    color: white;
    width: fit-content;
}
.hero3 .hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #eee;
}


.hero3 .button1 {
    width: fit-content;
    display: flex;
    align-self: flex-start;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991px) {
    .top-bar {
        display: none;
    }
    .nav-link {
        padding: 15px 10px;
    }
}

@media (max-width: 768px) {
    /* Hero1 */
    .hero1 {
        height: 100%;
        align-items: center;
        justify-content: center;
    }
    .hero1 .hero-content {
        margin-left: 0;
        max-width: 90%;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    .hero1 .hero-content .small-container {
        justify-content: center;
    }
    .hero1 .hero-content p.small {
        font-size: 0.8em;
        margin-right: 8px;
    }
    .hero1 .hero-content .underline {
        width: 40px;
        height: 2px;
    }
    .hero1 .hero-content h1 {
        font-size: 2em;
        margin: 0 0 15px;
    }
    .hero1 .hero-content p.description {
        font-size: 1em;
        margin: 0 0 20px;
    }

    /* Hero2 */
    .hero2 {
        height: 100%;
        padding: 20px;
    }
    .hero2 .hero2-text {
        max-width: 90%;
        padding: 0 10px;
    }
    .hero2 .subtitle-text {
        font-size: 0.8rem;
        margin-bottom: 8px;
        padding: 8px;
    }
    .hero2 .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    .hero2 .hero-title::before,
    .hero2 .hero-title::after {
        width: 15px;
        height: 15px;
        border-width: 2px;
    }
    .hero2 .hero-title::before {
        top: -5px;
        left: -15px;
    }
    .hero2 .hero-title::after {
        bottom: -5px;
        right: -15px;
    }

    /* Hero3 */
    .hero3 {
        height: 100%;
        padding: 20px;
        justify-content: center;
    }
    .hero3 .hero3-text {
        margin-left: 0;
        max-width: 90%;
        padding: 0 10px;
    }
    .hero3 .hero-content {
        max-width: 90%;
        text-align: center;
        align-items: center;
    }
    .hero3 .hero-subtitle {
        font-size: 0.9rem;
        padding: 8px 20px 8px 8px;
        border-left-width: 3px;
    }
    .hero3 .hero-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    .hero3 .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .hero3 .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* Define secondary color for nav-link */
:root {
    --secondary-color: #ff6600; /* Matches hero buttons */
}