/* 
=================================
  AuditExcellence - Style Sheet
  Color palette:
  - Main: #3A0CA3 (ultramarine)
  - Accent: #F1C40F (lemon)
  - Secondary: #9B59B6 (purple)
  - Background: #FFFFFF (white)
  - Text: #2C3E50 (dark graphite)
================================= 
*/

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #F1C40F;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

a {
    color: #3A0CA3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #9B59B6;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 8rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #3A0CA3;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #2d0980;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 12, 163, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #3A0CA3;
    color: #3A0CA3;
}

.btn-secondary:hover {
    background-color: #3A0CA3;
    color: #FFFFFF;
}

/* --- Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 0 0 auto;
}

.header-logo {
    width: 200px;
    height: auto;
}

/* --- CSS-only Hamburger Menu --- */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #3A0CA3;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

/* --- Navigation --- */
.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list li a {
    font-weight: 500;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf4 100%);
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* --- About Section --- */
.about-section {
    background-color: #FFFFFF;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-image, .about-text {
    flex: 1;
}

/* --- Services Section --- */
.services-section {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

/* --- Benefits Section --- */
.benefits-section {
    background-color: #FFFFFF;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    border-left: 4px solid #F1C40F;
    padding: 0 1.5rem;
}

/* --- Certifications Section --- */
.certifications-section {
    background-color: #f8f9fa;
}

.certifications-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.certification-text, .certification-image {
    flex: 1;
}

.certification-list {
    margin-top: 1.5rem;
    padding-left: 1.2rem;
}

.certification-list li {
    position: relative;
    margin-bottom: 0.7rem;
    padding-left: 1.5rem;
}

.certification-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #9B59B6;
    border-radius: 50%;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: "";
    font-size: 4rem;
    position: absolute;
    left: -1rem;
    top: -1.5rem;
    color: rgba(155, 89, 182, 0.2);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* --- Contact Section --- */
.contact-section {
    background-color: #f8f9fa;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3A0CA3;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.7rem;
    margin-top: 0.3rem;
    accent-color: #3A0CA3;
}

.form-check label {
    font-size: 0.9rem;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
}

/* --- Alerts --- */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
    color: #27ae60;
}

.alert ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

/* --- Footer --- */
.main-footer {
    background-color: #2C3E50;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #F1C40F;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-contact li {
    margin-bottom: 0.7rem;
}

.footer-contact a,
.footer-links a {
    color: #FFFFFF;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
    opacity: 1;
    color: #F1C40F;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: rgba(241, 196, 15, 0.3);
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 350px;
    background-color: #FFFFFF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-popup h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-buttons .btn {
    flex: 1;
}

/* --- Policy Pages --- */
.policy-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.policy-section h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.policy-content h2::after {
    left: 0;
    transform: none;
    width: 50px;
}

.policy-content h3 {
    margin-top: 1.5rem;
    font-size: 1.3rem;
}

.policy-list {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-list li {
    position: relative;
    margin-bottom: 0.7rem;
    padding-left: 1rem;
}

.policy-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background-color: #3A0CA3;
    border-radius: 50%;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image,
.service-card,
.benefit-item,
.testimonial-card {
    animation: fadeIn 0.8s ease-out forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-section .container,
    .about-content,
    .certifications-content {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile navigation */
    .menu-icon {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #FFFFFF;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
        z-index: 1000;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
    }
    
    /* Adjust hero section padding for mobile */
    .hero-section {
        padding-top: 6rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content,
    .certifications-content {
        gap: 1.5rem;
    }
    
    /* Adjust form elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
    }
    
    /* Footer adjustments */
    .footer-grid {
        gap: 1.5rem;
    }
    
    /* Policy page adjustments */
    .policy-section {
        padding-top: 6rem;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
    }
    
    section {
        padding: 3.5rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
} 