/* Import dashboard styles */
@import url("dashboard.css");
@import url("login.css");
@import url("signup.css");

/* ===========================
   GLOBAL RESET & VARIABLES
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #f0f0f0; /* हल्का सफ़ेद रंग */
    --surface: #ffffff;  /* साफ़ सफ़ेद */
    --main-dark-blue: #0a1128; /* गहरा नीला */
    --metallic-silver-gradient: linear-gradient(90deg, #6c757d, #adb5bd, #dee2e6, #adb5bd, #6c757d); /* हल्का सिल्वर ग्रेडिएंट */
    --text-color: #0a1128; /* गहरा नीला */
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* हल्की काली चमक */
    --radius: 0; /* तेज़, आधुनिक कोने */
    --transition: 0.3s ease-in-out;
}

body {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    background: var(--bg-light);
    color: var(--text-color);
    min-height: 100vh;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: var(--main-dark-blue);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar .logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.navbar .logo span {
    font-weight: 600;
    font-size: 20px;
    background: var(--metallic-silver-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar nav {
    display: flex;
    gap: 32px;
}

.navbar nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--surface); /* सफेद */
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar nav a:hover {
    color: #e0e0e0;
    transform: translateY(-2px);
}

/* Gradient style for specific nav links */
.gradient-nav-link {
    background-image: var(--metallic-silver-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.gradient-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-image: var(--metallic-silver-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.gradient-nav-link:hover::after {
    transform: scaleX(1);
}

.gradient-nav-link:hover {
    transform: translateY(-2px);
}


/* ===========================
   HOMEPAGE LAYOUT
=========================== */
.homepage_container {
    display: flex;
    gap: 60px;
    width: 90%;
    max-width: 1500px;
    margin: 60px auto;
    padding: 0 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* ===========================
   SLIDER
=========================== */
.slider_section {
    flex: 2;
    min-width: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    position: relative;
    box-shadow: var(--shadow);
}

.slider img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

.slider_controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    height: 1px;
    width: 2px;
    top: 55%; /* center vertically */
    left: 0;
    width: 100%;
    padding: 0 20px; /* स्पेसिंग ठीक की गई है */
    transform: translateY(-50%);
}

.slider_controls button {
    background: transparent;
    border: 0px solid;
    border-image: var(--metallic-silver-gradient) 1;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: var(--metallic-silver-gradient);
    justify-items: center;
    align-items: stretch;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    margin-top: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider_controls button:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: #333;
    color: #333;
    -webkit-text-fill-color: #333;
}

/* ===========================
   ABOUT SECTION
=========================== */
.about_section {
    flex: 1;
    min-width: 300px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about_section h2, .about_section p, .point h3, .point p {
    color: var(--text-color);
}
.about_section h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.about_section p {
    font-size: 16px;
    line-height: 1.6;
}

.about_points {
    flex: 1;
    min-width: 300px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.point {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.point:hover {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.point h3 {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.point p {
    font-size: 14px;
    line-height: 1.5;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    text-align: center;
    font-size: 14px;
    padding: 24px;
    background: var(--main-dark-blue);
    border-top: 1px solid #333;
    color: var(--text-color);
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 1024px) {
    .homepage_container {
        flex-direction: column;
        align-items: center;
    }

    .slider_section,
    .about_section {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 24px;
    }

    .navbar nav {
        gap: 16px;
    }

    .about_section {
        padding: 24px;
    }

    .about_section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .navbar nav {
        width: 100%;
        justify-content: space-around;
    }
}
/* ===========================
   GLOBAL RESET
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact_section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: #f5f6fa;
    min-height: 100vh;
}

.inquiry_form {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.inquiry_form label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
}

.inquiry_form input,
.inquiry_form textarea {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.inquiry_form input:focus,
.inquiry_form textarea:focus {
    outline: none;
    border-color: #5c6bc0;
    box-shadow: 0 0 6px rgba(92, 107, 192, 0.3);
}

.inquiry_form button {
    padding: 12px 15px;
    background: #5c6bc0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.inquiry_form button:hover {
    background: #3f51b5;
}

/* ===========================
   MODAL
=========================== */
.modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    animation: fadeIn 0.25s ease forwards;
}

.modal_content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: slideIn 0.25s ease forwards;
}

.modal_content h2 {
    color: #5c6bc0;
    margin-bottom: 10px;
}

.modal_content p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.modal_content pre {
    background: #f1f3f6;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
    font-size: 0.85rem;
    overflow-x: auto;
    margin-bottom: 15px;
}

.modal_content button {
    padding: 10px 15px;
    background: #5c6bc0;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.modal_content button:hover {
    background: #3f51b5;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideIn {
    from {transform: translateY(-20px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}
