/*
Theme Name: Hinsola
Theme URI: https://hinsola.com
Author: Hinsola Team
Author URI: https://hinsola.com
Description: Custom WordPress theme for Hinsola Creative Solutions
Version: 1.0
Text Domain: hinsola
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* common top section start */

:root {
    --primary-color: #555;
    --secondary-color: #ff6b6b;
    --accent-color: #36d6e7;
}

body {
    font-family: 'Segoe UI',  sans-serif;
    color: #333;
    padding-top: 70px;
    /* Offset for fixed navbar */
}
.commonfontsizesbhead{
	font-size:15px !important;
	font-weight:300;
}
/* Header Styles */
 .navbar {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            background-color: white;
            padding: 15px 0;
            transition: all 0.3s ease;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 28px;
        }
        
        .navbar-brand span {
            color: var(--secondary-color);
        }
        
        .nav-link {
            font-weight: 500;
            transition: color 0.3s;
            color: #a19c9c !important;
            padding: 10px 7px !important;
            position: relative;
        }
        
        .nav-link:hover {
            color: var(--secondary-color) !important;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 5px;
            left: 15px;
            background-color: var(--secondary-color);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: calc(100% - 30px);
        }
        
        .navbar-toggler {
            border: none;
            padding: 0;
            width: 30px;
            height: 20px;
            position: relative;
        }
        
        .navbar-toggler:focus {
            box-shadow: none;
        }
        
        .navbar-toggler-icon {
            background-image: none;
            width: 30px;
            height: 2px;
            background-color: var(--primary-color);
            display: block;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .navbar-toggler-icon::before,
        .navbar-toggler-icon::after {
            content: '';
            position: absolute;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .navbar-toggler-icon::before {
            top: -8px;
        }
        
        .navbar-toggler-icon::after {
            bottom: -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);
            bottom: 0;
        }
        
        /* Demo content */
        .demo-content {
            padding: 40px 0;
        }
        
        .demo-section {
            padding: 60px 0;
            border-bottom: 1px solid #eee;
        }
        
        .demo-section h2 {
            margin-bottom: 30px;
            color: var(--primary-color);
            position: relative;
            padding-bottom: 15px;
        }
        
        .demo-section h2::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background-color: var(--secondary-color);
        }
        
        .card {
            margin-bottom: 20px;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
        }
        
        .card-title {
            color: var(--primary-color);
        }
        
        .card-text {
            color: #666;
        }
        
        @media (max-width: 991.98px) {
            .navbar-collapse {
                background-color: white;
                padding: 20px;
                border-radius: 8px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                margin-top: 15px;
            }
            
            .nav-link {
                padding: 12px 0 !important;
            }
            
            .nav-link::after {
                display: none;
            }
        }
        
        @media (max-width: 575.98px) {
            .navbar-brand img {
                width: 160px !important;
            }
            
            .navbar {
                padding: 10px 0;
            }
        }
/* Hero Section */
.photo-editor-hero {
    background: #bfb6bf;
    background: linear-gradient(189deg, rgba(191, 182, 191, 1) 0%, rgba(31, 6, 6, 1) 47%, rgba(109, 38, 28, 1) 61%, rgba(252, 96, 69, 1) 98%);
    color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s;
    width: 100%;
    max-width: 500px;
}

