/********** Template CSS **********/
:root {
    --primary: blue;
    --secondary: #9B9B9B;
    --light: #F5F5F5;
    --dark: #161616;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Floating Social Links container */
.floating-social-links {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* Each floating link */
.floating-link {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: #333333;
    font-weight: 600;
    padding: 8px 10px;
    min-width: auto;
    text-decoration: none;
    border-radius: 0 25px 25px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Only icon without any space */
.floating-link i {
    font-size: 20px;
    margin: 0; /* REMOVE margin */
}

/* Hover effect - simple background color change */
.floating-link:hover {
    background-color: #0077b5;
    color: #ffffff;
}

/* Hover effect for icons */
.floating-link:hover i {
    color: #ffffff;
}




/*** Navbar ***/
/* Navbar Container */
.navbar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

/* Brand Logo */
.navbar-brand img {
    max-height: 80px;
    height: auto;
    width: auto;
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1rem;
    margin: 0 10px;
    color: #333 !important;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 2px;
    background-color: #0dcaf0;
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Social Icons */
.btn-square {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.btn-square:hover {
    background-color: #0dcaf0 !important;
    color: #fff !important;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-brand img {
        max-height: 60px;
    }

    .navbar-nav {
        background-color: #ffffff;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-link {
        margin: 10px 0;
        text-align: center;
    }

    .d-lg-inline-flex {
        justify-content: center;
        margin-top: 10px;
    }
}

/*** Header ***/

/* General Styling */
.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(22, 22, 22, .7);
}

/* Default Styling for Large Screens */
.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 650px; /* Ensures proper height on larger screens */
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the space properly */
}
.header-carousel.owl-carousel-item img[src*="carousel-5.png"] {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 90vh; /* Prevents it from overflowing the screen */
    object-fit: contain; /* Keeps the whole image visible */
    display: block;
    margin: 0 auto; /* Centers the image */
}


/* Default Text Styling */
.header-carousel .owl-carousel-item h1 {
    font-size: 50px;
    font-weight: 700;
}

.header-carousel .owl-carousel-item h5,
.header-carousel .owl-carousel-item p {
    font-size: 20px;
    font-weight: 500;
}

/* Navigation Arrows */
.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    margin-left: 0%;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}
.header-carousel.owl-nav .owl-prev:hover,
.header-carousel    .owl-nav .owl-next:hover {
    background: #007bff; /* Highlight color when hovered */
}


.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Dots Navigation */
.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 50%;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Responsive Adjustments for Tablets (Landscape & Portrait) */
@media (max-width: 1024px) {
    .header-carousel .owl-carousel-item {
        min-height: 500px;
    }
    .header-carousel .owl-carousel-item h1 {
        font-size: 42px;
    }
    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 18px;
    }
}

