/* Base Styles */
:root {
    --primary-color: #5bd4ff;
    --secondary-color: #333;
    --dark-bg: #2d2d2d;
    --light-bg: #f5f5f5;
    --text-color: #333;
    --light-text: #fff;
    --border-radius: 10px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-family: 'Kdam Thmor Pro', sans-serif;
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-color);
}

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

ul {
    list-style-type: none;
    padding-left: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    transition: var(--transition);
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
}

.primary-button:hover {
    background-color: #47c0eb;
}

.secondary-button {
    background: transparent;
    color: var(--primary-color);
}

.secondary-button:hover {
    color: #47c0eb;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.submit-button:hover {
    background-color: #47c0eb;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Header Styles */
.hero {
    background-color: var(--light-bg);
    background-image: url('./assets/hero-bg.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    padding: 2rem 0 20rem;
}

.blue-bar {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1.5rem 0;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text-container {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
}

.hero-content h3 span {
    margin-left: 0.25rem;
}

.hero-text {
    font-size: 1rem;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
    }
}

/* What You Won't Find Section */
.not-find {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 3rem 0;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.image-wrapper {
    flex: 1;
}

.text-wrapper {
    flex: 1;
}

/* Services Section */
.services {
    padding: 4rem 0;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
}

.service-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 5px;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.05);
}

/* Advantages Section */
.advantages {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.advantage-image {
    height: 250px;
    overflow: hidden;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.advantage-image img:hover {
    transform: scale(1.05);
}

.advantage-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
}

.advantage-card ul {
    padding: 0 1.5rem 1.5rem;
}

/* Registration Form Section */
.registration {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
}

.registration-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.registration-text {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #444;
    color: white;
}

.form-group input::placeholder {
    color: #aaa;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-contact {
    margin-top: 1.5rem;
}

/* Media Queries */
@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }

    .main-section h1 {
        word-break: break-all;
    }
}

.main-section {
    background: #343434;
    color: #fff;
}

.main-section h1 {
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.thank-section {
    text-align: center;
    padding: 2rem;
}

.thank-section .primary-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;  
    font-weight: bold;
    text-transform: uppercase;
}
