/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: #007bff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

.btn-contact {
    background-color: #007bff;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background-color: #0056b3;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1000;
    flex-direction: column;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #555;
    transition: 0.3s;
}

.dropdown-content li a:hover {
    background-color: #f0f7ff;
    color: #007bff;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 0 8%;
    background: linear-gradient(120deg, #ffffff 60%, #f0f7ff 40%);
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.sub-heading {
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.sub-heading::before {
    content: "";
    width: 30px;
    height: 2px;
    background-color: #007bff;
    margin-right: 10px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin: 20px 0;
    color: #1a1a1a;
}

.hero-content h1 span {
    color: #007bff;
}

.hero-content p {
    color: #777;
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 450px;
}

/* Email Form */
.email-form {
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
    max-width: 450px;
}

.email-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #eee;
    outline: none;
    font-size: 14px;
}

.btn-get-started {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-get-started:hover {
    background-color: #0056b3;
}

/* Hero Image/Right Side */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.circle-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

/* Placeholder for the person image */
.person-img {
    position: relative;
    z-index: 2;
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 50%;
    /* Filter used to simulate the clean studio look of the reference */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content {
        margin-bottom: 50px;
    }
    .sub-heading {
        justify-content: center;
    }
    .email-form {
        margin: 0 auto;
    }
    nav {
        display: none; /* Hide nav on mobile for simplicity */
    }
}

.about-us { padding: 80px 8%; background: #fff; }

/* Partners */
.partners-bar { text-align: center; margin-bottom: 80px; }
.partners-bar p { font-size: 12px; font-weight: 700; color: #999; letter-spacing: 2px; margin-bottom: 30px; }
.partners-bar span { color: #007bff; }
.logo-grid { display: flex; justify-content: space-around; align-items: center; opacity: 0.5; filter: grayscale(100%); }
.logo-grid img { height: 30px; }

/* About Main */
.about-container { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.about-image-wrapper { flex: 1; position: relative; padding-left: 20px; }
.main-about-img { width: 100%; border-radius: 5px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.experience-badge {
    position: absolute; bottom: 20px; right: -10px;
    background: #28a745; color: white; padding: 15px 25px;
    border-radius: 5px; display: flex; align-items: center; gap: 10px;
}
.experience-badge .number { font-size: 24px; font-weight: 700; }
.experience-badge .text { font-size: 11px; text-transform: uppercase; line-height: 1.2; }

.about-text { flex: 1; }
.about-text h2 { font-size: 36px; margin: 15px 0; line-height: 1.3; }

/* Tabs */
.tabs { display: flex; gap: 10px; margin: 25px 0; }
.tab-btn {
    padding: 10px 25px; border: none; background: #f0f7ff;
    color: #555; cursor: pointer; border-radius: 5px; font-weight: 600;
    transition: 0.3s;
}
.tab-btn.active { background: #007bff; color: white; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; font-size: 14px; position: relative; padding-left: 25px; }
.check-list li::before { 
    content: '✓'; position: absolute; left: 0; color: #007bff; 
    border: 1px solid #007bff; border-radius: 50%; width: 18px; 
    height: 18px; display: flex; align-items: center; justify-content: center; font-size: 10px;
}

/* Stats Bar */
.stats-bar { 
    display: flex; justify-content: space-between; 
    padding-top: 50px; border-top: 1px solid #eee;
}
.stat-item { display: flex; align-items: center; gap: 15px; }
.stat-icon { font-size: 30px; color: #007bff; }
.stat-item h3 { font-size: 28px; }
.stat-item p { font-size: 14px; color: #777; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
    .about-container { flex-direction: column; }
    .logo-grid { flex-wrap: wrap; gap: 20px; }
    .stats-bar { flex-wrap: wrap; gap: 30px; justify-content: center; }
}

.contact-section {
    padding: 100px 8%;
    background-color: #fcfdfe; /* Very light blue tint to separate from white sections */
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 36px;
    margin: 15px 0 25px;
    line-height: 1.2;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.detail-item h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.detail-item p {
    font-size: 14px;
    color: #777;
}

/* Form Styling */
.contact-form-wrapper {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.styled-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.styled-form input, 
.styled-form textarea,
.styled-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
    background-color: #fff;
    color: #555;
}

.styled-form input:focus, 
.styled-form textarea:focus,
.styled-form select:focus {
    border-color: #007bff;
}

.styled-form input[readonly] {
    background-color: #f1f1f1;
    cursor: not-allowed;
}

.btn-submit {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
    padding: 15px 35px;
}

.btn-submit:hover {
    background-color: #0056b3;
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
    }
}

.main-footer {
    background-color: #ffffff;
    padding: 80px 8% 20px;
    border-top: 1px solid #eee;
}

/* CTA Area */
.footer-cta {
    background-color: #007bff;
    padding: 40px 60px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    color: white;
}

.footer-cta h2 { font-size: 28px; margin-bottom: 10px; }
.btn-footer-cta {
    background: white;
    color: #007bff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.btn-footer-cta:hover { background: #f0f7ff; }

/* Links Grid */
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: #777; font-size: 14px; margin-bottom: 20px; }

.footer-column h4 { margin-bottom: 25px; font-size: 18px; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { text-decoration: none; color: #777; font-size: 14px; transition: 0.3s; }
.footer-column ul li a:hover { color: #007bff; padding-left: 5px; }

.footer-subscribe { display: flex; margin-top: 15px; }
.footer-subscribe input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
    width: 100%;
}
.footer-subscribe button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Bottom Bar */
.bottom-bar {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    border-top: 1px solid #f5f5f5;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #f0f7ff;
    color: #007bff;
    border-radius: 50px;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 16px;
    overflow: hidden;
}

.social-links a i {
    min-width: 40px;
    text-align: center;
}

.social-links a span {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.social-links a:hover {
    background-color: #007bff;
    color: white;
    width: 140px;
}

.social-links a:hover span {
    max-width: 100px;
    opacity: 1;
    margin-right: 10px;
}

.copyright { text-align: center; color: #aaa; font-size: 12px; margin-top: 20px; }

@media (max-width: 992px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-cta { flex-direction: column; text-align: center; gap: 20px; }
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; }
}

/* Properties Page Styles */
.properties-container {
    padding-top: 100px; /* Offset for fixed header */
    background-color: #fcfdfe;
}

.page-header {
    text-align: center;
    padding: 60px 8%;
    background-color: #f0f7ff;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 10px;
}

.property-section {
    padding: 20px 8% 60px;
}

.section-title {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title h2 {
    font-size: 28px;
    color: #007bff;
    white-space: nowrap;
}

.section-title .line {
    height: 2px;
    background-color: #eee;
    width: 100%;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
}

.property-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    background: #f0f0f0;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Skeleton loading animation */
.property-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: skeleton-loading 1.5s infinite;
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.5s ease;
    opacity: 0; /* Hidden until loaded */
}

@keyframes skeleton-loading {
    100% { transform: translateX(100%); }
}

/* Class added by JS when image is loaded */
.property-card img.loaded {
    opacity: 1;
}

.property-card:hover img {
    transform: scale(1.1);
}

.property-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.property-card:hover .overlay {
    opacity: 1;
}

.property-card .overlay h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.property-card:hover .overlay h3 {
    transform: translateY(0);
}

.property-card .overlay .view-btn {
    font-size: 14px;
    font-weight: 600;
    background: #007bff;
    padding: 10px 25px;
    border-radius: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s, background 0.3s;
}

.property-card:hover .overlay .view-btn {
    transform: translateY(0);
}

.property-card .overlay .view-btn:hover {
    background: #0056b3;
}

/* Scroll Animation Classes */
.animate-on-scroll,
.animate-fade-up,
.animate-fade-down,
.animate-fade-left,
.animate-fade-right,
.animate-zoom-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll { transform: translateY(30px); }
.animate-fade-up { transform: translateY(30px); }
.animate-fade-down { transform: translateY(-30px); }
.animate-fade-left { transform: translateX(30px); }
.animate-fade-right { transform: translateX(-30px); }
.animate-zoom-in { transform: scale(0.9); }

.animate-on-scroll.visible,
.animate-fade-up.visible,
.animate-fade-down.visible,
.animate-fade-left.visible,
.animate-fade-right.visible,
.animate-zoom-in.visible {
    opacity: 1;
    transform: none;
}

/* Animation Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Reviews Page Styles */
.reviews-page-container {
    padding-top: 100px;
    background-color: #fcfdfe;
    min-height: 100vh;
}

.reviews-section {
    padding: 0 8% 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,123,255,0.08);
    border-color: #e0efff;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    color: #f0f7ff;
    z-index: 0;
    font-family: serif;
}

.review-text {
    position: relative;
    z-index: 1;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.7;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
}

.reviewer-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

.reviewer-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 2px;
    font-weight: 600;
}

.reviewer-info .role {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stars {
    color: #ffc107;
    font-size: 12px;
}

/* Property Details Page */
.property-details-container {
    padding: 120px 8% 80px;
    background-color: #fcfdfe;
    min-height: 100vh;
}

.details-wrapper {
    display: flex;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.details-image {
    flex: 1;
    position: relative;
}

.details-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.details-price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.details-info {
    flex: 1;
    min-width: 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #777;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.back-link:hover { color: #007bff; }

.details-info h1 { font-size: 32px; margin-bottom: 10px; line-height: 1.2; }
.details-info .location { color: #777; margin-bottom: 20px; font-size: 15px; }
.details-info .divider { height: 1px; background: #eee; margin: 20px 0; }
.details-info h3 { font-size: 20px; margin-bottom: 15px; color: #333; }
.details-info .description { color: #555; margin-bottom: 30px; line-height: 1.7; overflow-wrap: break-word; word-wrap: break-word; }

.amenities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.amenities-list li { color: #555; font-size: 14px; }
.amenities-list li i { color: #28a745; margin-right: 8px; }

.units-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.units-table th, .units-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.units-table th { color: #007bff; font-weight: 600; }

.inquiry-box {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0efff;
}

.action-buttons { margin-top: 20px; display: flex; gap: 15px; }
.btn-inquire { background: #007bff; color: white; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-inquire:hover { background: #0056b3; }
.btn-call { background: white; color: #333; border: 1px solid #ddd; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-call:hover { background: #f9f9f9; border-color: #ccc; }

@media (max-width: 992px) {
    .details-wrapper { flex-direction: column; }
}

/* Unit Galleries Container */
.unit-galleries-container {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 60px; /* Space between each unit type section */
}

/* Room Gallery Section */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.gallery-header h2 {
    font-size: 28px;
    color: #333;
    border-left: 5px solid #007bff;
    padding-left: 15px;
}

.gallery-filter-select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    color: #555;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.3s;
}

.gallery-filter-select:hover,
.gallery-filter-select:focus {
    border-color: #007bff;
}

.room-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.room-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 450px; /* Fixed height for consistency */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 1;
}

.room-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover img { transform: scale(1.1); }

.room-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white; padding: 20px; padding-top: 40px;
}
.room-info h4 { margin: 0; font-size: 18px; font-weight: 600; }

/* --- New Creative Animations --- */

/* Floating Animation (Continuous) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation (Attention Seeker) */
@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.btn-pulse {
    animation: pulse-blue 2s infinite;
}

/* Shine/Sheen Effect on Hover */
.shine-hover {
    position: relative;
    overflow: hidden;
}

.shine-hover::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
}

.shine-hover:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    100% { left: 125%; }
}

/* Login Page Styles */
.login-page-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f7ff;
    padding: 100px 20px 40px;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.login-header p {
    color: #777;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
}

/* Make space for the icon inside the password field */
.styled-form .password-wrapper input {
    padding-right: 45px;
}

.password-wrapper #togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.password-wrapper #togglePassword:hover {
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.btn-full-width {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* Dashboard Specific Styles */
body.dashboard-page {
    background-color: #f0f7ff;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: white;
    padding: 30px 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.sidebar .logo {
    margin-bottom: 50px;
    text-align: center;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 10px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background: #007bff;
    color: white;
}

.main-content {
    flex: 1;
    padding: 40px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-size: 24px;
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #333;
}

.stat-info p {
    color: #777;
    font-size: 14px;
}

/* Dashboard Responsive Additions */
.dashboard-toggle {
    display: none; /* Hidden on desktop */
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 40px;
    border: 1px solid #888;
    width: 90%; 
    max-width: 700px;
    border-radius: 15px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.inquiry-view-details {
    margin-top: 20px;
}

.inquiry-view-details .detail-row {
    margin-bottom: 15px;
}

.inquiry-view-details strong {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.inquiry-view-details p,
.inquiry-view-details .message-box {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.inquiry-view-details .message-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    white-space: pre-wrap; /* To preserve line breaks */
    word-wrap: break-word;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 15px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Input Group for Currency */
.input-group {
    position: relative;
    width: 100%;
}

.input-group span {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-weight: 500;
    pointer-events: none;
}

.input-group input {
    padding-left: 30px !important;
}

.table-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.table-controls input[type="search"],
.table-controls select {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
    background-color: #fff;
    color: #555;
    font-size: 14px;
}

.table-controls input[type="search"] {
    flex-grow: 1;
}

.table-controls select {
    cursor: pointer;
}

.table-controls input[type="search"]:focus,
.table-controls select:focus {
    border-color: #007bff;
}
.table-container {
    overflow-x: auto;
}

/* Dashboard Charts */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.chart-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.chart-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.reply-btn:disabled {
    color: #999 !important;
    cursor: not-allowed;
}
