html,body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

/* Apply EB Garamond to all headings */
h1, h2, h3, h4, h5, h6,label,.nav-item {
    font-family: 'EB Garamond', serif;
}

/* Apply Roboto Condensed to all paragraphs */
p {
    font-family: 'Roboto Condensed', sans-serif;
}

/* Base font sizes for mobile */
h1, h2, h3, h4, h5, h6,.nav-item {
    font-size: 24px; /* Adjust as needed */
}
p {
    font-size: 16px;
}
.nav-item a {
    font-size:18px;
}
label{
    font-size: 18px;
}

footer .col-md-4 h6{
    font-size: 18px;
    text-align: center;

}

/* Tablet screens */
@media (min-width: 768px) and (max-width:1024px){
    h1, h2, h3, h4, h5, h6,.nav-item {
        font-size: 30px; /* Adjust as needed */
    }
    p {
        font-size: 18px;
    }
    label{
        font-size: 20px;
    }
    footer .col-md-4 h6{
        font-size: 20px;
        text-align: center;

    }
}

/* Desktop screens */
@media (min-width: 1025px) {
    h1, h2, h3, h4, h5, h6,.nav-item{
        font-size: 35px; /* Adjust as needed */
    }
    p {
        font-size: 18px;
    }
    label{
        font-size: 20px;
    }
    footer .col-md-4 h6{
        font-size: 28px;
    }
}



/* Header Navbar */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.navbar-nav {
    margin-left: auto;
}


.navbar-nav .nav-item {
    margin-left: 10px;
}

.nav-link {
    color: #333 !important;
    font-weight: bold;
    font-size: 18px;
}

.nav-link:hover {
    color: #007bff !important;
}

.navbar-brand img {
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    color: #1d2d7a;
}

.brand-name p {
    font-size: 14px;
    text-align: center;
}
.navbar-toggler-icon {
    width: 20px;
    height: 20px;
    
}
.navbar-toggler{
    margin-top: 10px;
}



