/* ===================================
   Custom CSS for Swapna Shilpa Consultant
   =================================== */

/* Root Variables */
:root {
    --primary-gold: #D4AF37;
    --primary-blue: #1E40AF;
    --dark-gray: #1F2937;
    --slate-black: #0F172A;
    --light-gray: #F9FAFB;
    --white: #FFFFFF;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #374151;
    overflow-x: hidden;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1280px;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #EAB308, #F59E0B);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #EAB308;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav-link {
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #B45309;
}

/* Sticky Navbar Effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Floating Buttons */
.floating-btn {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.8)); */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Premium Card Styles */
.premium-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #EAB308, #F59E0B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

/* Service Card */
.service-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    border-color: #EAB308;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(234, 179, 8, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #B45309;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    background: linear-gradient(135deg, #FDE68A, #EAB308);
}

/* Project Card */
.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.status-completed {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.status-ongoing {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

/* Filter Buttons */
.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
    background: white;
    color: #6B7280;
}

.filter-btn:hover {
    border-color: #EAB308;
    color: #B45309;
    background: #FEF3C7;
}

.filter-btn.active {
    background: linear-gradient(135deg, #EAB308, #F59E0B);
    color: white;
    border-color: #EAB308;
}

/* Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #EAB308, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
    background-clip: text;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: #FDE68A;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Rating Stars */
.rating {
    color: #EAB308;
}

/* Footer Styles */
.footer-link {
    color: #9CA3AF;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #EAB308;
    padding-left: 0.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(234, 179, 8, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EAB308;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #EAB308, #F59E0B);
    color: white;
    transform: translateY(-3px);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #EAB308, #F59E0B);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.4);
}

.btn-secondary {
    background: white;
    color: #374151;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #EAB308;
    color: #B45309;
    background: #FEF3C7;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #EAB308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

/* Back to Top Button */
#back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top.show {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

/* Section Title */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #EAB308, #F59E0B);
    border-radius: 2px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #EAB308, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #EAB308, #F59E0B);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

/* Responsive Design */
@media (max-width: 768px) {
    .counter {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .project-image {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .counter {
        font-size: 1.75rem;
    }
}

/* ===================================
   About Company Media Slider
   =================================== */

.about-media-slider {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-media-slider .swiper-slide {
    position: relative;
    height: 500px;
}

.about-media-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media-slider .swiper-button-next,
.about-media-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #EAB308;
}

.about-media-slider .swiper-button-next::after,
.about-media-slider .swiper-button-prev::after {
    font-size: 1.2rem;
}

.about-media-slider .swiper-pagination {
    bottom: 20px !important;
}

.about-media-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: white;
    opacity: 0.7;
}

.about-media-slider .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: #EAB308;
    opacity: 1;
}

/* Media Type Badge */
.media-type-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(234, 179, 8, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .about-media-slider .swiper-slide {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .about-media-slider .swiper-slide {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .about-media-slider .swiper-slide {
        height: 250px;
    }
}

/* Additional mobile responsiveness fixes for About Company section */
@media (max-width: 768px) {
    .about-media-slider {
        margin-bottom: 2rem;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .about-media-slider .swiper {
        overflow: hidden;
        width: 100%;
    }

    .about-media-slider .swiper-wrapper {
        overflow: hidden;
        width: 100%;
    }

    .about-media-slider .swiper-slide {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .about-media-slide {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* Ensure no horizontal overflow */
    .about-media-slider,
    .about-media-slider *,
    .about-company-section .swiper,
    .about-company-section .swiper * {
        overflow-x: hidden !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Force swiper to be contained */
    .about-company-section .swiper-container,
    .about-company-section .swiper-wrapper,
    .about-company-section .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

@media (max-width: 640px) {
    /* Reduce padding and gap for better mobile fit */
    .about-company-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-company-section .grid {
        gap: 1.5rem;
    }

    /* Adjust text content for mobile */
    .about-company-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .about-company-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Value badges responsive */
    .about-company-section .grid-cols-2 {
        gap: 0.75rem;
    }

    .about-company-section .grid-cols-2 > div {
        padding: 0.75rem;
    }

    .about-company-section .grid-cols-2 .fas {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-company-section .grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-company-section .grid-cols-2 > div {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
    }

    .about-company-section .grid-cols-2 .fas {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}



/* ===================================
   Dual Phone Numbers Styling
   =================================== */

/* Top bar phone numbers responsive */
@media (max-width: 640px) {
    .top-bar-phones {
        font-size: 0.75rem;
    }
    
    .top-bar-phones .fas {
        font-size: 0.875rem;
    }
}

/* Floating button tooltips */
.floating-btn span {
    pointer-events: none;
}

.floating-btn:hover span {
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(10px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

/* Mobile floating buttons - smaller on mobile */
@media (max-width: 768px) {
    .floating-btn {
        padding: 0.75rem !important;
    }

    .floating-btn i {
        font-size: 1.25rem !important;
    }

    .floating-btn span {
        display: none !important;
    }
}

/* Ensure floating buttons are always visible */
.floating-btn {
    z-index: 100000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Call Modal Styles */
#call-modal {
    backdrop-filter: blur(4px);
}

#modal-content {
    transition: all 0.3s ease;
}

#modal-content.scale-95 {
    transform: scale(0.95);
    opacity: 0;
}

#modal-content.scale-100 {
    transform: scale(1);
    opacity: 1;
}

/* Contact page phone cards */
.phone-card {
    transition: transform 0.3s ease;
}

.phone-card:hover {
    transform: translateY(-5px);
}