/* === Overflow Fix Patch (append at end of style.css) === */

/* 1) Never allow horizontal scroll */
html, body { max-width: 100%; overflow-x: hidden; }

/* 2) Media/embeds must not exceed their container */
 video, canvas, iframe { max-width: 100%; display: block; }

/* 3) Grids: let columns actually shrink to avoid overflow from long content */
.services-grid,
.portfolio-grid,
.testimonials-grid,
.contact-content,
.why-choose-content {
  /* keep your layout, but allow intrinsic content to shrink */
  grid-auto-columns: minmax(0, 1fr);
}

/* 4) Sometimes children inside flex/grid need this to avoid pushing layout */
.container,
.nav-container,
.hero-container {
  min-width: 0;
}

/* 5) Marquee: content stays clipped inside banner (no extra width) */
.marquee-banner { overflow: hidden; }
.marquee-content { will-change: transform; }

/* 6) Map iframe: ensure no stray inline spacing inflates width */
.contact-map iframe { display: block; width: 100% !important; border: 0; }

/* 7) Floating action buttons: scaling on hover shouldn’t trigger a scrollbar */
.floating-actions { contain: layout paint; }
.float-btn { transform-origin: center; }

/* 8) Long strings (emails/URLs) won’t force a wide line */
body, p, li, a { overflow-wrap: anywhere; word-break: break-word; }


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Marquee Banner */
.marquee-banner {
    background: linear-gradient(90deg, #FBAE18 0%, #e09e16 100%);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 1001;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    margin-right: 3rem;
    display: inline-block;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee-banner:hover .marquee-content {
    animation-play-state: paused;
}

/* Header/Navbar */
.header {
    
    top: 32px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
}

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



.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FBAE18;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding:80px 0 80px;
   
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    color: white;
}

.hero-title {
    font-size:30px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.trusted-brands {
    margin-top: 2rem;
}

.trusted-brands p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.brand-logos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-logos img {
    height: 40px;
  
    transition: opacity 0.3s ease;
}

.brand-logos img:hover {
    opacity: 1;
}

/* Quote Form */
.quote-form {
    background: white;
    padding: 12px;
   
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-form h3 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FBAE18;
}

.btn-primary {
    background: #FBAE18;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background: #e09e16;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 174, 24, 0.4);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 3px solid #F5900E;
}



/* .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 174, 24, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
} */

.service-image {
    position: relative;
   
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 174, 24, 0.8), rgba(224, 158, 22, 0.8));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .service-overlay::after {
    content: '→';
    color: white;
    font-size: 2rem;
    font-weight: bold;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
} */

/* .service-card:hover .service-image {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 15px 35px rgba(251, 174, 24, 0.3);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover .service-overlay::after {
    transform: translateX(0);
}

.service-card:hover .service-image img {
    transform: scale(1.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.service-card:hover h3 {
    color: #FBAE18;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FBAE18, #e09e16);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover h3::after {
    transform: translateX(-50%) scaleX(1);
} */

.service-card p {
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #555;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-left img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 15px;
}

.why-choose-right h2 {
   font-size: 25px;
    margin-bottom: 1rem;
    color: #333;
}

.why-choose-right > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-icon {
    color: #FBAE18;
    font-size: 1.2rem;
    margin-top: 2px;
}

.features-list h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.features-list p {
    color: #666;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
   
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: #333;
}

.author-info span {
    color: #FBAE18;
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
 background: linear-gradient(to bottom, #FBAE17, #F5900E);
    padding: 80px 0;
    text-align: center;
    color: white;
}


.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-banner .btn-primary {
    background: white;
    color: #FBAE18;
    display: inline-block;
    text-decoration: none;
    width: auto;
}

.cta-banner .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: #FBAE18;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #FBAE18;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background:black;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #FBAE18;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FBAE18;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #FBAE18;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    color: #FBAE18;
    transform: translateY(-3px);
}

.footer-bottom {
   
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    background: #FBAE18;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(251, 174, 24, 0.4);
    transition: all 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 174, 24, 0.6);
}

.float-btn.whatsapp:hover {
    background: #25D366;
}

.float-btn.phone:hover {
    background: #007bff;
}

.float-btn.email:hover {
    background: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        top: 32px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align:left;
    }
    
    .floating-actions {
        bottom: 15px;
        right: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .marquee-banner {
        font-size: 0.8rem;
    }
    
    .marquee-content span {
        margin-right: 2rem;
    }
    
    .hero {
        padding: 132px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .quote-form {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size:26px;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}