/* Responsive Adjustments for Mobile Devices */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 400px; /* Adjust height for mobile */
    }
    
    .header-carousel .owl-carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 32px;
        font-weight: 600;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 16px;
        font-weight: 400;
    }

    /* Reduce navigation arrow size for mobile */
    .header-carousel .owl-nav {
        width: 160px;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Responsive Adjustments for Small Mobile Screens */
@media (max-width: 480px) {
    .header-carousel .owl-carousel-item {
        min-height: 350px;
    }
    
    .header-carousel .owl-carousel-item h1 {
        font-size: 26px;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px;
    }

    /* Further reduce navigation arrow size for small screens */
    .header-carousel .owl-nav {
        width: 140px;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Background Styling */
.page-header {
    background: linear-gradient(rgba(22, 22, 22, .7), rgba(22, 22, 22, .7)), url(../img/carousel-4.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/* General Styles for Cards */
.bg-dark {
    background-color: #1c1c1c !important;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.bg-dark:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Header Section */
.btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #292929 !important;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-square img {
    width: 30px;
    height: 30px;
}

.bg-dark:hover .btn-square {
    transform: rotate(10deg);
    background-color: #444;
}

/* Large Number Styling */
.bg-dark h1.display-1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff !important;
    opacity: 0.2;
}

/* Text Styling */
.bg-dark h5 {
    font-weight: 600;
    font-size: 1.25rem;
}

.bg-dark span {
    color: #d1d1d1;
    font-size: 0.95rem;
    display: block;
    margin-top: 10px;
    line-height: 1.6;
}

.bg-dark hr {
    border-top: 2px solid #ffffff;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bg-dark {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .bg-dark h1.display-1 {
        font-size: 2.5rem;
    }

    .btn-square {
        width: 50px !important;
        height: 50px !important;
    }

    .btn-square img {
        width: 24px;
        height: 24px;
    }

    .bg-dark h5 {
        font-size: 1.1rem;
    }

    .bg-dark span {
        font-size: 0.9rem;
    }
}

/* Optional Entry Animation */
.wow.fadeIn {
    animation: fadeInCard 1s ease forwards;
    opacity: 0;
}

@keyframes fadeInCard {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/*** About ***/

/* Container & Section Base */
.container-fluid.bg-light {
    background-color: #f9f9f9 !important;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Image Styling */
.image-container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 1s ease-in-out forwards;
}

/* About Text Styling */
.about-text {
    background-color: #fff;
    border-left: 5px solid #0dcaf0; /* Bootstrap info color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px 0 0 8px;
}

.about-text .p-lg-5 {
    padding: 40px;
}

.about-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f1f1f;
}

.about-text ul {
    padding-left: 20px;
    list-style: none;
}

.about-text ul li::before {
    content: "✔";
    color: #0dcaf0;
    font-weight: bold;
    margin-right: 10px;
}

.about-text li {
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.about-text li:hover {
    color: #000;
}

.about-text .bg-info {
    background-color: #0dcaf0 !important;
    border-radius: 2px;
}

/* Responsive Styling */
@media (max-width: 992px) {
    .about-text {
        border-left: none;
        border-top: 5px solid #0dcaf0;
        border-radius: 0 0 8px 8px;
    }

    .about-text .p-lg-5 {
        padding: 30px 20px;
    }

    .about-text h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .about-text .p-lg-5 {
        padding: 20px 15px;
    }

    .about-text ul li {
        font-size: 0.95rem;
    }

    .about-text h1 {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes zoomIn {
    0% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wow.fadeIn {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*** Service ***/
/* General Container Styling */
.service-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-container-top,
.service-container-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Card Styling */
.service-item {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 280px;
    max-width: 320px;
    position: relative;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.service-item .btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.service-item:hover .btn-square {
    animation: bounce 1s;
}

.service-item img {
    max-width: 40px;
}

/* Button Styling */
.service-item .btn {
    display: inline-block;
    margin-top: 10px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-item .btn:hover {
    background-color: #0056b3;
    transform: translateX(5px);
}

/* Responsive Behavior */
@media (max-width: 992px) {
    .service-item {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .service-item {
        max-width: 100%;
    }

    .service-container-top,
    .service-container-bottom {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(5px);
    }
    70% {
        transform: translateY(-5px);
    }
}

/*** Feature ***/
/* Base Styling for the Feature Section */
.container-fluid.bg-light {
    padding: 60px 0;
    background-color: #f5f7fa !important;
}

/* Image Section */
.image-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    animation: slideInRight 1.2s ease-in-out;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

/* Text Side Styling */
.feature-text {
    background: #fff;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0dcaf0;
    border-radius: 8px 0 0 8px;
}

.feature-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e1e1e;
}

.feature-text p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
}

.feature-text .text-info {
    font-weight: 600;
    font-size: 0.9rem;
}

.feature-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Icon Boxes */
.feature-text .btn-square {
    width: 60px;
    height: 60px;
    padding: 8px;
    margin: 8px auto;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #0dcaf0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-text .btn-square:hover {
    background-color: #0dcaf0;
}
.feature-text .btn-square img {
    max-width: 60%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.feature-text .btn-square:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
}
/* Responsive Adjustments */
@media (max-width: 992px) {
    .feature-text {
        border-left: none;
        border-top: 4px solid #0dcaf0;
        border-radius: 0 0 8px 8px;
    }

    .feature-text h1 {
        font-size: 1.8rem;
    }

    .feature-text .p-lg-5 {
        padding: 20px !important;
    }
}

@media (max-width: 576px) {
    .feature-text h1 {
        font-size: 1.5rem;
    }

    .feature-text p {
        font-size: 0.95rem;
    }

    .feature-text .btn-square {
        width: 50px;
        height: 50px;
        padding: 6px;
        margin: 6px auto;
        border-radius: 10px;
    }
    .feature-text .btn-square img {
        max-width: 70%;
    }

    .feature-text h5 {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes slideInRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.wow.fadeIn {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/*** Project Portfolio ***/
/* 3D Glass-Neumorphic Product Cards */
.portfolio-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 10px 15px 25px rgba(0, 0, 0, 0.08),
                -5px -5px 15px rgba(255, 255, 255, 0.7);
    transition: all 0.4s ease-in-out;
    transform-style: preserve-3d;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-inner:hover {
    transform: scale(1.03) rotateX(1deg) rotateY(1deg);
    box-shadow: 15px 25px 35px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.6);
}

/* Image Section */
.portfolio-inner img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: 0.5s ease;
    filter: grayscale(10%) brightness(1.1);
}

.portfolio-inner:hover img {
    filter: grayscale(0%) brightness(0.95);
}

/* Main Text Overlay */
.text-center.p-4 {
    padding: 1.5rem;
    z-index: 2;
    background: transparent;
}

.text-center h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

.text-center p {
    color: #00b4d8;
    font-weight: 600;
    font-size: 0.92rem;
}

/* Hover Overlay Card */
.portfolio-text {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: bottom 0.5s ease-in-out;
    border-top: 1px solid rgba(0,0,0,0.1);
    z-index: 10;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
}

.portfolio-text h6 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
}

.portfolio-text p {
    font-weight: 600;
    color: #00b4d8;
}

/* Magnetic Button */
.btn-info {
    background: linear-gradient(145deg, #0077b6, #0096c7);
    color: white;
    border-radius: 50%;
    padding: 10px 12px;
    box-shadow: 0 8px 20px rgba(0, 183, 255, 0.3);
    transition: 0.3s ease-in-out;
}

.btn-info:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(0, 183, 255, 0.5);
}

/* Responsive Grid Fixes */
@media (max-width: 992px) {
    .portfolio-inner {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .portfolio-inner {
        transform: none;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    }

    .portfolio-text {
        padding: 1rem;
    }

    .text-center h6,
    .portfolio-text h6 {
        font-size: 0.9rem;
    }

    .text-center p,
    .portfolio-text p {
        font-size: 0.85rem;
    }
}

/* Filter Animation */
#portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.5rem;
}

#portfolio-filters li {
    list-style: none;
    padding: 8px 20px;
    font-weight: 500;
    background: #e0f7fa;
    border-radius: 30px;
    color: #0077b6;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

#portfolio-filters li.active,
#portfolio-filters li:hover {
    background: #00b4d8;
    color: white;
    box-shadow: 0 5px 12px rgba(0, 183, 255, 0.3);
}

/* General Section Styling */
.quote {
    background: linear-gradient(to right, #f8f9fa, #e0f7fa);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Image Styling */
.image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
    background: #000;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) brightness(1.1);
    transition: 0.6s ease;
}

.image-container:hover img {
    filter: grayscale(0%) brightness(0.95);
    transform: scale(1.05);
}

/* Text Section */
.quote-text {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-radius: 0 0 20px 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
}

/* Headings */
.quote-text h1 {
    font-weight: 700;
    color: #0077b6;
}

/* Input Styling */
form .form-control,
form .form-select,
form textarea {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid #ccc;
    padding-left: 15px;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

form .form-control:focus,
form .form-select:focus,
form textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.15);
    border-color: #00b4d8;
    outline: none;
}

/* Textarea Height & Style */
form textarea {
    height: 100px;
    padding-top: 10px;
    resize: none;
}

/* Button Styling */
form .btn-info {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    border: none;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 183, 255, 0.2);
}

form .btn-info:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0096c7, #005f73);
    box-shadow: 0 10px 20px rgba(0, 183, 255, 0.35);
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
/* Footer General Styling */
.footer .containers {
    padding-left: 30px;
    padding-right: 30px;
}
.footer {
    background-color: #121212;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

/* Footer Title */
.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #ddd;
}

/* Footer Text and Links */
.footer-text, .footer-link {
    font-size: 1rem;
    line-height: 1.8;
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text i {
    margin-right: 10px;
}

.footer-link:hover {
    color: #1a73e8;
}

/* Footer Links List */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

/* Social Icons */
.footer-social {
    display: flex;
    flex-wrap: wrap; /* Ensure it wraps only when no space is left */
    gap: 12px; /* Optional: Add gap between icons */
    margin-top: 20px;
    justify-content: flex-start; /* Keep them left-aligned in desktop */
}

.social-icon {
    flex: 0 0 auto; /* Prevent it from shrinking or growing weirdly */
    margin-right: 0; /* Remove margin-right to use gap instead */
}


.social-icon {
   display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #1a73e8;
    transform: scale(1.1);
}

.social-icon i {
    font-size: 1.5rem;
}

/* Copyright Styling */
.copyright {
    background-color: #000;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

.copyright a {
    color: #1a73e8;
    font-weight: 500;
    text-decoration: none;
}

.copyright a:hover {
    color: #ffb300;
}

/* Responsive Design - Mobile View */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    /* Stack the columns for smaller screens */
    .footer .row {
        flex-direction: column;
        align-items: center;
    }

    .footer .col-lg-3 {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-social {
        display: flex;
        justify-content: center;
    }

    .social-icon {
        margin-right: 12px;
    }
    
    .footer-text, .footer-link {
        font-size: 0.9rem;
    }

    .footer-link {
        margin-bottom: 8px;
    }
}

/* Tablet View */
@media (max-width: 1024px) {
    .footer .col-lg-3 {
        width: 50%;
    }
}

/* Desktop View */
@media (min-width: 1025px) {
    .footer .col-lg-3 {
        width: 25%;
    }

    .footer .row {
        display: flex;
        justify-content: space-between;
    }
}


/* Smart home */
/* Container */
.heading-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
}

/* Flex layout for image and content */
.smart-home-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

/* Image Section */
.image-side {
    flex: 1 1 45%;
    min-width: 300px;
}
.heading-image {
    width: 100%;
    max-height: 400px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Content Section */
.content-side {
    flex: 1 1 50%;
    min-width: 300px;
}
.section-heading {
    font-size: clamp(1.5rem, 4vw, 2rem); /* Responsive font size */
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 15px;
}
.section-description {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem); /* Responsive font size */
    color: #555;
    line-height: 1.6;
}

.professional-bullets {
    list-style-type: none;
    padding-left: 1.2em;
    margin: 1em 0;
}

.professional-bullets li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.5;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.professional-bullets li:before {
    content: "•";
    color: #2a5bd7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.professional-bullets li strong {
    color: #333;
}

/* Features Grid */
.features-section {
    padding-top: 30px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.feature-card {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card h3 {
    font-size: 1.1rem;
    color: #007bff;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
    background-color: #f0f9ff;
}

/* Responsive Breakpoints */
/* Mobile (portrait) - up to 480px */
@media (max-width: 480px) {
    .heading-container {
        padding: 30px 15px;
    }
    .smart-home-wrapper {
        gap: 25px;
        margin-bottom: 30px;
    }
    .image-side, .content-side {
        min-width: 100%;
    }
    .professional-bullets li {
        padding-left: 1.2em;
        margin-bottom: 0.6em;
    }
}

/* Mobile (landscape) and small tablets - 481px to 767px */
@media (min-width: 481px) and (max-width: 767px) {
    .heading-container {
        padding: 40px 20px;
    }
    .smart-home-wrapper {
        gap: 30px;
    }
}

/* Tablets - 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .heading-container {
        padding: 40px 30px;
    }
    .image-side, .content-side {
        flex: 1 1 100%;
    }
    .smart-home-wrapper {
        flex-direction: row;
    }
}

/* Laptops and small desktops - 1024px to 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
    .heading-container {
        padding: 50px 40px;
    }
}

/* Large desktops - 1280px and up */
@media (min-width: 1280px) {
    .heading-container {
        padding: 60px 20px;
    }
}

/* Special cases for very large screens */
@media (min-width: 1600px) {
    .heading-container {
        max-width: 1400px;
    }
}

.smart-box {
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.smart-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.feature-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.navbar-nav .nav-link.active {
    background-color: transparent !important;
    color: #0dcaf0 !important;  /* Optional: adjust to match your theme */
    box-shadow: none !important;
    border: none !important;
}
.container h2 {
    font-size: 2.2rem;
}

img.rounded.shadow {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.location-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.location-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.location-img {
    height: 220px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .location-img {
        height: 180px;
    }
}
/* Default: desktop */
/* Default: desktop */
.banner-img {
  width: 100%;
  height: auto;              /* Let it adjust naturally */
  object-fit: contain;       /* Show full image without cropping */
}

/* Optional - if you want to keep height but prevent cropping */
/* Banner Image */
.banner-img {
  width: 100%;
  height: auto;           /* Prevents cropping */
  object-fit: contain;    /* Always show full image */
  display: block;         /* Removes extra spacing */
}

/* Banner Title & Text */
.banner-title {
  font-size: 3rem;
}

.banner-text {
  font-size: 1.5rem;
}

/* Tablet */
@media (max-width: 991px) {
  .banner-title {
    font-size: 2.5rem;
  }
  .banner-text {
    font-size: 1.2rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .banner-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .banner-text {
    font-size: 1rem;
  }
}





