* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../images/background.jpg');
    min-height: 100vh;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
    background-size: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 60px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flag {
    width: 20px;
    height: 15px;
    background: linear-gradient(to bottom, #002868 50%, #bf0a30 50%);
    border-radius: 2px;
}

.icon {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.icon:hover {
    opacity: 1;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 60vh;
}

.content-left {
    padding-right: 40px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1rem;
    color: #b8b8b8;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 39%
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.description strong {
    color: #ffffff;
}

/* Email Form */
.email-form {
    margin-bottom: 20px;
}

.email-input {
    width: 100%;
    max-width: 350px;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: #b8b8b8;
}

.email-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 12px;
    color: #b8b8b8;
    line-height: 1.4;
}

.checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    background: transparent;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox:checked {
    background: #ffd700;
    border-color: #ffd700;
}

.get-started-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Image Section */
.image-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.before-after {
    width: 100%;
    height: 100%;
    position: relative;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Make sure <img> fills the container */
.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.divider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 1.5px;
}

.divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    /* Optional: add a subtle shadow or effect */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.before-image,
.after-image,
.before-image img,
.after-image img,
.before-after,
.image-container {
    user-select: none;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
}

.chatbox-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    max-height: 180px;
    overflow-y: auto;
    padding: 5px 0;
}

.chat-message {
    display: flex;
    max-width: 80%;
    word-break: break-word;
}

.chat-message.user {
    align-self: flex-end;
    justify-content: flex-end;
}

.chat-message.bot {
    align-self: flex-start;
    justify-content: flex-start;
}

.chat-message span {
    display: inline-block;
    background: #f1f1f1;
    color: #000;
    border-radius: 16px;
    padding: 8px 14px;
    font-size: 1rem;
    line-height: 1.4;
}

.chat-message.user span {
    background: #ffe9ae;
    color: #000;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 16px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

.chat-message.bot span {
    background: #e9e9e9;
    color: #000;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 16px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;                /* Flexbox for centering */
    align-items: center;          /* Vertical center */
    justify-content: center;      /* Horizontal center */
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    z-index: 1000;
}
.chat-icon svg {
    width: 36px;   /* or any size you want */
    height: 36px;
    display: block;
}
.chat-icon:hover {
    transform: scale(1.1);
}
.chatbox-popup {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    background: #fff;
    box-shadow: 0 10px 36px rgba(0,0,0,0.18);
    border-radius: 14px;
    z-index: 1001;
    animation: fadeIn 0.18s;
}
@keyframes fadeIn { from { opacity:0; transform: translateY(25px);} to {opacity:1; transform: translateY(0);} }
.chatbox-header {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 18px 10px 18px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#closeChatbox {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #b6952b;
    cursor: pointer;
    margin-left: 5px;
}
.chatbox-content {
    padding: 16px 18px 14px 18px;
}
.chatbox-questions > span {
    display: block;
    font-size: 0.97rem;
    color: #373737;
    margin-bottom: 10px;
}
.chatbox-question {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #b6952b;
    border-radius: 18px;
    padding: 7px 14px;
    color: #b6952b;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 9px;
    cursor: pointer;
    transition: background 0.2s;
}
.chatbox-question:hover {
    background: #fffbe9;   
}
.chatbox-input {
    display: flex;
    align-items: center;
    margin-top: 7px;
    gap: 6px;
}
.chatbox-input input {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 8px 14px;
    font-size: 1rem;
    outline: none;
    background: #fafafa;
}
.chatbox-send {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 7px 2px 2px;
    border-radius: 50%;
    transition: background 0.2s;
}
.chatbox-send:hover {
    background: #f7ecd2;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .content-left {
        padding-right: 0;
    }

    .nav-links {
        display: none;
    }
}

/* User icon alignment */
.user-icon {
    display: inline-block;
    vertical-align: middle;
}

/* Dropdown styles */
.login-dropdown {
    position: relative;
}

.login-dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    background: white;
    min-width: 140px;
    right: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-radius: 4px;
    margin-top: 8px;
    z-index: 10;
    list-style: none;
    padding: 0;
    transform: translateY(-10px);
    transition: 
        opacity 0.3s cubic-bezier(0.4,0,0.2,1),
        transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.login-dropdown .dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.login-dropdown .dropdown-menu li:last-child {
    border-bottom: none;
}

.login-dropdown .dropdown-menu a {
    color: #222;
    text-decoration: none;
    display: block;
    padding: 10px 16px;
    transition: background 0.2s;
}

.login-dropdown .dropdown-menu a:hover {
    background: #f5f5f5;
}

/* Show dropdown on hover, with animation */
.login-dropdown:hover .dropdown-menu,
.login-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}