/* ============================================
   CSS Reset & Base Styles
   ============================================ */

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

:root {
    /* Color Scheme - Corporate Professional */
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --muted-cyan: #06b6d4;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ============================================
   Container & Layout
   ============================================ */

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

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

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    opacity: 0.95;
}

.hero-feature-item .feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-blue);
}

/* ============================================
   Page Header
   ============================================ */

.page-header {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 600;
}

/* ============================================
   Content Sections
   ============================================ */

.content-section {
    padding: 4rem 0;
}

.content-section.alt-bg {
    background-color: var(--bg-light);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

.content-block {
    max-width: 900px;
}

.content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.section-intro {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Intro Section
   ============================================ */

.intro-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-content {
    max-width: 100%;
}

.intro-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   Services Preview
   ============================================ */

.services-preview {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.service-item {
    background-color: var(--bg-white);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.service-item:hover {
    box-shadow: 0 4px 12px var(--shadow);
    transform: translateY(-2px);
}

.service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.service-item h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    padding: 0 2rem;
    padding-top: 2rem;
}

.service-item p {
    color: var(--text-medium);
    line-height: 1.7;
    padding: 0 2rem;
    padding-bottom: 2rem;
}

.cta-link {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   Why Choose Us
   ============================================ */

.why-choose {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

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

.feature-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.feature-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-svg {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.125rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   About Page
   ============================================ */

.about-firm-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-firm-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.about-firm-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.proprietor-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.proprietor-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.proprietor-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.proprietor-info h3 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.qualifications {
    font-size: 1.125rem;
    color: var(--secondary-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.designation {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.proprietor-info p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-vision-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.mission-vision-item {
    padding: 3rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
}

/* Specific styling for Vision to make it look like a statement */
.mission-vision-item {
    border-bottom: 3px solid var(--primary-blue);
    background-color: var(--bg-light);
}

.mission-vision-item h2 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mission-vision-item p {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

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

.philosophy-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.philosophy-item h3 {
    font-size: 1.125rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.philosophy-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   Services Page
   ============================================ */

.service-detail {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
}

.service-detail-content h2 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.7;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.client-type {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.client-type h3 {
    font-size: 1.125rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.cta-section {
    padding: 4rem 0;
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
    background-color: var(--secondary-blue);
    color: white;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.contact-info h2:first-child {
    margin-top: 0;
}

.contact-info address {
    font-style: normal;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ============================================
   How to Reach Us Section
   ============================================ */

.reach-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.reach-method {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reach-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.reach-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.reach-icon svg {
    width: 48px;
    height: 48px;
}

.reach-method h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.reach-method p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.reach-method strong {
    color: var(--text-dark);
    font-weight: 600;
}

.landmarks-section {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.landmarks-section h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.landmarks-list {
    list-style: none;
    padding-left: 0;
}

.landmarks-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.landmarks-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 1.25rem;
}

.map-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-wrapper {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8125rem !important;
    font-style: italic;
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .nav-menu a {
        display: block;
        width: 100%;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .services-grid,
    .features-list,
    .philosophy-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .intro-wrapper,
    .about-firm-wrapper,
    .proprietor-profile,
    .service-detail-header,
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-icon {
        height: 180px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reach-us-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .logo-text h1 {
        font-size: 1.125rem;
    }

    .logo-text p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .feature-icon-svg {
        width: 40px;
        height: 40px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}


/* Utility Classes */
.section-heading {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.intro-content .section-heading {
    text-align: left;
    margin-bottom: 0.75rem;
}