:root {
    --primary-color: #6a5af9;
    --secondary-color: #f7776d;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --body-bg: #ffffff;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--body-bg); color: var(--dark-color); line-height: 1.7; overflow-x: hidden;}
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

.reveal { position: relative; transform: translateY(100px); opacity: 0; transition: 1s all ease; }
.reveal.active { transform: translateY(0); opacity: 1; }

.navbar { display: flex; align-items: center; padding: 20px 0; position: fixed; width: 100%; top: 0; left: 0; z-index: 1000; transition: background-color 0.3s ease, padding 0.3s ease; }
.navbar.scrolled { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 15px 0; }
.navbar .container { display:flex; justify-content: space-between; align-items: center; width: 100%;}
.navbar .logo  { font-size: 1.6rem; font-weight: 700; color: #fff; text-decoration: none; display: flex; align-items: center; }
.navbar .logo1 { width: 30px; filter: invert(1); margin-right: 8px; }
.navbar.scrolled .logo { color: var(--primary-color); }
.navbar.scrolled .logo1 { filter: invert(0); }
.navbar .nav-links { flex: 1; text-align: center;}
.navbar .nav-links a { color: #fff; text-decoration: none; margin: 0 15px; font-weight: 600; }
.navbar.scrolled .nav-links a { color: var(--dark-color); }
.right-nav { display: flex; align-items: center; }

/* Language Switcher Styles */
.lang-switcher { margin-right: 5px; display: flex; align-items: center; background: rgba(255, 255, 255, 0.2); padding: 4px; border-radius: 20px;}
.navbar.scrolled .lang-switcher { background: rgba(0, 0, 0, 0.05); }
.lang-flag { cursor: pointer; width: 24px; height: 24px; border-radius: 50%; transition: transform 0.3s, opacity 0.3s; opacity: 0.6; }
.lang-flag:first-child { margin-right: 5px; }
.lang-flag.active { transform: scale(1.1); opacity: 1; box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); }

.btn { background: #fff; color: var(--primary-color); padding: 12px 24px; border: none; border-radius: 50px; text-decoration: none; transition: all 0.3s ease; font-weight: 600; cursor: pointer;}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.btn-gradient { background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); color: #fff; box-shadow: 0 4px 15px rgba(106, 90, 249, 0.4); }

.hero { text-align: center; padding: 200px 0 150px 0; color: #fff; background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); background-size: 400% 400%; animation: gradientBG 15s ease infinite; }
@keyframes gradientBG { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }
.hero h1 { font-size: 4.2rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.hero p { font-size: 1.25rem; margin-bottom: 40px; max-width: 650px; margin-left: auto; margin-right: auto; opacity: 0.9; }

.section { padding: 100px 0; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 60px; font-weight: 700; }
.section-bg { background-color: var(--light-color); }

.slider-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.slider-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.mobile-mockup { position: relative; width: 300px; height: 600px; background: #111; border: 10px solid #000; border-radius: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); margin: auto; overflow: hidden; }
.swiper-container { width: 100%; height: 100%; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

.profile-types { background-image: url('https://www.transparenttextures.com/patterns/cubes.png'); background-color: var(--light-color); }
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.type-card { padding: 30px; border-radius: var(--border-radius-lg); text-align: center; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); }
.type-card.active, .type-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-color: rgba(255, 255, 255, 0.5); }
.type-card .icon { font-size: 3.5rem; margin-bottom: 20px; }
.type-card h3 { font-size: 1.6rem; }
.type-description-container { margin-top: 40px; min-height: 150px; }
.type-description { display: none; padding: 30px; background: #fff; border-radius: var(--border-radius-lg); animation: slideDown 0.5s ease; }
.type-description.active { display: block; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: var(--border-radius-lg); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;}
.footer { background-color: var(--dark-color); color: #fff; padding: 50px 0; text-align: center; }

/* Corrected Floating Action Buttons (FAB) */
.fab-container { position: fixed; bottom: 15px; left: 15px; z-index: 100; display: flex; flex-direction: column; align-items: center; }
.fab { width: 50px; height: 50px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 24px; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);  transition: transform 0.3s ease, box-shadow 0.3s ease; border: none; cursor: pointer;}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.fab-whatsapp { background-color: #25D366; }
.fab-telegram { background-color: #0088cc; }
.fab-scroll { background-color: var(--primary-color); }
.fab i { font-size: 26px; }

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .slider-section, .testimonial-grid, .contact-grid { grid-template-columns: 1fr; }
    .mobile-mockup { margin-bottom: 50px; transform: scale(0.9); }
    .types-grid { grid-template-columns: 1fr 1fr; }
    .navbar .nav-links { display: none; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .types-grid { grid-template-columns: 1fr; }
    .navbar .container { justify-content: space-between; }
    .navbar .logo { font-size: 1.3rem; }
    .right-nav { position: absolute; right: 15px; } /* Ensure it stays right */
}
/* ==============================================
   New Click-to-Toggle Floating Action Button
   ============================================== */

.fixed-action-btn {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 999;
}

/* General style for all floating buttons */
.fixed-action-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    text-decoration: none;
    color: #FFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.22);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.fixed-action-btn a:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* The main toggle button */
.fixed-action-btn .btn-large {
    position: relative; /* Needed for the close animation */
    width: 60px;
    height: 60px;
}

/* The list of action buttons (hidden by default) */
.fixed-action-btn ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2px;
    right: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.55, 0.06, 0.68, 0.19), opacity 0.3s ease;
    transform-origin: right  center;
    transform: scale(0.5);
    opacity: 0;
    visibility: hidden;
    GAP: 10px;
}

/* Show the list when the container is active */
.fixed-action-btn.active ul {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.fixed-action-btn ul li {
    margin-bottom: 15px;
}
.fixed-action-btn ul li a {
    width: 48px;
    height: 48px;
    

}
.fixed-action-btn ul li i {
    font-size: 25px;
}

/* --- Main Button Icon Animation (Spin-to-Close) --- */
.fixed-action-btn .btn-large i {
    transition: transform 0.3s ease, opacity 0.2s ease;
    opacity: 1;
    font-size: 24px;
}

.fixed-action-btn .btn-large:before,
.fixed-action-btn .btn-large:after {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: white;
    margin-top: -1px;
    margin-left: -12px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

/* When active, hide the icon and show the 'X' */
.fixed-action-btn.active .btn-large i {
    transform: scale(0.5) rotate(45deg);
    opacity: 0;
}

.fixed-action-btn.active .btn-large:before {
    opacity: 1;
    transform: rotate(135deg);
}

.fixed-action-btn.active .btn-large:after {
    opacity: 1;
    transform: rotate(45deg);
}

/* --- Specific Button Colors --- */
.fixed-action-btn .btn-primary { background-color: #1b8706; }
.fixed-action-btn .btn-secondary { background-color: var(--dark-color); }
.fixed-action-btn .btn-whatsapp { background-color: #25D366; }
.fixed-action-btn .btn-telegram { background-color: #0088cc; }
.fixed-action-btn .btn-instagram {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* ==============================================
   Minimal Contact Section Styles with Validation
   ============================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info column is smaller */
    gap: 50px; /* More space between columns */
    align-items: start;
}

/* Left Column: Minimal Info Styles */
.contact-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.contact-info p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
}
.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-size: 1.1rem;
}
.contact-info .info-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 25px; /* Align icons */
}
.contact-info .info-item a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info .info-item a:hover {
    color: var(--primary-color);
}

/* Right Column: Minimal Form Styles */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}
.form-input {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 2px solid #ddd; /* Underline style */
    background-color: transparent; /* No background */
    font-size: 1rem;
    color: var(--dark-color);
    transition: border-color 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-label {
    position: absolute;
    top: 10px;
    left: 5px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -16px;
    left: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
}
textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

/* --- Validation Styles --- */
.form-input.is-invalid {
    border-color: #e74c3c; /* Red for error */
}
.form-input.is-invalid:focus {
     border-color: #c0392b;
}
.form-input.is-invalid + .form-label {
    color: #e74c3c;
}
.form-input.is-valid {
    border-color: #2ecc71; /* Green for success */
}
.form-input.is-valid + .form-label {
    color: #2ecc71;
}

.contact-form .btn {
    width: auto; /* Button is not full width anymore */
    padding: 12px 30px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px; /* More space when stacked */
    }
    .contact-info {
        text-align: center;
    }
    .contact-info .info-item{
        justify-content: center;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* --- Left Column: Minimal Info Styles --- */
.contact-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.contact-info p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
}
.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-size: 1.1rem;
}
.contact-info .info-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 25px; /* Aligns icons neatly */
}
.contact-info .info-item a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info .info-item a:hover {
    color: var(--primary-color);
}

/* --- Right Column: Minimal Form Styles --- */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}
.form-input {
    width: 100%;
    padding: 12px 5px;
    border: none;
    border-bottom: 2px solid #ddd;
    background-color: transparent;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    transition: border-color 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-label {
    position: absolute;
    top: 10px;
    left: 5px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -16px;
    left: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
}
textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* --- HONEYPOT FIELD STYLE (Hides it from humans) --- */
.website-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* --- Validation Styles --- */
.form-input.is-invalid {
    border-color: #e74c3c;
}
.form-input.is-invalid + .form-label {
    color: #e74c3c;
}
.form-input.is-valid {
    border-color: #2ecc71;
}
.form-input.is-valid + .form-label {
    color: #2ecc71;
}

/* --- Button Style --- */
.contact-form .btn {
    width: auto;
    padding: 12px 35px;
    cursor: pointer;
}

/* --- Responsive Layout for Contact Section --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-info {
        text-align: center;
    }
    .contact-info .info-item{
        justify-content: center;
    }
}