/* General Styles */
:root {
    --primary-color: #1e40af;
    --secondary-color: #333;
    --text-color: #333;
    --light-color: #fff;
    --grey-color: #f5f5f5;
    --border-color: #ddd;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

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

ul {
    list-style-type: none;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #1e3a8a;
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #f8f8f8;
}

/* Header & Navigation */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav {
    padding: 20px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background-image: url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: right;
    padding: 100px 0;
}

.hero h1 {
    max-width: 700px;
    margin-left: auto;
    margin-bottom: 30px;
}

.hero p {
    max-width: 700px;
    margin-left: auto;
    margin-bottom: 40px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

/* Spheres Section */
.spheres {
    padding: 0;
    background-color: var(--primary-color);
}

.spheres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.sphere-item {
    padding: 40px 30px;
    text-align: center;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sphere-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background-color: var(--light-color);
}

.why-choose-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.why-choose-text {
    flex: 3;
}

.why-choose-image {
    flex: 2;
}

.why-choose ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.why-choose li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.why-choose li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px;
    text-align: center;
    border-radius: 0;
}

.stat-item h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Case Study Section */
.case-study {
    padding: 80px 0;
    background-color: var(--light-color);
}

.case-study-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.case-study-image {
    flex: 1;
}

.case-study-text {
    flex: 1;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
}

.services h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.service-image {
    margin-bottom: 20px;
    overflow: hidden;
}

.service-image img {
    transition: transform 0.3s ease;
}

.service-item h3 {
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-color);
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

form input,
form textarea {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

form .error {
    border-color: #e53e3e;
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--light-color);
    border-top: 1px solid var(--border-color);
}

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

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    background-color: var(--light-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

.cookie-popup.small {
    max-width: 350px;
}

.cookie-content {
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .why-choose-content,
    .case-study-content {
        flex-direction: column;
    }

    .about-image,
    .about-text,
    .why-choose-text,
    .why-choose-image,
    .case-study-image,
    .case-study-text {
        flex: 100%;
    }

    .spheres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        text-align: center;
        padding: 60px 0;
    }

    .hero h1,
    .hero p {
        margin-right: auto;
        margin-left: auto;
    }

    .about,
    .why-choose,
    .case-study,
    .services,
    .contact {
        padding: 50px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-popup {
        width: 90%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .spheres-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
}

html {
    scroll-behavior: smooth;
}

.thank-section  {
    padding: 80px 0;
    text-align: center;
}

.thank-section h1 {
    text-transform: uppercase;
}

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

.main-section h1 {
    text-transform: uppercase;
}