/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
    font-weight: 400;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2563eb;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 45px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover {
    background-color: #f8fafc;
    color: #2563eb;
    transform: translateY(-1px);
}

.phone-link {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.phone-link:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: #2563eb;
    padding-left: 1.5rem;
}

.dropdown-item.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: #f8fafc;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav-content {
    padding: 2rem 1rem;
}

.mobile-nav-section {
    margin-bottom: 2rem;
}

.mobile-nav-section h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-nav-item {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.mobile-nav-item:hover {
    background-color: #f8fafc;
    color: #2563eb;
    transform: translateX(8px);
}

.mobile-nav-item.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.phone-item {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    border: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.call-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
    animation: none;
}

.call-icon {
    font-size: 1.3rem;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
    }
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #312e81 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 4rem;
    color: #1e40af;
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 2px;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footergrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footergrid)"/></svg>');
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.contact-info a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(203, 213, 225, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .call-text {
        display: none;
    }
    
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .call-btn {
        padding: 1rem;
        border-radius: 50%;
        width: 65px;
        height: 65px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Additional Professional Styles */
.hero-with-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.9) 100%);
    z-index: 1;
}

.hero-with-image .hero-content {
    position: relative;
    z-index: 2;
}

/* Professional Card Styles */
.professional-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.professional-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}


/* Mobile Header Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

@media (max-width: 992px) {
    .nav {
        display: none; /* Hide desktop nav by default on mobile */
        flex-direction: column;
        position: fixed;
        top: 80px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        overflow-y: auto;
    }

    .header-content {
        min-height: 60px; /* Smaller header on mobile */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav.nav-open {
        display: flex; /* Show mobile nav when open */
    }

    .nav .nav-item, .nav .nav-link {
        width: 100%;
        text-align: left;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 20px;
        max-height: 300px;
        overflow-y: auto;
    }

    .nav .dropdown-item {
        padding: 10px 0;
    }

    .nav .phone-link {
        margin-top: 20px;
        font-size: 1.2rem;
        font-weight: bold;
        color: #2c5aa0;
    }
}

/* Q&A Two-Column Layout */
@media (min-width: 768px) {
    .qna-accordion {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .qna-section .container {
        max-width: 1200px; /* Use full container width for two columns */
    }
}

/* City Info Section Mobile Responsiveness */
@media (max-width: 768px) {
    .city-info-section .info-block {
        flex-direction: column !important;
        margin-bottom: 2rem !important;
    }

    .city-info-section .info-text {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 1.5rem;
    }

    .city-info-section .info-image {
        order: -1; /* Move image above text on mobile for the first block */
        margin-bottom: 1.5rem;
    }

    .city-info-section .info-block:nth-child(2) .info-image {
        order: -1; /* Ensure image is always first on mobile */
    }
}
