:root {
    --primary-green: #86ad2b;
    --primary-orange: #ff6600;
    --primary-orange-hover: #e65c00;
    --dark-blue: #2c3e50;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --border-color: #ddd;
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    gap: 8px;
}

.btn-orange {
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
}

.btn-orange:hover {
    background-color: var(--primary-orange-hover);
}

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

/* Header */
#main-header {
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: var(--primary-green);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span i {
    margin-right: 5px;
}

.social-lang {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-lang a:hover {
    opacity: 0.8;
}

.main-nav {
    background-color: var(--white);
    padding: 15px 0;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-green);
    line-height: 1;
}

.logo-icon {
    font-size: 40px;
    margin-bottom: 5px;
}

.logo-words {
    text-align: center;
}

.word-cranial {
    display: block;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.word-center {
    display: block;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #666;
}

/* Secondary Navigation */
#secondary-nav {
    background-color: #e0e0e0;
    border-bottom: 1px solid #ccc;
}

#secondary-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#secondary-nav li {
    border-right: 1px solid #ccc;
}

#secondary-nav li:last-child {
    border-right: none;
}

#secondary-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    transition: all 0.3s;
}

#secondary-nav a:hover,
#secondary-nav a.active {
    background-color: #d0d0d0;
    color: #333;
}

/* Hero Section */
#hero {
    position: relative;
    height: 500px;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* FAQ Section */
.faq-intro {
    text-align: center;
    margin-bottom: 50px;
}

.faq-intro h2 {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.accordion-header.active {
    background-color: var(--light-gray);
    color: var(--primary-orange);
}

.accordion-header .icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.content-inner {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.content-inner p {
    margin-bottom: 15px;
}

.content-inner ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.answer-with-image {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.answer-with-image .text {
    flex: 1;
}

.answer-with-image .image {
    flex: 0 0 300px;
}

.answer-with-image .image img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.answer-with-image h4 {
    color: var(--primary-green);
    margin-bottom: 10px;
    margin-top: 15px;
}

.answer-with-image h4:first-child {
    margin-top: 0;
}

/* Contact Form Section */
#contact-form-section {
    background-color: var(--white);
    padding: 60px 0;
    position: relative;
    border-bottom: 5px solid var(--primary-green);
}

.form-wrapper {
    background-color: var(--white);
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    position: relative;
}

.form-wrapper h3 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 10px;
}

.form-wrapper p {
    color: #777;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.form-row input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.form-row input:focus {
    border-color: var(--primary-orange);
}

.form-row button {
    flex: 0 0 200px;
    font-size: 16px;
}

/* mobile */
@media (max-width: 768px) {

    .form-row button {
        flex: 0 0 10px;
        font-size: 16px;
    }
}

.envelope-icon {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 150px;
    color: #f0f0f0;
    z-index: -1;
}

/* Footer */
#main-footer {
    background-color: var(--dark-blue);
    color: #a0aeb9;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-phone-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
}

.footer-phone-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.footer-bottom {
    padding: 30px 0;
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 15px;
    opacity: 0.7;
}

.copyright-row {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.developer {
    color: var(--primary-orange);
}

/* Whatsapp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

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

/* Responsive */
@media (max-width: 992px) {
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .contact-info span {
        display: inline-block;
    }

    .nav-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    
    .logo {
        width: 100%;
        order: 1;
        text-align: center;
        margin-bottom: 5px;
    }

    .nav-btn-left {
        width: 48%;
        order: 2;
        font-size: 13px;
        padding: 10px 5px;
        white-space: nowrap;
    }

    .nav-btn-right {
        width: 48%;
        order: 3;
        font-size: 13px;
        padding: 10px 5px;
        white-space: nowrap;
    }

    /* Secondary Nav Mobile Grid */
    #secondary-nav ul {
        flex-wrap: wrap;
    }

    #secondary-nav li {
        border-right: none;
        border-bottom: 1px solid #ccc;
        box-sizing: border-box;
    }

    #secondary-nav li:nth-child(1),
    #secondary-nav li:nth-child(2) {
        width: 50%;
    }

    #secondary-nav li:nth-child(n+3) {
        width: 33.33%;
    }
    
    #secondary-nav a {
        padding: 10px 5px;
        font-size: 11px;
        text-align: center;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
    }
    
    .answer-with-image {
        flex-direction: column;
    }
    
    .answer-with-image .image {
        flex: auto;
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row input {
        width: 100%;
    }

    .form-row button {
        width: 100%;
        margin-top: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .copyright-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
