/* 
 * Catalyst Accounting - Main Stylesheet
 * Core styles for accounting firm landing page
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f2a44;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.company-name {
    font-weight: 700;
    font-size: 18px;
}

.company-subtitle {
    font-weight: 500;
    font-size: 12px;
    color: #2a3f58;
    margin-top: 2px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2c63ff;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section Base */
.hero {
    position: relative;
    height: 100vh;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: left;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    max-width: 650px;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* Enhanced Hero Elements */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    margin-top: 30px;
    background: #2c63ff;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1f4fe0;
    transform: translateY(-2px);
}

.btn-primary {
    background: #2c63ff;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #2c63ff;
    color: #2c63ff;
}

.btn-secondary:hover {
    background: #2c63ff;
    color: white;
}

/* Sections */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #0f2a44;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid #2c63ff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
}

.card i {
    font-size: 32px;
    color: #2c63ff;
    background: rgba(44, 99, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: #0f2a44;
}

/* Why Section */
.why {
    background: #f0f4f9;
    padding: 100px 20px;
}

.why-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.why-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    text-align: center;
}

.why-item i {
    font-size: 34px;
    color: #2c63ff;
    margin-bottom: 16px;
}

.why-item h3 {
    margin-top: 10px;
}

/* About Section */
.about-section {
    background: #f8fbff;
    padding: 100px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(44, 99, 255, 0.1);
}

.about-content {
    /* background: white;
    border-radius: 12px; */
    padding: 30px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(44, 99, 255, 0.1); */
}

.about-content h2 {
    font-size: 32px;
    color: #0f2a44;
    margin-bottom: 16px;
}

.about-content p {
    color: #4d5f7b;
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 15px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.about-image .image-placeholder {
    background: linear-gradient(135deg, #0f2a44, #1c355e);
    /* height: 320px; */
    width: 100%;
    /* max-width: 420px; */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 72px;
}

/* Contact Section */
.contact-section {
    background: #f0f4f9;
    max-width: none;
    width: 100%;
}

.contact {
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container .section-title {
    text-align: left;
    margin-bottom: 0;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #0f2a44;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #2c63ff;
    width: 20px;
}

.contact-form {
    max-width: 500px;
    /* margin: auto;
    margin-top: 30px; */
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.form-group select {
    background-color: white;
    cursor: pointer;
}

.contact-form button {
    background: #2c63ff;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #1f4fe0;
}

/* Footer */
footer {
    background: #0f2a44;
    color: #ccc;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

footer p {
    margin: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Scroll Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* WordPress menu compatibility */
.nav-links ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2c63ff;
}