/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

/* Titles use Poppins Black for H1, Medium for others */
h1 {
    font-weight: 900;
}

h2, h3, h4, h5, h6 {
    font-weight: 500;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.flash-success {
    background-color: #28a745;
    border-left: 4px solid #1e7e34;
}

.flash-error {
    background-color: #dc3545;
    border-left: 4px solid #c82333;
}

.flash-info {
    background-color: #17a2b8;
    border-left: 4px solid #138496;
}

.flash-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

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

.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #ebeaee;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.about p {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about .brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
    align-items: center;
}

.about .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.about .brand-logo:hover {
    transform: translateY(-5px);
}

.about .brand-image {
    max-width: 375px;
    max-height: 187px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
    filter: none;
}

/* Trusted Brands Section */
.trusted-brands {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.trusted-brands-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.trusted-brands h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.trusted-brands p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.brand-image {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #2d2d2d;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #E73B28;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 59, 40, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #E73B28;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 80px 20px;
    background-color: #ebeaee;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #E73B28;
}

.category-item p {
    color: #333333;
    font-size: 0.9rem;
}

/* Forms Section */
.forms-section {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.forms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Captcha Section */
.captcha-section {
    grid-column: 1 / -1;
    background-color: #2d2d2d;
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid #E73B28;
    text-align: center;
    margin-bottom: 20px;
}

.captcha-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.captcha-section p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.captcha-section .form-group {
    margin-bottom: 0;
}

.captcha-section .cf-turnstile {
    margin: 0 auto;
}

.form-wrapper {
    background-color: #2d2d2d;
    padding: 40px;
    border-radius: 10px;
    border-top: 4px solid #E73B28;
}

.form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.form-wrapper p {
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #444444;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #E73B28;
}

.form-input::placeholder {
    color: #888888;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-errors {
    margin-top: 5px;
}

.error {
    color: #E73B28;
    font-size: 0.9rem;
    display: block;
}

/* Cloudflare Turnstile Styling */
.cf-turnstile {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

.cf-turnstile iframe {
    border-radius: 5px;
}

/* Ensure Turnstile widget fits well in forms */
@media (max-width: 480px) {
    .cf-turnstile {
        margin: 10px 0;
    }
    
    .cf-turnstile iframe {
        max-width: 100%;
        transform: scale(0.9);
        transform-origin: center;
    }
}

/* Newsletter Response Styles */
.newsletter-response {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid;
    animation: fadeIn 0.3s ease-out;
}

.newsletter-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #28a745;
}

.newsletter-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #dc3545;
}

.newsletter-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-left-color: #17a2b8;
    color: #17a2b8;
}

.newsletter-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    line-height: 1.5;
}

.newsletter-icon {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    background-color: currentColor;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Contact Response Styles */
.contact-response {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid;
    animation: fadeIn 0.3s ease-out;
}

.contact-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #28a745;
}

.contact-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #dc3545;
}

.contact-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-left-color: #17a2b8;
    color: #17a2b8;
}

.contact-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    line-height: 1.5;
}

.contact-icon {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    background-color: currentColor;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #E73B28;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #c82e1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 59, 40, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #E73B28;
    border: 2px solid #E73B28;
}

.btn-secondary:hover {
    background-color: #E73B28;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #111111;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer p {
    color: #888888;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #E73B28;
}

/* Terms Page Styles */
.terms-section {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2d2d2d;
    padding: 50px;
    border-radius: 10px;
    border-top: 4px solid #E73B28;
}

.terms-content h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    color: #888888;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.terms-content h2 {
    font-size: 1.5rem;
    color: #E73B28;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #444444;
    padding-bottom: 5px;
}

.terms-content p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-content li {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 8px;
}

.contact-info {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #E73B28;
}

.contact-info p {
    margin: 0;
    text-align: center;
}

.contact-info a {
    color: #E73B28;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #c82e1f;
    text-decoration: underline;
}

/* Privacy Page Styles */
.privacy-section {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2d2d2d;
    padding: 50px;
    border-radius: 10px;
    border-top: 4px solid #E73B28;
}

.privacy-content h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.privacy-content h2 {
    font-size: 1.5rem;
    color: #E73B28;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #444444;
    padding-bottom: 5px;
}

.privacy-content p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.privacy-content li {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 8px;
}

.company-info {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #E73B28;
}

.company-info p {
    margin-bottom: 10px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo {
        max-width: 225px;
    }
    
    .about h2,
    .trusted-brands h2,
    .services h2,
    .categories h2 {
        font-size: 2rem;
    }
    
    .about .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .services-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .forms-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 187px;
    }
    
    .about,
    .trusted-brands,
    .services,
    .categories,
    .forms-section {
        padding: 60px 15px;
    }
    
    .about h2,
    .trusted-brands h2,
    .services h2,
    .categories h2 {
        font-size: 1.8rem;
    }
    
    .about .brands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about .brand-image {
        max-width: 300px;
        max-height: 150px;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .brand-image {
        max-width: 100px;
        max-height: 50px;
    }
    
    .flash-messages {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .terms-content {
        padding: 30px 20px;
    }
    
    .terms-content h1 {
        font-size: 2rem;
    }
    
    .terms-content h2 {
        font-size: 1.3rem;
    }
    
    .privacy-content {
        padding: 30px 20px;
    }
    
    .privacy-content h1 {
        font-size: 2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.3rem;
    }
}
