/* 
   Gazette Name Change - Modern Design System 
   Based on plan: Trustworthy Blue/Navy, Clean White, Energetic Accent
*/

:root {
    /* Color Palette */
    --primary-color: #0d2c54;
    --primary-light: #1a4b8c;
    --accent-color: #fca311;
    --accent-hover: #e08e00;
    --text-dark: #122238ff;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --bg-blue-light: #eff6ff;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 4rem 1rem;

    /* Typography */
    --font-heading: 'Outfit', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows & Radius */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Header Styles */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: 1400px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    margin-right: 2.5rem;
}

.logo i {
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-light);
}

/* Mobile Responsive Utility */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* --- Layout Utilities --- */
.hero,
section {
    padding: var(--section-padding);
}

.section-gray {
    background-color: var(--bg-light);
}

.section-primary {
    background-color: var(--primary-light);
    color: white;
}

.section-blue-light {
    background-color: var(--bg-blue-light);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.section-title.light h2,
.section-title.light p {
    color: white;
}

.text-center {
    text-align: center;
}

/* --- Hero Section --- */
.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-btns,
    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* --- States Section --- */
.state-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.state-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.state-card .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.state-card h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--primary-color);
}

/* --- Services/Reasons Section --- */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--shadow-md);
    border: 1px solid var(--bg-light);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--bg-blue-light);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--bg-blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* --- Process Section --- */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.step h3,
.step p {
    color: white;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-top: 25px;
}

.cta-center {
    text-align: center;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* --- Documents Section --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--accent-color);
    margin-top: 4px;
}

.image-content img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column-reverse;
    }

    .split-layout .image-content {
        width: 100%;
    }
}

/* --- Stats Section --- */
.stats-grid {
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- FAQ Section --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--bg-light);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s ease;
    background: var(--bg-white);
    user-select: none;
}

.faq-question:hover {
    background-color: var(--bg-blue-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    color: var(--text-light);
    background: white;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    border-top: 1px solid var(--bg-light);
}

.faq-item.active .faq-question {
    background: var(--bg-blue-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

/* --- Contact Section --- */
.contact-wrapper {
    display: flex;
    gap: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    padding: 3rem;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-item h4 {
    color: white;
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.contact-form-box {
    flex: 1.5;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--bg-blue-light);
}

.btn-block {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-box {
        padding: 2rem;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 1rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.5rem;
}

.footer-col h3 span {
    color: var(--accent-color);
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #9ca3af;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Page-Specific Overrides & Extra Components --- */

/* Timeline Container */
.timeline-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.timeline-step {
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.timeline-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Pricing Cards */
.pricing-card:hover {
    transform: scale(1.03);
    border-color: var(--accent-color) !important;
    transition: all 0.3s ease;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* Only mobile */
    z-index: 2000;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: flex;
    }

    .timeline-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--bg-light);
}

.comparison-table th {
    background: var(--bg-blue-light);
    color: var(--primary-color);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table .riyo-col {
    background: #fdf2e9;
    /* Light accent tint */
    font-weight: 700;
}

.hide-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}