/* =========================================================
   TAX GURU INDIA
   Professional Accounting & Consulting Firm
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --navy: #0b1f33;
    --navy-dark: #071522;
    --navy-light: #173653;

    --gold: #c9a45c;
    --gold-dark: #a9843f;
    --gold-light: #e2c98e;

    --white: #ffffff;
    --off-white: #f7f8fa;
    --light: #eef1f4;

    --text: #253342;
    --text-light: #667382;
    --border: #dfe4e8;

    --success: #237a57;

    --container: 1180px;

    --shadow-sm: 0 4px 18px rgba(11, 31, 51, 0.06);
    --shadow-md: 0 12px 35px rgba(11, 31, 51, 0.10);
    --shadow-lg: 0 20px 60px rgba(11, 31, 51, 0.15);

    --transition: 0.25s ease;
}

/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}
/* =========================
   NAVBAR LOGO
   ========================= */

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

    height: 58px;

    color: var(--navy);
    text-decoration: none;

    white-space: nowrap;
}

/* Logo image */
.logo img {
    width: 58px;
    height: 58px;

    object-fit: contain;

    display: block;
}

/* Logo text */
.logo-text {
    display: flex;
    align-items: baseline;
    gap: 6px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 19px;
    font-weight: 700;

    letter-spacing: 1px;

    line-height: 1;
}

/* TAX GURU */
.logo-highlight {
    color: var(--navy);
}

/* INDIA */
.logo-india {
    color: var(--gold-dark);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1.5px;
}
img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   OUR TEAM SECTION
   ========================================================= */

.team-section {
    position: relative;

    padding: 100px 0;

    background: var(--white);

    border-top: 1px solid var(--border);
}


/* Small heading */

.team-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* Team grid */

.team-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;
}


/* Team card */

.team-card {
    position: relative;

    background: var(--white);

    border: 1px solid var(--border);

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.team-card:hover {
    transform: translateY(-7px);

    border-color: rgba(201, 164, 92, 0.55);

    box-shadow: var(--shadow-md);
}


/* Image */

.team-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 4.5;

    overflow: hidden;

    background: #edf0f3;
}


.team-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.team-card:hover .team-image img {
    transform: scale(1.04);
}


/* Gold bottom line */

.team-image::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: var(--gold);
}


/* Social buttons */

.team-social {
    position: absolute;

    right: 15px;
    bottom: 15px;

    display: flex;

    gap: 7px;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity var(--transition),
        transform var(--transition);
}


.team-card:hover .team-social {
    opacity: 1;

    transform: translateY(0);
}


.team-social a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--navy);

    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition);
}


.team-social a:hover {
    background: var(--gold);

    color: var(--navy);
}


/* Team information */

.team-info {
    padding: 25px 24px 27px;
}


.team-role {
    display: block;

    margin-bottom: 8px;

    color: var(--gold-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.2px;
}


.team-info h3 {
    margin-bottom: 10px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 20px;

    color: var(--navy);
}


.team-info p {
    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   TEAM RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

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

}


@media (max-width: 600px) {

    .team-section {
        padding: 70px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .team-image {
        aspect-ratio: 1 / 1;
    }

}

/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    color: var(--navy);
    line-height: 1.2;
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
}

p {
    color: var(--text-light);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 25px;

    border: 1px solid transparent;

    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(201, 164, 92, 0.28);
}

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

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

.btn-full {
    width: 100%;
}

/* =========================================================
   HEADER
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--navy);
    white-space: nowrap;
}

.logo-highlight {
    color: var(--gold-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-links a {
    position: relative;

    color: var(--navy);
    font-size: 14px;
    font-weight: 600;

    padding: 28px 0;

    transition: color var(--transition);
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 18px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--gold-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    min-height: 42px;
    padding: 0 18px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    background:
        linear-gradient(
            105deg,
            var(--navy-dark) 0%,
            var(--navy) 55%,
            #102b44 100%
        );

    color: var(--white);

    padding: 100px 0 105px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: -180px;
    top: -220px;

    border: 1px solid rgba(201, 164, 92, 0.18);
    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -80px;
    bottom: -210px;

    border: 1px solid rgba(201, 164, 92, 0.12);
    border-radius: 50%;
}

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;

    gap: 85px;

    align-items: center;
}

.hero-text {
    max-width: 720px;
}

.badge {
    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 22px;

    border: 1px solid rgba(201, 164, 92, 0.45);

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--white);

    font-size: clamp(42px, 5vw, 68px);

    margin-bottom: 24px;

    letter-spacing: -1px;
}

.hero-text > p {
    max-width: 650px;

    color: #c7d0da;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-actions .btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* =========================================================
   HERO CONSULTATION CARD
   ========================================================= */

.hero-card {
    background: var(--white);

    padding: 34px;

    box-shadow: var(--shadow-lg);

    border-top: 4px solid var(--gold);
}

.hero-card h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 27px;

    margin-bottom: 24px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-form input,
.lead-form select {
    width: 100%;

    height: 50px;

    padding: 0 15px;

    border: 1px solid var(--border);

    background: #fafbfc;

    color: var(--text);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.lead-form input:focus,
.lead-form select:focus {
    background: var(--white);

    border-color: var(--gold);

    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.12);
}

.lead-form input::placeholder {
    color: #8a96a3;
}

/* =========================================================
   TRUST BAR
   ========================================================= */

.trust-bar {
    background: var(--white);

    border-bottom: 1px solid var(--border);

    box-shadow: var(--shadow-sm);
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    position: relative;

    padding: 27px 20px;

    text-align: center;
}

.trust-item:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 25%;

    height: 50%;

    width: 1px;

    background: var(--border);
}

