/* 
============================================
  Main Styles for Financial Audit Website
  Color Palette:
  - Primary: #3F51B5 (indigo)
  - Accent: #00BFA5 (teal), #FFC107 (amber)
  - Background: #F9F9F9 to #FFFFFF
  - Text: #333333, #666666
============================================
*/

/* Full-page scrollbar fix */
html, body {
    overflow-x: hidden; /* Hide horizontal scrollbars for the entire page */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333333;
    background: linear-gradient(to bottom, #F9F9F9, #FFFFFF);
    min-height: 100vh;
    position: relative;
}

a {
    color: #3F51B5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00BFA5;
}

img {
    max-width: 100%;
    height: auto;
}

/* Fix for potential horizontal scrolling issues */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow-x: hidden;
}

/* Make sure all sections stay within the viewport width */
section, header, footer, main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* For tables that might overflow on mobile */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

/* Specific fix for the cookie table */
.cookie-table {
    min-width: 300px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #333333;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background: #00BFA5;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
    color: #666666;
}

/* Buttons */
.cta-button,
.pricing-button,
.submit-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00BFA5;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 191, 165, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover,
.pricing-button:hover,
.submit-button:hover {
    background-color: #FFC107;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.3);
}

/* Header Styles */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    margin-bottom: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3F51B5;
}

.logo span {
    color: #00BFA5;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: #333333;
    font-weight: 500;
    position: relative;
}

.nav-menu a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00BFA5;
    transition: width 0.3s ease;
}

.nav-menu a:hover:before,
.nav-menu a.active:before {
    width: 100%;
}

.nav-menu a.contact-btn {
    background-color: #3F51B5;
    color: white;
    padding: 8px 20px;
    border-radius: 12px;
}

.nav-menu a.contact-btn:hover {
    background-color: #00BFA5;
}

.nav-menu a.contact-btn:before {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    text-decoration: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #3F51B5;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* When mobile menu is active */
.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background-image: url('../img/tjnGpg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid rgba(63, 81, 181, 0.1);
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid #00BFA5;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #3F51B5;
    margin-bottom: 15px;
}

/* Work Process Section */
.process {
    padding: 80px 0;
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 40px;
}

.step {
    padding: 30px;
    border-radius: 12px;
    background-color: #F9F9F9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #3F51B5;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.step h3 {
    color: #3F51B5;
    margin-bottom: 15px;
}

/* Pricing Section - Aggressive No Scrollbar Fix */
.pricing,
.pricing .container,
.pricing .pricing-grid,
.pricing-card,
#pricing {
    overflow: hidden !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

/* Hide scrollbars for WebKit browsers */
.pricing::-webkit-scrollbar,
.pricing .container::-webkit-scrollbar,
.pricing .pricing-grid::-webkit-scrollbar,
.pricing-card::-webkit-scrollbar,
#pricing::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important; /* Optional: make scrollbar transparent */
}

/* Specific fixes for pricing section */
.pricing {
    padding: 80px 0;
    background-color: #F9F9F9;
    position: relative;
    max-height: none;
    border: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fix to exactly 3 columns */
    grid-gap: 20px;
    margin-top: 40px;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    }
}

.pricing-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: auto;
    margin: 0;
    width: 100%;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #00BFA5;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    color: #3F51B5;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #00BFA5;
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
    padding-left: 30px;
}

.pricing-card ul li:before {
    content: '✓';
    color: #00BFA5;
    position: absolute;
    left: 0;
}

.pricing-card .pricing-button {
    width: 100%;
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    margin-top: 40px;
}

.case-card {
    background: #F9F9F9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-card h3 {
    color: #3F51B5;
    padding: 20px 20px 10px;
    margin: 0;
}

.case-card p {
    padding: 0 20px 20px;
    margin: 0;
}

/* Contact Form Section */
.contact {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3F51B5;
    box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Form errors */
.form-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #b71c1c;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Footer Styles */
.site-footer {
    background-color: #3F51B5;
    color: white;
    padding: 30px 0 15px;
}

.footer-compact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-logo {
    flex: 0 0 250px;
    margin-bottom: 20px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.footer-logo span {
    color: #00BFA5;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contact-details, .legal-links {
    margin-bottom: 20px;
    min-width: 250px;
}

.contact-details h3, .legal-links h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 8px;
}

.contact-details h3:after, .legal-links h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background: #00BFA5;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:first-child {
    margin-left: 0;
}

.legal-links a:hover {
    color: #00BFA5;
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-content p {
    margin: 0 20px 0 0;
    color: white;
    flex: 1;
}

.cookie-content a {
    color: #00BFA5;
}

.cookie-button {
    background-color: #00BFA5;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: #FFC107;
    color: #333333;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
}

.legal-page h1 {
    color: #3F51B5;
    margin-bottom: 10px;
}

.legal-page .updated {
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    color: #3F51B5;
    margin-top: 30px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul, 
.legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: #666;
}

.legal-content a {
    color: #00BFA5;
}

.legal-content address {
    margin-top: 20px;
    font-style: normal;
    color: #666;
    line-height: 1.8;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cookie-table th, 
.cookie-table td {
    border: 1px solid #eee;
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

/* Note box on thank you page */
.note-box {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 12px 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.note-box p {
    color: #1b5e20;
    margin: 0;
}

/* Thank You Page */
.thank-you {
    padding: 100px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    color: #3F51B5;
    margin-bottom: 20px;
}

.thank-you p {
    margin-bottom: 30px;
}

.next-steps {
    text-align: left;
    margin: 30px 0;
}

.next-steps h3 {
    color: #00BFA5;
    margin-bottom: 15px;
}

.next-steps ol {
    margin-left: 20px;
}

.next-steps li {
    margin-bottom: 10px;
    color: #666;
}

.back-home {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        background: white;
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px;
        align-items: center;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 100;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .footer-compact {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-details h3:after, .legal-links h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .legal-links {
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .legal-content {
        padding: 20px;
    }
} 