/* === Root Variables & Base === */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --tertiary-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --accent-color: #ffc107;
    --bg-gradient: linear-gradient(90deg, rgb(45, 201, 50) 10%, rgb(228, 112, 100) 40%, rgb(232, 224, 72) 100%);
    --font-poppins: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-poppins); line-height: 1.6; color: var(--dark-color); background: var(--bg-gradient); }
.container { max-width: 1200px; margin: auto; padding: 0 2rem; overflow: hidden; }

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--dark-color); }
h1 { font-size: 3rem; } h2 { font-size: 2.5rem; } h3 { font-size: 1.75rem; }

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background: var(--secondary-color); 
}

/* === Header & Navigation === */
.header { background: #fff; padding: 1rem 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.5rem; font-weight: 700; color: var(--dark-color); text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav a { color: var(--dark-color); text-decoration: none; font-weight: 600; position: relative; transition: color 0.3s ease; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.nav a:hover::after { width: 100%; }

.lang-switcher { position: relative; }
.lang-switcher button {
    background: transparent;
    border: 1px solid #333;
    margin-left: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-family: var(--font-poppins);
}
.lang-switcher button:hover { background: #333; color: #fff; }

.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger-line { width: 100%; height: 3px; background-color: #333; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.is-active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* === Hero Section === */
.hero-section {
    background: var(--bg-gradient);
    height: 80vh; 
    display: flex; 
    align-items: center; 
    color: #fff; 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5); 
    position: relative;
}
.hero-section::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
}
.hero-section .container { 
    position: relative; 
    z-index: 1; 
    overflow: visible; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}
.hero-content { 
    flex: 1; 
    max-width: 600px;
    margin: 3rem; 
}
.hero-content h1, 
.hero-content h2, 
.hero-content h3 { 
    color: #fff; 
}
.hero-content p { 
    font-size: 1.2rem; 
    margin-bottom: 2rem; 
}
.hero-image { 
    text-align: center; 
    position: relative; 
    padding-top: 50px; 
    width: 60%; 
}
.hero-image ul{
    flex: 1;
    text-align: left;
    list-style-type: none;
}
.hero-image img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

.ribbon {
    position: relative; 
    top: 12px; 
    left: -8px; 
    transform-origin: left top; 
    transform: translateY(-10%) rotate(-5deg);
    z-index: 3; 
    background: var(--bg-gradient); 
    color: var(--light-color);
    padding: 4px 8px; 
    font-size: 0.9rem; 
    font-weight: bold; 
    box-shadow: 2px 5px 5px rgba(0,0,0,0.15);
    margin-bottom: 10px; 
    transition: transform .18s ease, top .18s ease, left .18s ease;
    white-space: nowrap; 
    border-radius: 5%;
}
.ribbon h1{
    margin-bottom: 0.5rem; 
    color: var(--dark-color);
}
.ribbon h2,
.ribbon h3,
.ribbon p { 
    margin-bottom: 0.5rem; 
    color: var(--light-color);
}
.ribbon ul { 
    list-style: none; 
    padding-left: 0; 
    margin: 0; 
}
.ribbon ul li h3 { 
    font-size: 0.95rem; 
}

/* === Sections === */
section { 
    padding: 5rem 0; 
}

/* About Section */
.about-section { 
    background: #fff; 
}
.about-section .container { 
    display: flex; 
    align-items: center; 
    gap: 4rem; 
    /*flex-wrap: wrap; 
    text-align: center; */
}
.about-content, .about-image { 
    flex: 1; 
}
.about-image img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.transition-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.transition-list li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.transition-list li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Services */
.services-section { 
    background: var(--light-color); 
    text-align: center; 
}
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
}
.service-card { 
    background: #fff; 
    padding: 2rem; 
    border-radius: 10px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    transition: transform 0.3s ease; 
    text-align: center; 
}
.service-card:hover { 
    transform: translateY(-10px); 
}
.service-card i { 
    font-size: 3rem; 
    color: var(--secondary-color); 
    margin-bottom: 1rem; 
}
.service-card h3 { 
    margin-bottom: 0.5rem; 
}

/* Team Section */
.team-section { 
    background: #fff; 
    text-align: center; 
}
.team-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 2rem; 
    margin-top: 3rem; 
}
.team-card { 
    background: var(--light-color); 
    border-radius: 10px; 
    padding: 1.5rem; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    text-align: center; 
}
.team-card img { 
    width: 120px; 
    height: 120px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-bottom: 1rem; 
    border: 3px solid var(--primary-color); 
}
.team-card h3 { 
    font-size: 1.2rem; 
    margin-bottom: 0.25rem; 
}
.team-card p { 
    color: #6c757d; 
}

/* Contact Section */
.contact-section { 
    background: var(--tertiary-color); 
    color: #fff; 
    text-align: center; 
    padding: 4rem 0; 
}
.contact-section h2 {
    color: var(--dark-color);
}
.contact-btn { 
    background: var(--bg-gradient); 
    color: var(--dark-color); 
}
.contact-btn:hover { 
    background: var(--accent-color); 
}
.social-links a { 
    color: #fff; 
    font-size: 2rem; 
    margin: 0 1rem; 
    transition: transform 0.3s ease; 
}
.social-links a:hover { 
    transform: scale(1.1); 
}

/* Footer */
.footer { 
    background: var(--dark-color); 
    color: #fff; 
    text-align: center; 
    padding: 1.5rem 0; 
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero-section .container, .about-section .container { flex-direction: column; text-align: center; }
    .hero-content, .about-content { order: 2; }
    .hero-image, .about-image { order: 1; width: 80%; }
    .ribbon { position: relative; top: auto; left: auto; transform: none; display: inline-block; margin: 1rem auto; border-radius: 8px; padding: 1rem 1.5rem; }
    .ribbon h1 { font-size: 1.6rem; }
    .ribbon li h3 { font-size: 1rem; }
    .hamburger { display: flex; }
    .nav { display: none; width: 100%; text-align: center; }
    .nav.is-open { display: block; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 1rem 0; }
    .nav ul { flex-direction: column; gap: 1rem; }
}

/* Small screens */
@media (max-width: 480px) {
    h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
    .ribbon { padding: 0.8rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
    .ribbon h1 { font-size: 1.4rem; }
    .ribbon li h3 { font-size: 0.95rem; }
}