/* 
   Color Palette:
   - Background: Ultramarine (#1E2A78)
   - Accent: Coral (#FF6F61)
   - Additional: Neon Green (#00E676)
   - Text: Light (#F5F5F5)
   - Blocks: Gradients from Purple (#2C1E4A) to Ultramarine (#1E2A78)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F5F5F5;
    background-color: #1E2A78;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #F5F5F5;
    text-decoration: none;
    transition: all 0.3s ease;
}
option {
    color: white;
background-color: #4F4E7F;}

a:hover {
    color: #FF6F61;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #FF6F61;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 42, 120, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F5F5F5;
    text-transform: uppercase;
}

.main-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu ul li {
    margin-left: 1.5rem;
}

.main-menu ul li a {
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: #FF6F61;
    color: #F5F5F5;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #00E676;
    color: #1E2A78;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #F5F5F5;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: url('./img/YmwnP.jpg') center/cover no-repeat;
    margin-top: 60px; /* height of header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 30, 74, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-cta {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2C1E4A 0%, #1E2A78 100%);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6F61;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1E2A78 0%, #2C1E4A 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 0;
    padding-bottom: 50%; /* 50% height to width ratio */
    position: relative;
    overflow: hidden;
}

.service-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: #FF6F61;
}

.service-link {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.5rem 0;
    color: #00E676;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00E676;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(0);
}

/* Advantages Section */
.advantages-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2C1E4A 0%, #1E2A78 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.advantage-icon {
    margin-bottom: 1rem;
    color: #00E676;
}

.advantage-item h3 {
    margin-bottom: 1rem;
    color: #FF6F61;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

/* Cases Section */
.cases-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1E2A78 0%, #2C1E4A 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.case-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.case-image {
    height: 0;
    padding-bottom: 50%;
    position: relative;
    overflow: hidden;
}

.case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    margin-bottom: 1rem;
    color: #FF6F61;
}

/* Form Section */
.form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2C1E4A 0%, #1E2A78 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form {
    display: grid;
    grid-gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #F5F5F5;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6F61;
    box-shadow: 0 0 0 2px rgba(255, 111, 97, 0.3);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check input {
    margin-right: 0.5rem;
}

.form-check label a {
    color: #00E676;
    text-decoration: underline;
}

.form-check label a:hover {
    color: #FF6F61;
}

.contact-form .cta-button {
    justify-self: flex-start;
    border: none;
    cursor: pointer;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1E2A78 0%, #2C1E4A 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex-grow: 1;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: #FF6F61;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author h4 {
    color: #00E676;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
#footer {
    background: #2C1E4A;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-grid h3 {
    color: #FF6F61;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #00E676;
}

.footer-contact address {
    font-style: normal;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a:hover {
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.domain {
    color: #00E676;
}

/* Thank You Page */
.thank-you-section {
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2C1E4A 0%, #1E2A78 100%);
    margin-top: 60px;
}

.thank-you-content {
    max-width: 600px;
    margin: 8rem auto 5rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.thank-you-icon {
    color: #00E676;
    margin-bottom: 1.5rem;
}

.thank-you-content h1 {
    color: #FF6F61;
    margin-bottom: 1.5rem;
}

.thank-you-content .cta-button {
    margin-top: 2rem;
}

/* Policy Pages */
.policy-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #2C1E4A 0%, #1E2A78 100%);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-content h1 {
    color: #FF6F61;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    color: #00E676;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
    margin-bottom: 1.5rem;
}

.policy-content ul,
.policy-content ol {
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #2C1E4A;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.cookie-content {
    text-align: center;
}

.cookie-content h3 {
    color: #FF6F61;
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.cookie-link {
    display: inline-block;
    margin-top: 1rem;
    color: #00E676;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1E2A78;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-menu ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-menu ul li {
        margin: 0.8rem 0;
    }
    
    .menu-toggle:checked ~ .main-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .about-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .section-title::after {
        width: 80px;
    }
    
    .service-card,
    .case-card,
    .testimonial-card,
    .advantage-item {
        min-width: 100%;
    }
}
