:root {
    --primary-color: #0056b3;
    /* Deep Blue */
    --accent-color: #f39c12;
    /* Golden/Orange */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

/* Blinking Button Animation */
@keyframes blinking-gold {
    0% {
        background-color: var(--accent-color);
        box-shadow: 0 0 5px var(--accent-color);
    }

    33% {
        background-color: #27ae60;
        box-shadow: 0 0 20px #27ae60;
    }

    66% {
        background-color: #2980b9;
        box-shadow: 0 0 20px #2980b9;
    }

    100% {
        background-color: var(--accent-color);
        box-shadow: 0 0 5px var(--accent-color);
    }
}

.btn-blinking {
    animation: blinking-gold 3s infinite;
    color: var(--white) !important;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-blinking:hover {
    animation-play-state: paused;
    filter: brightness(1.1);
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    padding: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 10px;
}

/* Inline Language Switcher */
.lang-switcher-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.lang-switcher-inline a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px !important;
    font-size: 13px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
    font-weight: 600;
}

.lang-switcher-inline a:hover,
.lang-switcher-inline a.active {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    display: block;
}

.submenu a {
    display: block;
    padding: 8px 12px;
    text-transform: none;
    border-radius: 4px;
}

.submenu a:hover {
    background-color: var(--light-bg);
}

/* Language Switcher Flags */
.lang-switcher a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: inline-block;
    vertical-align: middle;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    /* Removed static background */
    height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    /* Ensure slides don't overflow */
    z-index: 1;
    /* Ensure content is above background */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.feature-list {
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Cards Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.card-body p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.link-arrow {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: auto;
}

.link-arrow:hover {
    color: var(--primary-color);
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.adv-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Contact CTA */
.contact-phones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.contact-phones a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-phones a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Footer */
.site-footer {
    background: #1a252f;
    color: #95a5a6;
    padding: 40px 0;
    margin-top: auto;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
        border-top: 1px solid #eee;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid #f5f5f5;
    }

    .submenu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        background: #f9f9f9;
        display: none;
    }

    .has-submenu:hover .submenu {
        display: block;
    }

    /* Horizontal Language Switcher on Mobile (Inline) */
    .lang-switcher-inline {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px 20px;
        background: #f5f5f5;
        border-top: 1px solid #eee;
        margin-left: 0;
    }

    .lang-switcher-inline a {
        width: auto;
        flex: 0 0 auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .header-inner {
        height: 60px;
    }


    .main-nav {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    transition: background-color 0.3s;
    margin-left: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-whatsapp img {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}