* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #333;
    color: white;
}

/* Header Section */
.faq-header {
    min-height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../Images/coffee-beans-background.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.faq-header h1 {
    font-size: 70px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-top: 50px;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 0;
}

.logo-container {
    position: absolute;
    top: 0px;
    left: 45px;
    background-color: white;
    border-radius: 2px;
    padding: 10px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 400px;
    height: auto;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 100px 15px;
    position: relative;
    margin-top: -55px;
    left: 95px;
    bottom: 28px;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.nav-links ul li::after {
    content: "";
    width: 0%;
    height: 4px;
    transition: 0.5s;
    border-radius: 2px;
    display: block;
    background: white;
    margin: auto;
}

.nav-links ul li:hover::after {
    width: 100%;
}

/* Main Content */
main {
    background-color: #f2f2f2;
    color: #333;
    padding: 60px 8%;
}

.faq-title {
    font-size: 45px;
    color: #313131;
    margin-bottom: 40px;
    font-weight: 600;

    padding-top: 100px;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question h2 {
    font-size: 18px;
    font-weight: 600;
    color: #3B2314;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-toggle {
    font-size: 24px;
    color: #3B2314;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px 0 0;
    line-height: 1.6;
}

.faq-answer.active {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
    hyphens: auto;
}

.faq-answer a {
    color: #6e3a2a;
    text-decoration: underline;
    font-weight: 500;
}

.footer {
    background-color: #222;
    color: white;
    padding: 60px 30px 30px;
    margin-top: 0;
    border-top: 3px solid #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo img {
    width: 180px;
    height: auto;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
    text-decoration: underline;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: white;
}

.newsletter-form button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #555;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* For Font Awesome Icons (you'll need to add the link to FontAwesome in your head) */
.social-links li a i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile Responsiveness - Updated to match index.css approach */
@media only screen and (max-width: 991px) {
    .faq-header h1 {
        font-size: 55px;
    }
    
    .faq-title {
        font-size: 38px;
    }
    
    .faq-question h2 {
        font-size: 16px;
    }
    
    .nav-links ul li {
        padding: 80px 10px;
    }
}

@media only screen and (max-width: 768px) {
    .faq-header {
        min-height: 40vh;
    }
    
    .faq-header h1 {
        font-size: 40px;
        margin-top: 80px;
    }
    
    .faq-title {
        font-size: 32px;
        padding-top: 60px;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: white;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 3;
    }
    
    .nav-links {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.9);
        height: 100vh;
        width: 80%;
        top: 0;
        right: -80%;
        text-align: left;
        z-index: 2;
        transition: 0.3s ease-in-out;
        padding: 60px 20px 20px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
        box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links ul li {
        display: block;
        padding: 8px 12px;
        position: static;
        margin: 10px 0;
        left: 0;
        bottom: 0;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
        left: 20px;
        top: 10px;
        padding: 8px;
    }
    
    .logo {
        width: 100%;
        max-width: 100px;
    }
    
    main {
        padding: 40px 20px;
    }
    
    .faq-question {
        padding: 20px 0;
    }
    
    .faq-question h2 {
        font-size: 16px;
        width: 85%;
        line-height: 1.4;
    }
    
    .faq-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: bold;
        background-color: rgba(59, 35, 20, 0.1);
        border-radius: 50%;
        margin-left: 10px;
    }
    
    .faq-answer {
        padding: 0 5px;
    }
    
    .faq-answer.active {
        padding: 10px 5px 20px;
    }
    
    .faq-answer p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .faq-item {
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 0 10px;
        background-color: white;
    }
}

@media only screen and (max-width: 480px) {
    .faq-header {
        min-height: 30vh;
    }
    
    .faq-header h1 {
        font-size: 28px;
        margin-top: 60px;
        padding: 0 15px;
        line-height: 1.2;
    }
    
    .logo-container {
        width: 80px;
        height: 80px;
        left: 15px;
        top: 10px;
        padding: 5px;
    }
    
    .logo {
        max-width: 70px;
    }
    
    .faq-title {
        font-size: 24px;
        padding-top: 30px;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .faq-question h2 {
        font-size: 15px;
        width: 75%;
        line-height: 1.4;
    }
    
    .faq-toggle {
        font-size: 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    main {
        padding: 20px 15px;
    }
    
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 15px 0;
    }
    
    /* Ensure clickable elements have sufficient touch area */
    .nav-links ul li a,
    .faq-question,
    .faq-toggle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
    }
}

/* Extra Small Devices */
@media only screen and (max-width: 360px) {
    .faq-header h1 {
        font-size: 24px;
        margin-top: 50px;
    }
    
    .logo-container {
        width: 70px;
        height: 70px;
    }
    
    .logo {
        max-width: 60px;
    }
    
    .faq-title {
        font-size: 22px;
    }
    
    .faq-question h2 {
        font-size: 14px;
        width: 70%;
    }
    
    .faq-toggle {
        font-size: 18px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
}

/* Fix for iOS Safari height issues */
@supports (-webkit-touch-callout: none) {
    .faq-header {
        height: 40vh; /* Fallback */
        height: calc(40vh - 50px);
        min-height: 250px;
    }
}

/* Improved touch targets for mobile */
@media (hover: none) {
    .nav-links ul li a,
    .faq-question,
    .menu-toggle,
    .faq-toggle {
        padding: 12px;
    }
    
    .faq-toggle {
        font-size: 22px;
        font-weight: bold;
    }
}

/* Footer Section */
/* 
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    width: 100%;
}

footer p {
    font-size: 14px;
} 
*/ 