:root {
    --primary-color: #111111; /* Dark Blue -> Black */
    --secondary-color: #B08D57; /* Gold/Bronze */
    --light-gold-color: #D4AF37;
    --text-color-light: #FFFFFF;
    --text-color-dark: #333333;
    --background-light: #FFFFFF;
    --background-medium: #f4f4f4;
    --background-dark: #111111; /* same as primary */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--background-light);
    /* -webkit-user-select: none; Safari */
    /* -ms-user-select: none; IE 10+ and Edge */
    /* user-select: none; Standard syntax */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* ensure consistent centered layout everywhere */
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

a:hover {
    color: var(--light-gold-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a img {
    height: 200px;
    display: block;
}

.firm-name-logo {
    font-family: var(--font-primary);
    font-size: 1.25rem; 
    font-weight: 700;
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    line-height: 1.2;
}
.firm-name-logo:hover {
    color: var(--light-gold-color); /* Changed from --primary-color to --light-gold-color */
}
.firm-name-sub {
    font-size: 0.8rem; 
    font-weight: 400;
    color: var(--secondary-color);
    display: block;
    letter-spacing: 0.5px; 
}


.desktop-nav ul {
    list-style: none;
    display: flex;
}

.desktop-nav ul li {
    margin-left: 20px;
}

.desktop-nav ul li a {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.header-socials {
    display: flex;
    align-items: center;
}

.header-socials a {
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.header-socials a:hover {
    color: var(--light-gold-color); /* Changed from --secondary-color to --light-gold-color for consistency */
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav ul li {
    margin-bottom: 1rem;
}

.mobile-nav ul li a {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    font-size: 1.2rem;
}
.mobile-nav ul li a:hover {
    color: var(--secondary-color);
}
.mobile-socials {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}
.mobile-socials a {
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    font-size: 1.5rem;
    margin: 0 10px;
}
.mobile-socials a:hover {
    color: var(--light-gold-color); /* Changed from --secondary-color to --light-gold-color for consistency */
}


/* Hero Section */
.hero {
    background: url('hero-background.png') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-light);
    position: relative;
}
.hero::before { /* Overlay for better text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark blue overlay -> Black overlay */
}

.hero-content {
    position: relative; /* To be above the overlay */
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-color-light);
    font-weight: 700;
    line-height: 1.3;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-color-light);
    font-weight: 400;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 15px 30px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--light-gold-color);
    color: var(--text-color-light); /* Ensure text color remains light on hover */
    transform: translateY(-2px);
}

/* Standardize section spacing */
section {
    padding: 80px 0;
}

section:nth-of-type(even) {
    background-color: var(--background-medium);
}

/* Standardize container padding */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* ensure consistent centered layout everywhere */
    box-sizing: border-box;
}

/* Standardize heading margins */
section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Standardize card styles */
.area-card, .why-us-item, .team-card {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.area-card:hover, .why-us-item:hover, .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Practice Areas */
.practice-areas .container h2, .why-us .container h2, .contact .container h2 {
    margin-bottom: 0.5rem; /* Reduce margin for title before subtitle */
}
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.area-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.area-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.area-card h3 {
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    margin-bottom: 0.5rem;
}

.area-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.why-us-item {
    text-align: center;
}

.why-us-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    background-color: rgba(176, 141, 87, 0.1); /* Light blue tint -> light gold tint */
    border-radius: 50%;
    padding: 20px;
    display: inline-block;
    line-height: 1; /* ensure icon is centered in padding */
    width: 80px; /* fixed width */
    height: 80px; /* fixed height */
}

.why-us-item h3 {
    color: var(--secondary-color); /* Changed from --primary-color to --secondary-color */
    margin-bottom: 0.5rem;
}

.why-us-item p {
    font-size: 0.95rem;
    color: #666;
}

/* About Us Section */
.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-us-text {
    margin-bottom: 2rem;
}

.about-us-image {
    width: 100%;
    margin: 0 auto;
}

.about-us-image .office-swiper {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.about-us-text h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-us-text p {
    margin-bottom: 1.5rem;
    text-align: center;
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--secondary-color);
    display: inline-block;
}
.cta-button-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

/* Office Gallery Section - Styles are now part of About Us */
.office-gallery {
    display: none; /* Hide the old section if it's cached or loaded somehow */
}

.swiper-container {
    aspect-ratio: 16 / 9;
    max-height: 600px;
    margin: 0 auto; /* Ensure swiper container is centered */
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--secondary-color) !important;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.15s ease;
}
/* hide navigation buttons for the office-gallery carousel (invisible and non-interactive) */
.office-gallery .swiper-button-next,
.office-gallery .swiper-button-prev {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Add: hide navigation buttons for all office-swiper instances (about-us and gallery) */
.office-swiper .swiper-button-next,
.office-swiper .swiper-button-prev {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: translateY(-3px);
}

.swiper-pagination-bullet {
    background: rgba(176,141,87,0.25) !important;
    opacity: 0.9;
}
.swiper-pagination-bullet-active {
    background: var(--secondary-color) !important;
}

/* show pagination */
.swiper-pagination {
    display: block !important;
    margin-top: 12px;
}

/* Download button style for footer */
.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 8px 14px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
    text-decoration: none;
}
.download-button:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-item {
    flex-basis: 300px; /* Each item takes up to 300px */
    flex-grow: 1;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #555;
    font-size: 1rem;
}
.contact .cta-button {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

/* Team Section */
.team {
    background-color: var(--background-light);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}
.team-card {
    background-color: var(--background-medium);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content to the top */
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center; /* Ensures the image is centered within the frame */
    margin-bottom: 1.5rem;
    border: 4px solid var(--secondary-color);
}
.team-card h3 {
    color: var(--secondary-color);
    font-weight: 700; /* restore bold name style */
    margin-bottom: 0.25rem;
}
.team-card h4 {
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    font-weight: 600; /* restore bolder title style */
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.team-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 0; /* Remove default bottom margin */
}

.team-info p {
    font-size: 0.85rem;
    color: var(--text-color-dark);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    word-break: break-word;
    font-family: var(--font-secondary);
    font-weight: 400; /* ensure normal weight */
}

.team-info p:first-child {
    color: var(--text-color-dark);
    font-weight: 400; /* removed heavier weight */
    font-size: 0.9rem;
}

.team-info p:nth-child(2) {
    color: #666;
    font-size: 0.8rem;
}

.team-info p:last-child {
    margin-bottom: 0;
}

.team-info a {
    color: var(--text-color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
    font-weight: 400; /* ensure links are not bold */
}

.team-info a:hover {
    color: var(--text-color-dark); /* keep hover also black per request */
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 10px;
}
.footer-logo p {
    font-family: var(--font-primary);
    font-size: 1rem; 
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color-light); /* Override default p color */
}
.footer-logo .firm-name-sub {
    font-size: 0.75rem; 
    font-weight: 400;
    color: var(--secondary-color);
    letter-spacing: 0.5px; 
}

footer h4 {
    font-family: var(--font-primary);
    color: var(--text-color-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: #ccc;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.footer-contact p i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-contact .footer-address-line-2 {
    padding-left: 22px;
}

.footer-socials a {
    color: var(--text-color-light);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--secondary-color);
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 10px 20px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-cta-button:hover {
    background-color: var(--light-gold-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333; /* Slightly lighter border */
    font-size: 0.9rem;
}
.copyright p {
    color: #ccc;
    margin: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}


/* Responsive Design */
@media (max-width: 992px) {
    .logo a img { height: 95px; }
    .firm-name-logo { font-size: 1.1rem; } 
    .firm-name-sub { font-size: 0.7rem; } 

    .desktop-nav ul li { margin-left: 15px; }
    .desktop-nav ul li a { font-size: 0.9rem; }
    .header-socials a { font-size: 1rem; margin-left: 10px; }

    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; }

    .about-us-flex {
        flex-direction: column;
    }
    .about-us-image {
        order: 2; /* Move carousel below text on mobile */
        margin-top: 30px;
        width: 100%;
        max-width: none;
    }
    
    .about-us-text {
        order: 1;
    }
    
    .about-us-text h2 {
        text-align: center;
    }
    
    .desktop-nav { display: none; }
    .header-socials { display: none; } 
    
    #mobile-menu-toggle { display: block; }
    .mobile-nav.active { display: block; }

    .hero { height: 70vh; }
    .hero h1 { font-size: 2.0rem; }
    .hero p { font-size: 1rem; }
    .cta-button { padding: 12px 25px; font-size: 1rem; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }

    .areas-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .why-us-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .area-card, .why-us-item {
        padding: 25px;
        margin: 0 10px;
    }
    
    .area-card { padding: 20px; }
    .why-us-icon { font-size: 2rem; padding: 15px; width: 65px; height: 65px; }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    /* Removed fixed height for swiper-container as aspect-ratio handles it */
}

@media (max-width: 480px) {
    .logo a img { height: 70px; }
    header .container { padding: 0 10px; min-height: 70px; }


    .hero { height: 50vh; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.9rem; }

    section { padding: 50px 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .about-us-image .office-swiper .swiper-slide img {
        height: 250px;
    }

    .areas-grid, .why-us-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .area-card, .why-us-item {
        padding: 20px;
        margin: 0 5px;
    }
    
    .area-card { padding: 20px; }
    .why-us-icon { font-size: 2rem; padding: 15px; width: 65px; height: 65px; }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .team-card {
        padding: 15px;
    }
    .team-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    .team-card h3 {
        font-size: 1rem;
    }
     .team-card h4 {
        font-size: 0.85rem;
    }
    
}

/* hide all swiper pagination bullets globally (make carousel "bolinhas" invisible) */
.swiper-pagination {
    display: none !important;
}

/* Pop-up Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-header {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color-light);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-color-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 25px;
}

.popup-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color-dark);
}

.popup-body ul {
    margin: 1rem 0;
    padding-left: 20px;
}

.popup-body ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color-dark);
}

.popup-body strong {
    color: var(--secondary-color);
}

/* Responsive adjustments for popup */
@media (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .popup-header {
        padding: 15px;
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .close-btn {
        font-size: 1.5rem;
        width: 25px;
        height: 25px;
    }
}


/* Fator K Section Styles */
.fatork {
    background-color: var(--background-light);
    padding: 80px 0;
}

.fatork-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.fatork-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.fatork-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.fatork-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background-color: var(--background-medium);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.info-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.fatork-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.detail-box {
    background-color: var(--background-medium);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
}

.detail-box h3 {
    margin-bottom: 1.5rem;
}

.detail-box ul {
    list-style: none;
    padding: 0;
}

.detail-box ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}

.detail-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .fatork-content, .fatork-details {
        grid-template-columns: 1fr;
    }
}

/* FATOR K Page Styles */
.fatork-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(17, 17, 17, 0.95) 100%);
    padding: 100px 0;
    color: var(--text-color-light);
    text-align: center;
}