.deep-hero-text {
    color: white;
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.deep-heading {
    font-size: 1.6rem !important;
    color: white;
    line-height: 1.3;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: bold;
}

.deep-subheading {
    font-size: 1.3rem;
    color: white;
    line-height: 1.4;
    margin: 0 0 8px 0;
    padding: 0;
}

.deep-description {
    font-size: 14px;
    color: white;
    line-height: 1.5;
    margin: 0 0 15px 0;
    padding: 0;
}

.deep-feature-item {
    color: white;
    font-size: 1rem;
    line-height: 1.4;
    margin: 8px 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deep-feature-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Media Queries for consistent sizing across devices */
@media (max-width: 768px) {
    .deep-hero-text {
        font-size: 1.4rem;
    }
    
    .deep-heading {
        font-size: 1.4rem !important;
    }
    
    .deep-subheading {
        font-size: 1.2rem;
    }
    
    .deep-description {
        font-size: 13px;
    }
    
    .deep-feature-item {
        font-size: 0.95rem;
    }
    
    .deep-feature-item i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .deep-hero-text {
        font-size: 1.3rem;
    }
    
    .deep-heading {
        font-size: 1.3rem !important;
    }
    
    .deep-subheading {
        font-size: 1.1rem;
    }
    
    .deep-description {
        font-size: 12px;
    }
    
    .deep-feature-item {
        font-size: 0.9rem;
    }
    
    .deep-feature-item i {
        font-size: 1rem;
    }
}

/* Ensure consistent spacing and layout */
.deep-container {
    max-width: 100%;
    box-sizing: border-box;
}

/* Maintain checkbox/list item appearance */
.deep-feature-item input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}

/*.headingfont {*/
/*    font-size: 1.4rem;*/
/*    font-weight: bold;*/
/*    line-height: 1.3;*/
/*    color: #fff; */
/*    text-align:justify;*/
/*}*/

/* For the first heading line */
.headingfont:first-of-type {
    margin-bottom: 0.5rem; /* Smaller gap between the two heading lines */
}

/* For the second heading line */
.headingfont:nth-of-type(2) {
    margin-bottom: 1rem; /* Larger gap before the paragraph */
}

.commonfontsizesbhead {
    font-size: 1rem;
    line-height: 1.5;
    
    margin-bottom: 1rem;
    font-weight: 400;

}


/* Responsive design for all screens */
@media (max-width: 768px) {
    .headingfont {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .commonfontsizesbhead {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .headingfont {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .commonfontsizesbhead {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .headingfont:first-of-type {
        margin-bottom: 0.3rem;
    }
    
    .headingfont:nth-of-type(2) {
        margin-bottom: 0.8rem;
    }
}
.hero-image img:hover {
    transform: perspective(1000px) rotateY(0);
}

.btn-primary {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================================== */
.feature {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    margin-right: 15px;
    margin-bottom: 15px;
}

.feature i {
    margin-right: 10px;
    color: #36d6e7;
}

/* ============================================================== */
@media (max-width: 768px) {
    .hero-image img {
        transform: none;
        margin-top: 40px;
    }

    .text-md-center {
        text-align: center !important;
    }

    .justify-content-md-start {
        justify-content: center !important;
    }
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Services */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* About Section */
.abouttextstyle h2 {
    font-weight: 800;
    font-size: 2rem;
    color: #ff5252;
}

.abouttextstyle .abtsub {
    font-size: 20px;
}

.abouttextstyle .abtsub span {
    color: #ff5252;
}

.abouttextstyle .lead {
    font-weight: lighter;
}

.about-image {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #212529;
    color: white;
}

footer h5 {
    color: var(--accent-color);
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid #444;
}


/* animation ========================== */
/* Keyframes for animations */
@keyframes float {
    0%, 100% {
        transform: perspective(1000px) rotateY(-10deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-10deg) translateY(-15px);
    }
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: perspective(1000px) rotateY(-10deg) scale(1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: perspective(1000px) rotateY(-10deg) scale(1.03);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(110, 72, 170, 0.3);
    }
    50% {
        box-shadow: 0 25px 50px rgba(110, 72, 170, 0.6);
    }
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-30deg) translateX(100px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(-10deg) translateX(0);
    }
}

@keyframes tilt {
    0%, 100% {
        transform: perspective(1000px) rotateY(-10deg) rotateZ(0deg);
    }
    25% {
        transform: perspective(1000px) rotateY(-8deg) rotateZ(1deg);
    }
    75% {
        transform: perspective(1000px) rotateY(-12deg) rotateZ(-1deg);
    }
}

/* Hero section styling */
.hero-image img {
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    transition: transform 0.5s;
}

/* Animation classes */
.float-animation {
    animation: float 5s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pulse-animation {
    animation: subtle-pulse 4s ease-in-out infinite;
}

.glow-animation {
    animation: glow 3s ease-in-out infinite;
}

.slide-in-animation {
    animation: slide-in 1.5s ease-out forwards;
}

.tilt-animation {
    animation: tilt 6s ease-in-out infinite;
}

/* Hover effect for all animations */
.hero-image img:hover {
    transform: perspective(1000px) rotateY(0) scale(1.05);
    animation-play-state: paused;
}

/* common top section start */

/* about section  */
.aboutfeature .imagbox {
    padding: 20px;
    border: 1px solid #aaa;
    border-radius: 50%;
}

.aboutfeature .imagbox img {
    width: 40%;
}

/* about section end  */
/* portfolio start  */

.section-tag {
    background: rgba(255, 90, 72, 0.1);
    color: #ff5a48;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

h2 {
    font-weight: 700;
    color: #ff5a48;
}

.portfolio-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 200px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay svg {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Custom row spans */
.tall {
    grid-row: span 2;
}

.btn-project {
    background: #ff5a48;
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

.btn-project:hover {
    background: #e54c3b;
    box-shadow: 0 6px 15px rgba(255, 90, 72, 0.3);
}

/* portfolio end  */

/* service section  */

.sersectbg {
    /* background-color: #e0e5ec; */
    color: #6a7080;
}

.neu-container {
    border-radius: 15px;
    /* background: #e0e5ec; */
    background: #fff;
    box-shadow: 10px 10px 20px #b8bec7, -10px -10px 20px #ffffff;
    transition: all 0.3s ease;
}

.service-card {
    padding: 30px 25px;
    height: 100%;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF7F00, #FFAA33);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1), -5px -5px 15px rgba(255, 255, 255, 0.7);
}

.service-card:hover::after {
    width: 100%;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: #e0e5ec;
    box-shadow: 6px 6px 12px #b8bec7, -6px -6px 12px #ffffff;
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    box-shadow: inset 6px 6px 12px #b8bec7, inset -6px -6px 12px #ffffff;
}

.icon-wrapper img {
    width: 70px;
    padding: 10px;
}

.conserv h1 {
    font-weight: 700;
    color: #4a4f5c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.conserv h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF7F00, #FFAA33);
    border-radius: 2px;
}

.sersectbg .lead {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: 6a7080;
}

.conserv h3 {
    font-weight: 600;
    color: rgb(252 110 79);
    margin-bottom: 15px;
}

.conserv p {
    line-height: 1.6;
}

.section-title {
    padding-bottom: 20px;
}

/* why choose us  */
.section-title {
    font-weight: 700;
    color: #ff5c42;
}

.subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff5c42;
    background: #ffe6e1;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
}

.icon-box {
    border: 2px solid #ff5c42;
    border-radius: 12px;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.icon-box i {
    font-size: 2rem;
    color: #000;
}

.feature-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 8px;
    background: #ff5c42;
    border-radius: 0 0 4px 0;
}

.feature-title {
    font-weight: 700;
    color: #ff5c42;
}

.btn-custom {
    background: #ff5c42;
    color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
}

.btn-custom:hover {
    background: #e24b32;
}

.whyrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* thumbnail section  */
.cta-section {
    position: relative;
    background: url('./img/cta-bg.jpg') center/cover no-repeat;
    padding: 6rem 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.btn-custom {
    transition: all 0.3s ease-in-out;
    background-color: #ff5252;
}

.btn-custom:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* who we are  */
.who-we-are img {
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.who-title {
    font-weight: 700;
    color: #ff5c42;
}

.highlight {
    color: #ff5c42;
    font-weight: 600;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border: 2px solid #ff5c42;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 15px;
}

.icon-circle i {
    font-size: 2rem;
    color: #000;
}

.feature-title {
    font-weight: 700;
    color: #ff5c42;
}

.we-box p {
    font-size: 0.9rem;
    color: #555;
}


/* our team  */


.team-section h2 {
    font-weight: 700;
    color: #ff5c42;
}

.team-section p span {
    color: #ff5c42;
    font-weight: 500;
}

.team-section .btn-tag {
    background: #eaf9ff;
    color: #ff5c42;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px auto 10px;
    display: block;
}

.team-card .name {
    font-weight: 600;
    color: #ff5c42;
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    color: #444;
    padding: 0 15px 20px;
}

/* contact us  */

.contact {
    height: 100vh;
    background: url('./img/contact.jpg') no-repeat left center/cover, #ffffff;
    display: flex;
    align-items: center;
    position: relative;
}

.form-card {
    background: #e6f9ff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 360px;
    position: relative;
    margin-right: 200px;
    /* kam se kam 200px right shift */
}

/* Mobile me center ho */
@media (max-width: 991px) {
    .form-card {
        margin: 0 auto;
    }
}

.form-card .badge-top {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #ff5a48;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(255, 90, 72, 0.3);
}

.form-step {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ff5a48;
}

h4 {
    color: #ff5a48;
    font-weight: 700;
    margin-bottom: 5px;
}

p {
    
    color: #555;
    margin-bottom: 20px;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
}

.btn-submit {
    background: #ff5a48;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px;
    border: none;
    transition: 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: #e54c3b;
    box-shadow: 0 5px 15px rgba(255, 90, 72, 0.3);
}

/* Side tab */
.side-tab {
    position: fixed;
    right: 15px;
    bottom: 50%;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: right top;
    background: #ff5a48;
    color: #fff;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 8px 8px 0 0 ;
    cursor: pointer;
}

  .modal-content .btn-close{
    color:#fff;
    border: 1px solid #000;
    border-radius: 50%;
  padding: 20px; 
  background-color:#ca2626 !important;
  position: absolute;
  right:10px;
  z-index: 20;

  }



/* Mobile Responsiveness */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item {
        margin: 8px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
    }
    
    /* Adjust hero section for mobile */
    .photo-editor-hero {
        padding: 30px 0;
        min-height: auto;
    }
    
    .hero-image img {
        margin-top: 20px;
        max-width: 100%;
    }
    
    /* Portfolio grid adjustments */
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 150px !important;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p.lead {
        font-size: 1rem;
    }
    
    .feature {
        margin-right: 8px;
        margin-bottom: 8px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        width: 120px !important;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, .btn-project {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Fix for Bootstrap mobile menu */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Ensure proper z-index for fixed navbar */
.navbar {
    z-index: 1030;
}

/* Body padding adjustment for fixed navbar */
body {
    padding-top: 76px;
}

@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }
}