/* 
 * Main styles for domain.com
 * Color palette:
 * - Main: #1E1F26 (deep coal-blue)
 * - Accent: #FF6F61 (coral-red)
 * - Secondary: #A7D3A9 (mint)
 * - Background: #F4F4F9 (light gray)
 * - Text: white, coal-gray
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F4F4F9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: #1E1F26;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FF6F61;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: #FF6F61;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1E1F26;
}

.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #FF6F61;
    color: white;
}

.btn-primary:hover {
    background-color: #1E1F26;
    color: white;
}

.btn-secondary {
    background-color: #1E1F26;
    color: white;
}

.btn-secondary:hover {
    background-color: #FF6F61;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #FF6F61;
    color: #FF6F61;
}

.btn-outline:hover {
    background-color: #FF6F61;
    color: white;
}

/* Header styles */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    max-width: 180px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #1E1F26;
    font-weight: 600;
    position: relative;
}

.main-nav a:hover {
    color: #FF6F61;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6F61;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-color: #1E1F26;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 30px;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    background-color: #F4F4F9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #FF6F61;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.service-title {
    margin-bottom: 15px;
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #A7D3A9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1E1F26;
    font-size: 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: #F4F4F9;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
}

.testimonial-position {
    color: #666;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #F4F4F9;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    width: 100%;
    display: block;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: all 0.3s ease;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    height: auto;
}

/* Team Section */
.team {
    background-color: #F4F4F9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    margin-bottom: 5px;
}

.team-position {
    color: #666;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-form {
    background-color: #F4F4F9;
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
.main-footer {
    background-color: #1E1F26;
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #FF6F61;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: #FF6F61;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: #aaa;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    z-index: 1001;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    margin-top: 40px;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 120px 0 60px;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.thank-you-icon {
    font-size: 60px;
    color: #A7D3A9;
    margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu-icon {
        width: 30px;
        height: 20px;
        position: relative;
        display: block;
        cursor: pointer;
    }
    
    .menu-icon:before,
    .menu-icon:after,
    .menu-icon span {
        background-color: #1E1F26;
        content: '';
        display: block;
        height: 3px;
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .menu-icon:before {
        top: 0;
        width: 100%;
    }
    
    .menu-icon span {
        top: 8px;
        width: 100%;
    }
    
    .menu-icon:after {
        bottom: 0;
        width: 100%;
    }
    
    .menu-icon.active:before {
        transform: rotate(45deg);
        top: 8px;
    }
    
    .menu-icon.active span {
        opacity: 0;
    }
    
    .menu-icon.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        height: auto;
        padding: 20px 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 20px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .features-grid,
    .testimonial-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-container {
        padding: 20px;
    }
}