.fatork-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.fatork-hero-content h1 {
    color: var(--text-color-light);
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.fatork-hero-subtitle {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.fatork-hero-description {
    color: var(--text-color-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.fatork-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fatork-content-section {
    padding: 80px 0;
}

.fatork-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.info-card {
    background-color: var(--background-medium);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.fatork-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.detail-box {
    background-color: var(--background-medium);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
}

.detail-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.detail-box ul {
    list-style: none;
    padding: 0;
}

.detail-box ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}

.detail-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.fatork-process {
    margin-bottom: 60px;
}

.fatork-process h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.process-step {
    background-color: var(--background-medium);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.process-step h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
}

.fatork-cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(17, 17, 17, 0.95) 100%);
    color: var(--text-color-light);
    padding: 60px;
    border-radius: 10px;
    text-align: center;
}

.fatork-cta-final h3 {
    color: var(--text-color-light);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fatork-cta-final p {
    color: var(--text-color-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .fatork-hero-content h1 {
        font-size: 2rem;
    }

    .fatork-details {
        grid-template-columns: 1fr;
    }

    .fatork-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .fatork-cta-group a {
        width: 100%;
        max-width: 300px;
    }

    .fatork-cta-final {
        padding: 40px 20px;
    }

    .fatork-cta-final h3 {
        font-size: 1.5rem;
    }
}


/* Fator K Card Styles */
.fatork-card {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(176, 141, 87, 0.05) 100%);
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.fatork-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--light-gold-color));
}

.fatork-card:hover {
    border-color: var(--light-gold-color);
    box-shadow: 0 8px 30px rgba(176, 141, 87, 0.2);
}

.fatork-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.fatork-btn:hover {
    background-color: var(--light-gold-color);
    border-color: var(--light-gold-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(176, 141, 87, 0.3);
}
