/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    background: #333;
    color: #fff;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}
    
button.menu-toggle {
    display: none;
}
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }
        
    .nav-links.active {
        display: flex;
    }
    
    button.menu-toggle {
        display: block;
        cursor: pointer;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
    }
}

.logo {
    font-size: 1.8em;
    color: #f0c040;
    font-weight: bold;
}

.mt-2{
    margin-top: 20px !important;
}

.mt-3{
    margin-top: 30px !important;
}

.mt-4{
    margin-top: 40px !important;
}

.mt-5{
    margin-top: 50px !important;
}

.mt-6{
    margin-top: 60px !important;
}

.mt-7{
    margin-top: 70px !important;
}

.mt-10{
    margin-top: 100px !important;
}

/* .hero {
    position: relative;
    background: url('https://balajiinteriorsandelectricals.com/assets/images/banner-1.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
} */


.hero {
    position: relative;
    background: url('https://balajiinteriorsandelectricals.com/assets/images/banner-1.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 20px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.text-content {
    flex: 1;
    text-align: left;
    max-width: 50%;
}

/* Updated form styles for attractiveness */
.query-form {
    flex: 1;
    max-width: 31%; 
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); 
    border-radius: 10px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); 
}

.hero-heading {
    text-align: center;
    margin: 0 auto; 
}

.hero-heading h1 {
    font-size: 2.5rem;
    margin: 0; 
    line-height: 1.2; 
}

.hero-heading p {
    font-size: 1.25rem;
    margin-top: 10px; 
    margin-bottom: 0; 
    line-height: 1.5; 
    color: #cec6c6;
}

/* Input and textarea styles */
.query-form input,
.query-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px; 
    border: 2px solid #ddd; 
    border-radius: 5px;
    font-size: 16px; 
    transition: border-color 0.3s ease; 
}

.query-form input:focus,
.query-form textarea:focus {
    border-color: #28a745; 
    outline: none; 
}

/* Placeholder styles */
.query-form input::placeholder,
.query-form textarea::placeholder {
    color: #999;
}

/* Updated submit button styles */
.query-form .form-submit {
    padding: 15px 30px; 
    font-size: 16px; 
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.query-form .form-submit:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }

    .text-content,
    .query-form {
        max-width: 100%;
        margin-left: 0;
    }

    .query-form {
        margin-top: 20px;
    }
}

/*.hero-content h1,*/
/*.hero-content p {*/
/*    line-height: 1.2;*/
/*    opacity: 0;*/
/*    animation-duration: 2s;*/
/*    animation-fill-mode: forwards;*/
/*}*/

.hero-content h1,
.hero-content p,
.hero-content .cta-button,
.hero-content .query-form {
    opacity: 0;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.hero-content p {
    margin-top: 20px !important;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ff5722;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #e64a19;
}

.fade-in {
    animation-name: fadeIn;
}

.slide-in {
    animation-name: slideIn;
}

/* Keyframes for fading in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for sliding in */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.services {
    padding: 50px 20px;
    text-align: center;
}

#services a {
    text-decoration: none;
}

.services h2 {
    margin-bottom: 20px;
}

.service-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-item {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 30%;
    max-width: 300px;
}

.portfolio {
    padding: 50px 20px;
    text-align: center;
}

.portfolio h2 {
    margin-bottom: 20px;
}

.portfolio-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta {
    padding: 50px 20px;
    background: #f36f6f;
    color: #fff;
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 20px;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact input,
.contact textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact button {
    padding: 15px;
    background: #f36f6f;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.contact button:hover {
    background: #d64d4d;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    border-radius: 50% !important;
}
/* Footer */
footer {
    background: linear-gradient(135deg, #333, #1a1a1a);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid #444;
}

.footer-container > div {
    flex: 1;
    max-width: 300px;
}

.footer-about p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #ccc;
}

.footer-links h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #f0c040;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #f0c040;
}

.footer-social h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #f0c040;
}

.footer-social .social-icons {
    /* display: flex; */
    justify-content: start;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 1.2em;
    padding: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #444, #555);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    text-decoration: none;
}

/* Hover effect */
.footer-social a:hover {
    background: linear-gradient(135deg, #f0c040, #f5d06f);
    color: #333;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


.footer-bottom {
    padding-top: 20px;
    font-size: 0.9em;
    color: #ccc;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-container > div {
        max-width: none;
    }
}

/* Services Page */
.services {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f4f4f4, #e8e8e8);
    font-family: 'Arial', sans-serif;
}

.services h1 {
    margin-bottom: 20px;
    font-size: 3em;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services p {
    margin-bottom: 40px;
    font-size: 1.2em;
    color: #777;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.33% - 40px);
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.service-icon img {
    width: 283px;
    height: 183px;
    object-fit: cover;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.8em;
    color: #333;
    font-weight: 600;
}

.service-item p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Portfolio Page */
.portfolio {
    padding: 100px 20px 50px;
    text-align: center;
    background: #f4f4f4;
}

.portfolio h1 {
    margin-bottom: 20px;
    font-size: 3em;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio p {
    margin-bottom: 40px;
    font-size: 1.2em;
    color: #666;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.portfolio-overlay p {
    font-size: 1em;
}

/* Contact Page */
.contact {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.contact h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 3em;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form{
    flex: 1;
    max-width: 500px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    max-width: 700px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.contact-form label,
.contact-info p {
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form button {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.contact-form button:hover {
    background: #555;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 20px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 300px; /* Adjust height as needed */
    border: 0;
}


/* Testimonial Sliders Section */
.shadow-effect {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
border:1px solid #ECECEC;
    box-shadow: 0 19px 38px rgba(0,0,0,0.10), 0 15px 12px rgba(0,0,0,0.02);
}
#customers-testimonials .shadow-effect p {
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 17px 0;
    font-weight: 300;
}
.testimonial-name {
    margin: -17px auto 0;
    display: table;
    width: auto;
    background: #3190E7;
    padding: 9px 35px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}
#customers-testimonials .item {
    text-align: center;
    padding: 50px;
        margin-bottom:80px;
    opacity: .2;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#customers-testimonials .owl-item.active.center .item {
    opacity: 1;
    -webkit-transform: scale3d(1.0, 1.0, 1);
    transform: scale3d(1.0, 1.0, 1);
}
.owl-carousel .owl-item img {
    transform-style: preserve-3d;
    max-width: 90px;
    margin: 0 auto 17px;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot.active span,
#customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
    background: #3190E7;
    transform: translate3d(0px, -50%, 0px) scale(0.7);
}
#customers-testimonials.owl-carousel .owl-dots{
display: inline-block;
width: 100%;
text-align: center;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot{
display: inline-block;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
    background: #3190E7;
    display: inline-block;
    height: 20px;
    margin: 0 2px 5px;
    transform: translate3d(0px, -50%, 0px) scale(0.3);
    transform-origin: 50% 50% 0;
    transition: all 250ms ease-out 0s;
    width: 20px;
}
.barcode{
    text-align: center;
}