.trust-item h2 {
    font-family: "DM Sans", Arial, sans-serif;

    color: var(--navy);

    font-size: 28px;

    margin-bottom: 2px;
}

.trust-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* =========================================================
   SECTION COMMON
   ========================================================= */

.services,
.about,
.contact {
    padding: 100px 0;
}

.section-header {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-header h2 {
    font-size: clamp(34px, 4vw, 46px);

    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
}

/* =========================================================
   SERVICES
   ========================================================= */

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

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: var(--border);

    border: 1px solid var(--border);
}

.service-card {
    position: relative;

    background: var(--white);

    padding: 34px;

    min-height: 265px;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.service-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 3px;

    background: var(--gold);

    transition: width var(--transition);
}

.service-card:hover {
    z-index: 2;

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    width: 100%;
}

.icon-box {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #f4f1e9;

    color: var(--gold-dark);

    font-size: 23px;
}

.service-card h3 {
    font-family: "DM Sans", Arial, sans-serif;

    font-size: 19px;

    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   ABOUT
   ========================================================= */

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

.about-container {
    display: grid;

    grid-template-columns: 1fr;

    max-width: 900px;
}

.about-content {
    position: relative;

    padding-left: 35px;

    border-left: 4px solid var(--gold);
}

.about-content h2 {
    font-size: clamp(34px, 4vw, 45px);

    margin-bottom: 22px;
}

.about-content > p {
    font-size: 17px;

    line-height: 1.9;

    margin-bottom: 28px;
}

.check-list {
    list-style: none;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px 35px;
}

.check-list li {
    position: relative;

    padding-left: 28px;

    color: var(--text);

    font-size: 14px;

    font-weight: 500;
}

.check-list li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: var(--gold-dark);

    font-weight: 700;
}

/* =========================================================
   CONTACT
   ========================================================= */

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

.contact-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 35px;

    align-items: stretch;
}

.contact-info {
    background: var(--navy);

    padding: 38px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    gap: 28px;
}

.info-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    padding-bottom: 22px;
}

.info-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-item h4 {
    color: var(--gold-light);

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    margin-bottom: 7px;
}

.info-item p,
.info-item a {
    color: #d5dde5;

    font-size: 14px;

    line-height: 1.7;
}

.info-item a:hover {
    color: var(--gold-light);
}

.contact-map {
    min-height: 350px;

    background: #ddd;

    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 350px;

    border: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: var(--navy-dark);

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 25px 0;
}

.footer-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer p {
    color: #9daab7;

    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #c3ccd5;

    font-size: 12px;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .nav-container {
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-text {
        max-width: 850px;
    }

    .hero-card {
        max-width: 620px;
        width: 100%;
    }

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

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

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

    .contact-map,
    .contact-map iframe {
        min-height: 350px;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    body {
        font-size: 15px;
    }

    .container {
        width: min(92%, 560px);
    }

    .navbar {
        position: relative;
    }

    .nav-container {
        min-height: auto;

        padding: 18px 0;

        flex-wrap: wrap;
    }

    .logo {
        font-size: 16px;
    }

    .nav-links {
        order: 3;

        width: 100%;

        justify-content: space-between;

        gap: 10px;

        border-top: 1px solid var(--border);

        padding-top: 13px;
    }

    .nav-links a {
        padding: 5px 0;

        font-size: 12px;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        padding: 65px 0 70px;
    }

    .hero h1 {
        font-size: 39px;

        letter-spacing: -0.5px;
    }

    .hero-text > p {
        font-size: 15px;
    }

    .hero-card {
        padding: 25px;
    }

    .hero-card h3 {
        font-size: 24px;
    }

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

    .trust-item {
        padding: 22px 10px;
    }

    .trust-item:nth-child(2)::after {
        display: none;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .services,
    .about,
    .contact {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 38px;
    }

    .section-header h2 {
        font-size: 34px;
    }

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

    .service-card {
        min-height: auto;

        padding: 28px;
    }

    .about-content {
        padding-left: 22px;
    }

    .about-content h2 {
        font-size: 34px;
    }

    .about-content > p {
        font-size: 15px;
    }

    .check-list {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .contact-info {
        grid-template-columns: 1fr;

        padding: 28px;
    }

    .footer-container {
        flex-direction: column;

        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-item h2 {
        font-size: 24px;
    }

    .trust-item p {
        font-size: 11px;
    }

    .nav-links a {
        font-size: 11px;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(201, 164, 92, 0.55);
    outline-offset: 3px;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
