/*
Theme Name: Thorat Ostwal & Associates
Theme URI: https://thoratostwal.com
Author: Development Team
Author URI: https://thoratostwal.com
Description: Professional WordPress theme for Thorat Ostwal & Associates - Chartered Accountants. ICAI compliant website with clean, professional design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thorat-ostwal
Tags: ca-firm, professional, business, ica-compliant
*/

:root {
    --primary-color: #003366;
    --primary-light: #004080;
    --primary-dark: #002244;
    --secondary-color: #006633;
    --secondary-light: #008040;
    --secondary-dark: #004d26;
    --accent-color: #C5A017;
    --accent-light: #D4B825;
    --accent-dark: #997A10;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --text-color: #212529;
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left a {
    color: var(--white);
}

.top-bar-left a:hover {
    color: var(--accent-color);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: var(--white);
    font-size: 16px;
}

header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
}

.logo img {
    max-height: 60px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 18px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--border-radius);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background-color: var(--primary-color);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('assets/images/hero-pattern.svg') no-repeat center;
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.services {
    background-color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-card .btn {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-item i {
    color: var(--secondary-color);
    font-size: 18px;
}

.partners {
    padding: 80px 0;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-card {
    flex: 0 1 280px;
    max-width: 280px;
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--light-gray);
    margin: 0 auto;
    display: block;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.partner-info {
    padding: 25px;
    text-align: center;
}

.partner-info h3 {
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.partner-info .designation {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.partner-info p {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.partner-info .phone,
.partner-info .email {
    font-size: 0.875rem;
}

.partner-info .phone a,
.partner-info .email a {
    color: var(--primary-color);
}

.partner-info .phone i,
.partner-info .email i {
    color: var(--gray);
    margin-right: 5px;
}

.sectors {
    background-color: var(--white);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.sector-item {
    background-color: var(--off-white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.sector-item:hover {
    border-color: var(--primary-color);
    background-color: var(--white);
}

.sector-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sector-item h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.contact {
    background-color: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.offices-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.office-card {
    background-color: var(--white);
    padding: 75px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.office-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-card h4 i {
    color: var(--secondary-color);
}

.office-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--gray);
}

.office-card .office-address {
    white-space: pre-line;
}

.office-card a {
    font-size: 0.9rem;
}

.office-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.office-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label .required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget.contact-widget ul li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-widget ul li a:hover {
    color: var(--accent-color);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-widget .contact-info {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-widget .contact-info i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-widget .contact-info a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-widget .contact-info a:hover {
    color: var(--white);
}

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

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

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    background-color: var(--off-white);
    padding: 15px 0;
    font-size: 0.875rem;
}

.breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 10px;
    color: var(--gray);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li:last-child {
    color: var(--primary-color);
}

.service-detail {
    padding: 60px 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-main h2 {
    margin-bottom: 20px;
}

.service-main h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-main ul {
    margin-bottom: 20px;
}

.service-sidebar {
    background-color: var(--off-white);
    padding: 30px;
    border-radius: var(--border-radius);
    height: fit-content;
}

.service-sidebar h4 {
    margin-bottom: 20px;
}

.service-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-sidebar ul li {
    margin-bottom: 10px;
}

.service-sidebar ul li a {
    display: block;
    padding: 10px 15px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    color: var(--text-color);
}

.service-sidebar ul li a:hover,
.service-sidebar ul li a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow-md);
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

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

    .hero {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
