/* 
   Malaysia Financial Audit Services
   Color Scheme:
   - Main background: #0F1A2F (deep dark blue)
   - Accent: #FF6B6B (neon coral)
   - Additional colors: #00C897 (bright jade), #F8F9FA (light gray for text), #111827 (deep graphite for blocks)
   - Font: "Poppins", sans-serif
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0F1A2F;
    color: #F8F9FA;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #FF6B6B;
    transition: color 0.3s ease;
}

a:hover {
    color: #00C897;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

h1, h2, h3, h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    color: #F8F9FA;
}

h2 {
    font-size: 2rem;
    color: #FF6B6B;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #00C897;
}

p {
    margin-bottom: 1.5rem;
}

/* Header Styles */
header {
    background-color: rgba(15, 26, 47, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Navigation Styles */
.mobile-menu-toggle {
    display: none;
}

.menu-label {
    display: none;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #F8F9FA;
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #FF6B6B;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 7rem 0;
    background: linear-gradient(rgba(15, 26, 47, 0.8), rgba(15, 26, 47, 0.9)), url('../img/20Tl8.jpg') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #F8F9FA;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #FF6B6B;
    color: #F8F9FA;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #00C897;
    color: #F8F9FA;
}

/* About Section */
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background-color: #111827;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #0F1A2F;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #111827;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #FF6B6B;
}

/* Case Studies Section */
.cases {
    background-color: #111827;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.case-card {
    background-color: #0F1A2F;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.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-content {
    padding: 2rem;
}

.client-name {
    color: #00C897;
    font-weight: 500;
    font-style: italic;
}

/* Form Styles */
.form-container {
    background-color: #111827;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.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.75rem;
    border: 1px solid #2c3652;
    border-radius: 4px;
    background-color: #0F1A2F;
    color: #F8F9FA;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.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 {
    display: block;
    width: 100%;
    background-color: #FF6B6B;
    color: #F8F9FA;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-button:hover {
    background-color: #00C897;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    background-color: #111827;
    color: #F8F9FA;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-toggle:checked + .faq-question:after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #0F1A2F;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #F8F9FA;
}

.contact-item a:hover {
    color: #FF6B6B;
}

.contact-map {
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer Styles */
footer {
    background-color: #111827;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #2c3652;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #111827;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.cookie-text {
    flex: 1;
    margin-right: 2rem;
}

.cookie-buttons form {
    display: inline-block;
}

.cookie-accept-btn {
    background-color: #00C897;
    color: #F8F9FA;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Header */
    .menu-label {
        display: block;
        font-size: 1.5rem;
        color: #F8F9FA;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background-color: #111827;
        z-index: 1001;
        transition: left 0.3s ease;
        padding: 2rem;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-menu-toggle:checked ~ nav {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
    }
    
    /* Services Grid */
    .services-grid,
    .benefits-grid,
    .cases-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Form */
    .form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 5rem 0;
    }
} 