/**
 * Main Stylesheet for domain.com
 * Financial Audit Services Website
 */

/* CSS Variables for Color Scheme */
:root {
    /* Color Palette */
    --primary-color: #082567;      /* Deep Sapphire Blue */
    --accent-color-1: #FF6B35;     /* Sunset Orange */
    --accent-color-2: #3DDAD7;     /* Mint Aqua */
    --bg-color: #FAF9F6;           /* Pearl White */
    --text-color: #2E2E2E;         /* Graphite Gray */
    --footer-bg: #1B263B;          /* Charcoal Navy */
    
    /* Additional UI Colors */
    --light-gray: #F2F2F2;
    --medium-gray: #D9D9D9;
    --dark-gray: #555555;
    --success: #28a745;
    --error: #dc3545;
    
    /* Font Sizes */
    --font-xxl: 3.5rem;   /* 56px */
    --font-xl: 2.75rem;   /* 44px */
    --font-lg: 2rem;      /* 32px */
    --font-md: 1.5rem;    /* 24px */
    --font-sm: 1.125rem;  /* 18px */
    --font-xs: 1rem;      /* 16px */
    --font-xxs: 0.875rem; /* 14px */
    
    /* Spacing */
    --space-xxxs: 0.25rem;  /* 4px */
    --space-xxs: 0.5rem;    /* 8px */
    --space-xs: 1rem;       /* 16px */
    --space-sm: 1.5rem;     /* 24px */
    --space-md: 2rem;       /* 32px */
    --space-lg: 3rem;       /* 48px */
    --space-xl: 4rem;       /* 64px */
    --space-xxl: 6rem;      /* 96px */
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Box Shadow */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Container Width */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust for fixed header */
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-1);
}

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
    color: var(--primary-color);
}

h1 {
    font-size: var(--font-xxl);
}

h2 {
    font-size: var(--font-xl);
}

h3 {
    font-size: var(--font-lg);
}

h4 {
    font-size: var(--font-md);
}

p {
    margin-bottom: var(--space-xs);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-xxs) var(--space-sm);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: var(--font-sm);
}

.btn-primary {
    background-color: var(--accent-color-1);
    color: white;
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.5);
}

.btn-primary:hover {
    background-color: #e55a2a;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #071e52;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-md);
}

/* Hero Button - Bold and highly visible style */
.btn-hero {
    display: inline-block;
    background-color: var(--accent-color-1);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.7);
    border: 2px solid white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.8);
    color: white;
}

.btn-hero:active {
    transform: translateY(1px);
}

.btn-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(5px);
}

/* Header & Navigation */
.site-header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xxs) 0;
    height: 80px;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-text {
    font-size: var(--font-md);
    font-weight: 800;
    color: var(--accent-color-1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-item a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-1);
    transition: width 0.3s ease;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--accent-color-1);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--accent-color-1);
    color: white !important;
    padding: var(--space-xxs) var(--space-xs);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #e55a2a;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(8, 37, 103, 0.7), rgba(8, 37, 103, 0.7)), url('../img/7XL8F7.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: var(--space-xxl) 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: var(--space-sm);
}

.hero p {
    font-size: var(--font-md);
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Styling */
.section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color-2);
    margin: var(--space-xs) auto 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--space-sm);
}

.service-title {
    color: var(--primary-color);
    margin-bottom: var(--space-xxs);
}

/* Audit Types */
.audit-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.audit-type-card {
    background-color: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color-2);
    transition: all 0.3s ease;
}

.audit-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.audit-type-title {
    color: var(--primary-color);
    margin-bottom: var(--space-xxs);
}

/* Benefits Section */
.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.benefit-item::before {
    content: '✓';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent-color-2);
    color: white;
    border-radius: 50%;
    margin-right: var(--space-xs);
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    background-color: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    padding-top: var(--space-xs);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: var(--accent-color-2);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--space-xs);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: bold;
    color: var(--primary-color);
}

.author-position {
    font-size: var(--font-xxs);
    color: var(--dark-gray);
}

/* Statistics Section */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.statistic-item {
    padding: var(--space-md);
}

.statistic-number {
    font-size: var(--font-xxl);
    font-weight: 700;
    color: var(--accent-color-1);
    margin-bottom: var(--space-xxs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.statistic-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Form */
.form-section {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.form-container {
    display: flex;
}

.form-map {
    flex: 1;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.form-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.form-content {
    flex: 1;
    padding: var(--space-lg);
}

.form-title {
    margin-bottom: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xxs);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: var(--space-xs);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
}

.form-control:focus {
    border-color: var(--accent-color-2);
    outline: none;
    box-shadow: 0 0 0 2px rgba(61, 218, 215, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-xs);
}

.checkbox-input {
    margin-right: var(--space-xxs);
    margin-top: 5px;
}

.checkbox-label {
    font-size: var(--font-xxs);
}

.form-submit {
    margin-top: var(--space-sm);
    width: 100%;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-section p {
    margin-bottom: var(--space-md);
}

/* Latest Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.article-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: var(--space-sm);
}

.article-date {
    font-size: var(--font-xxs);
    color: var(--dark-gray);
    margin-bottom: var(--space-xxs);
}

.article-title {
    font-size: var(--font-sm);
    margin-bottom: var(--space-xxs);
}

.article-excerpt {
    font-size: var(--font-xxs);
    margin-bottom: var(--space-xs);
}

.article-link {
    font-weight: 600;
    color: var(--accent-color-1);
    font-size: var(--font-xxs);
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: var(--space-xl) 0 var(--space-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    margin-bottom: var(--space-sm);
}

.footer-about {
    font-size: var(--font-xxs);
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: var(--font-sm);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color-2);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-item {
    display: flex;
    flex-direction: column;
    font-size: var(--font-xxs);
}

.contact-label {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.contact-info {
    color: white;
}

.footer-links li {
    margin-bottom: var(--space-xxs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-xxs);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color-2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-sm);
    text-align: center;
}

.copyright {
    font-size: var(--font-xxs);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm);
    z-index: 2000;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: var(--space-sm);
    font-size: var(--font-xxs);
}

/* Policy Pages */
.policy-page {
    padding: var(--space-xl) 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--medium-gray);
    position: relative;
}

.policy-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--accent-color-2);
    border-radius: calc(var(--radius-lg) - 5px);
    pointer-events: none;
}

.policy-title {
    text-align: center;
    margin-bottom: var(--space-md);
}

.policy-section {
    margin-bottom: var(--space-md);
}

.policy-section h3 {
    margin-bottom: var(--space-xs);
    color: var(--primary-color);
}

.policy-date {
    text-align: center;
    margin-top: var(--space-lg);
    font-style: italic;
    font-size: var(--font-xxs);
    color: var(--dark-gray);
}

/* Thank You Page */
.thank-you-section {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
    background-color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
}

.thank-you-title {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.thank-you-message {
    max-width: 600px;
    margin: 0 auto var(--space-md);
}

.back-to-home {
    display: inline-block;
    margin-top: var(--space-md);
}
