/* Import the Montserrat Alternates font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;700&display=swap');

/* General Body Styles */
body {
    font-family: 'Montserrat Alternates', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Text Styles */
h1, h2, h3, h4, h5, h6, p, a, li, button {
    font-family: 'Montserrat Alternates', sans-serif;
}

/* Navigation Links */
.nav-link {
    color: #333 !important;
    font-weight: bold;
    padding: 0 15px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    color: #fff;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background: url('/img/main-business.jpeg') no-repeat center center/cover;
    overflow: hidden;
    padding: 0;
}

/* Overlay */
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    backdrop-filter: blur(2px);
}

/* Logo Container */
.hero .logo-container {
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.hero .logo-container img {
    max-width: 100%;
    height: 100px;
    z-index: 2;
}

/* Hero Container */
.hero .container {
    position: relative;
    z-index: 2;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    padding-left: 20px;
    width: 100%;
    max-width: none;
}

.hero h1 {
    font-size: 1.75rem;
    z-index: 2;
    margin-bottom: 10px;
    text-align: left;
}

/* Blog Hero Section Specific Styles */
.blog-hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    padding: 0 20px;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    text-align: left;
    margin-top: 0;
}

.blog-hero .logo-img {
    width: 350px;
    height: auto;
    opacity: 1;
    margin-bottom: 10px;
    text-align: left;
    margin-top: 0;
    margin-left: 0;
}

.blog-hero {
    padding-top: 50px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

/* Header Spacing Adjustments */
header {
    padding: 0;
}

header .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo-img {
    height: 50px;
    width: auto;
    margin-left: 0;
}

/* Footer Styles */
footer {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

/* Logo Image */
.logo-img {
    height: 50px;
    width: auto;
    z-index: 2;
}

/* Card Styles */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.card-img {
    transition: transform 0.3s ease;
}

.card-img-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
}

.card:hover .card-img {
    transform: scale(1.1);
}

/* Custom Section Styles */
.custom-section {
    margin: 0 auto;
    padding: 0;
}

/* Custom Section Styles */
.custom-section {
    margin: 0 auto;
    padding: 0;
}

.custom-section .blog-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 20px;
}

.custom-section .blog-item.card-custom {
    margin-bottom: 15px;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.custom-section .custom-card-img {
    transition: transform 0.3s ease;
    object-fit: cover;
    width: 100%;
    height: 200px; /* Adjust the height to make the images shorter */
}

.custom-section .blog-title {
    font-size: 1.25rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    color: white;
    text-decoration: none;
    display: block;
}

.custom-section .card-custom:hover .custom-card-img {
    transform: scale(1.05);
}


/* Blog Gallery */
.blog-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.blog-item img {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: cover;
}

.blog-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.blog-item {
    position: relative;
    overflow: hidden;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero .buttons-container {
        flex-direction: column;
        width: 100%;
        margin-top: 40px;
    }

    .hero .left-btn, .hero .right-btn {
        text-align: center;
        margin-bottom: 15px;
    }

    .blog-gallery {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: 1rem;
    }
}

/* Buttons Container */
.hero .buttons-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin-top: 60px; 
    z-index: 2;
}

.hero .left-btn {
    text-align: left;
    margin-left: 0;
}

.hero .right-btn {
    text-align: right;
    margin-right: 0;
}

.hero .buttons-container .btn {
    padding: 15px 30px;
    font-size: 1rem;
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
}

.hero .buttons-container .btn:hover {
    background: #fff;
    color: #333;
}

.custom-main-content {
    margin-bottom: 100px; /* Increase the bottom margin of the main section */
}

.success-stories {
    padding-top: 50px; /* Add padding at the top of the Success Stories section */
}
/* Custom CSS */
.video-section .embed-responsive {
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    position: relative;
}

.video-section .embed-responsive .embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Final Index Section */
.final-index-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.final-index-item {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-index-item .overlay-text {
    position: absolute;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    width: 100%;
    font-size: 1.25rem;
    text-align: center;
}

.final-index-section .btn {
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.btn-whatsapp {
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E; /* Darker WhatsApp green */
    transform: scale(1.05);
}