/* HOME PAGE */
/* Hero Section */
.hero-section {
    background: url('../images/img1.jpg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}

/* Overlay effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Cards Container */
.cards-container {
    /* position: absolute; */
    z-index: 2;
    /* width: 80%; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Horizontal Card */
.horizontal-card {
    width: 75%;
    /* height: 200px; */
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 40px;
    font-size: 18px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.horizontal-card p{
    font-size: 14px;
}

.horizontal-card h1{
    font-size: 36px;
}
/* Vertical Cards (Touching Bottom of Horizontal Card) */
.vertical-cards {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* position: absolute; */
    top: calc(50% + 125px); 
    z-index: 1;
    gap: 20px;
}

.vertical-cards .card {
    flex: 1;
    background: white; 
    text-align: center;
    padding: 20px;
    border-radius: 0; /* Sharp Borders */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto;
}

/* New Section Below Cards */
.info-section {
    margin-top: 100px; /* Reduced space */
    padding: 40px 0;
    position: relative;
    
  
}

/* Left Card with Background Image & Zoom Effect */
.info-card-left {
    /* background: url('assets/images/img3.jpg') no-repeat center center/cover; */
    height: 300px;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.info-card-left:hover {
    transform: scale(1.1); /* Zoom Out Effect */
}

/* Right Card Overlapping Left Card */
.info-card-right {
    background: #f8f9fa;
    height: 300px;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    left: 10%;
    top: 3px;
    width: 90%;
}

  /* Testimonial Section */
.testimonials {
    margin-top: 60px;
    padding: 25px 0;
    background: black;
    color: white;
    text-align: center;
    /* height:500px; */
}

.testimonial-card {
    padding: 30px;
    border-radius: 8px;
    max-width: 85%;
    margin: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
}

#contact-section {
padding: 100px 0;  /* Increased padding for better spacing */
}


.contact-info a {
    text-decoration: none;
    color: inherit;
}

.contact-info a:hover {
    color: #007bff !important;
}

.form-control {
    border: none;
    border-bottom: 2px solid #333;
    border-radius: 0;
    padding: 8px;
    font-size: 16px;
    background: transparent;
}

.form-control:focus {
    box-shadow: none;
    border-bottom: 2px solid #007bff;
}
    .required:after {
    content: " *";
    color: red;
}  


/* about page */

/* Hero Section */
.hero-section {
    background: url('../images/img4.jpg') no-repeat center center/cover;
    height: 60vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 28px;
    font-weight: bold;
}
/* Content Sections */
.content-section {
    padding: 15px 0;
    text-align: justify;
}
.content-section h2 {
    margin-bottom: 20px;
    font-weight: bold;
}
.content-section p {
    line-height: 35px;
}

/* SERVICE PAGE */

/* Hero Section - Background Image */
.hero-section-service {
    background: url('../images/img5.jpg') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    color: white;
}

/* Dark Overlay Effect */
.hero-section-service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hero Content */
.hero-content-service {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 28px;
    font-weight: bold;
}

/* Services Section */
.services {
    background: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.service-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.service-card h4 {
    font-weight: bold;
}


@media screen and (max-width: 1200px) and (min-width: 768px) {


    .info-section {
        margin-top: 200px;
    }


}


@media screen and (max-width: 768px) and (min-width: 300px) {


    .info-section {
        margin-top: 60px;
        padding: 25px;
    }
    

}



   

/* Responsive for mobile screens */
@media (max-width: 768px) {
    

    .vertical-cards {
        flex-direction: column;
        align-items: center;
        position: relative;
        top: calc(4vh - 40px);
        padding-top: 30px;
        
    }

    .vertical-cards .card {
        width: 90%;
        margin-bottom: 0;
        
    }
    


    .info-card-right {
        position: static;
        /* width: 100%; */
        margin-top: 5px;
        
    }
    .info-card-left,
    .info-card-right {
        width: 80%;
    }
    .navbar-nav {
        text-align: left !important;
    }

    .navbar-nav .nav-item {
        display: block;
        padding: 8px 16px;
    }

    .navbar-nav .nav-item:not(:last-child)::after {
        content: "";
        display: block;
        width: 100%;
        border-bottom: 1px solid #ddd;
    }

    .dropdown-menu {
        width: 100%;
        background-color: transparent !important;
        border: none !important;
    }

    .dropdown-item {
        color: #797272 !important;
        padding: 10px 16px;
    }

    .dropdown-item:hover {
        color: #000 !important;
        background-color: transparent !important;
    }
    .sub-dropdown {
        position: static;
        background-color: transparent;
        padding: 0;
        display: none;
    }

    /* Show only the 7 subcategories when hovering over "Products" */
    .nav-item.dropdown:hover > .main-dropdown {
    display: block;
    }
    
    /* Show the respective pages only when hovering on a subcategory */
    .dropdown-submenu:hover > .sub-dropdown {
    display: block;
    }
    

            
}

    /* Ensure submenu opens properly */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
    }

    .dropdown-submenu:hover .dropdown-menu {
        display: block;
    }




@media (min-width: 769px) {
    .dropdown-menu {
        background-color: #000 !important;
        border-radius: 0;
        padding: 10px 0; 
    }

    .dropdown-item {
        color:#797272 !important;
        padding: 12px 20px; 
    }


    .dropdown-item:hover {
        color: white !important;
        background-color: rgba(128, 128, 128, 0.2) !important; 
        transition: background-color 0.3s ease-in-out;
    }


    
}


/* Footer Styles */
footer {
    background: url('../images/img1.jpg') no-repeat center center/cover;
    min-height: 130px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

footer .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

footer .container {
    position: relative;
}

footer .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .col-md-4 {
    text-align: center;
    text-align: start;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

footer .col-md-4 img {
    height: 47px;
}

footer .col-md-4 h6 {
    margin-bottom: 0;
    margin-left: 10px;
}

footer .col-md-4 p {
    margin-bottom: 0;
}

.portfolio-item h4{
    font-size: 20px;
}

.portfolio-item p{
    font-size: 16px;
}

 
.portfolio-grid {
    margin: 8px -16px;
  }
  
  /* Add padding BETWEEN each portfolio item (if you want) */
  .portfolio-grid,
  .portfolio-item {
    padding: 8px;
  }
  
  /* Create three equal portfolio items that float next to each other */
  .portfolio-item {
    float: left;
    width: 33.33%;
    display: none; /* Hide items by default */
  }
  
  /* Clear floats after portfolio grid */
  .portfolio-grid:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Content */
  .portfolio-content {
    background-color: white;
    padding: 10px;
  }
  
  /* The "show" class is added to the filtered elements */
  .show {
    display: block;
  }
  .portfolio-content h4{
    font-size: 22px;
  }
  .portfolio-content p{
    font-size: 18px;
  }
  /* Style the buttons */
  .filter-btn {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: white;
    cursor: pointer;
  }
  
  /* Add a grey background color on mouse-over */
  .filter-btn:hover {
    background-color: #ddd;
  }
  
  /* Add a dark background color to the active button */
  .filter-btn.active {
    background-color: #666;
    color: white;
  }

  .footer-brand{
    font-size:12px
  }
  @media screen and (max-width: 540px) and (min-width: 400px) {

  .portfolio-item {
    width: 50%;
  }


}


@media screen and (max-width: 991px) and (min-width: 400px) {
    footer .col-md-4 h6{
        font-size: 25px;
        text-align: center;

    }
.brand-name p {
    font-size: 10px;
    text-align: center;
}
}

@media screen and (max-width: 400px) {

    .portfolio-item {
      width: 100%;
    }
    .brand-name p {
        font-size: 10px;
        text-align: center;
    }
    footer .col-md-4 h6{
        font-size: 25px;
        text-align: center;
    }
    .horizontal-card h1{
        font-size: 18px;
    }
    .horizontal-card p{
        font-size: 10px;
    }

  }