* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f8fafc;
    color: #0f172a;
}

/* ===============================
   NAVBAR BASE
================================*/
.custom-navbar {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    padding: 10px 20px;
}

/* ===============================
   LOGO
================================*/
.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #38bdf8;
    background: #0ea5e9;
    flex-shrink: 0;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}

.logo-text span {
    color: #38bdf8;
}

/* ===============================
   CENTER NAV AREA
================================*/
.nav-center {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 0;
}

.nav-menu .nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

/* hover underline */
.nav-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #38bdf8;
    transition: 0.3s ease;
}

.nav-menu .nav-link:hover {
    color: #38bdf8 !important;
}

.nav-menu .nav-link:hover::after {
    width: 100%;
}

/* ===============================
   DESKTOP SIDE SPACING
================================*/
.nav-container {
    max-width: 1320px;
}

.custom-navbar {
    padding-left: 0;
    padding-right: 0;
}

/* ===============================
   SEARCH BOX (DESKTOP)
================================*/
.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    height: 34px;
    padding: 6px 12px;
    border-radius: 6px 0 0 6px;
    border: none;
    outline: none;
    background: #f1f5f9;
}

.search-box button {
    height: 34px;
    border-radius: 0 6px 6px 0;
    border: none;
    background: #38bdf8;
    color: white;
    padding: 0 12px;
    transition: 0.3s;
}

.search-box button:hover {
    background: #0ea5e9;
}

/* ===============================
   RIGHT SIDE BUTTONS
================================*/
.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===============================
   TOGGLER FIX
================================*/
.navbar-toggler {
    border: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(56,189,248,1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-secondary{
  border:2px solid #cff838;
    background:#c43a3a;
  color:#ffffff;
  padding:10px 18px;
  border-radius:25px;
  text-decoration:none;
  margin-left:10px;
   font-weight:600;
}
.btn-secondary:hover{background:#c8e90e;color:#000}

/* PAGE HERO */
.page-hero{
  text-align:center;
  padding:40px 10px;
  background:linear-gradient(135deg,#0d5f85,#118994,#33a0c5);
  color:#fff;
  animation:fadeDown 1s ease;
}

/* ABOUT SECTION GRID */
.about-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}

/* ABOUT BOX */
.about-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

.about-box:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    transform: translateY(-8px);
}

/* ICON ABOVE HEADINGS */
.about-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* HEADINGS */
.about-box h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0f172a;
}

/* PARAGRAPH */
.about-box p {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

/* CONTACT PAGE */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
}

.contact-form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    width: 100%;
    resize: none;
}

.contact-form button {
    padding: 12px 20px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #2563eb;
}

.contact-info {
    flex: 1 1 300px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

.contact-info h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

.contact-info p {
    margin-bottom: 20px;
    color: #475569;
}

.contact-info a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ANIMATION */
@keyframes fadeDown{
  from{opacity:0;transform:translateY(-10px)}
  to{opacity:1;transform:translateY(0)}
}

/* ===============================
   HERO SECTION
================================*/
/* ========================= */ /* HERO SECTION */ /* ========================= */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  background: radial-gradient(circle at top left, #1e293b, #0f172a);
}
.hero-left {
  max-width: 550px;
  color: #fff;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 700;
}
.hero span {
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  margin: 25px 0;
  color: #94a3b8;
  font-size: 18px;
} 

/* ========================= */ /* BUTTONS */ /* ========================= */

.btn-primary {
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  padding: 6px 24px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-warning {
  background: linear-gradient(90deg, #e3bd14, #e3bd14);
  padding: 6px 24px;
  border-radius: 8px;
  text-decoration: none;
  color: black;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 242, 55, 0.4);
}

.btn-outline {
  border: 1px solid #38bdf8;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  color: #38bdf8;
  margin-left: 15px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #38bdf8;
  color: #0f172a;
} 

/* ========================= */ /* GLASS CARDS */ /* ========================= */

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 320px;
  color: #fff;
}

.glass-card h3 {
  margin-bottom: 15px;
}

.glass-card ul {
  list-style: none;
}

.glass-card li {
  margin-bottom: 10px;
  color: #cbd5e1;
} 

/* Card hover effect for notes */
.card:hover {
    transform: translateY(-3px);  /* Moves the card up */
    transition: transform 0.3s ease, box-shadow 0.3s ease;  /* Smooth animation */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);  /* Adds shadow */
}

/* ========================= */ /* EXPERTISE GRID */ /* ========================= */

.expertise {
  padding: 100px 8%;
  text-align: center;
}

.expertise h2 {
  font-size: 36px;
  margin-bottom: 60px;
}

.expertise-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.expert-card {
  background: #1e293b;
  padding: 40px;
  border-radius: 12px;
  width: 280px;
  transition: 0.3s;
  border: 1px solid transparent;
  color: #fff;
}

.expert-card:hover {
  border: 1px solid #6366f1;
  transform: translateY(-5px);
}

.expert-card p {
  color: #94a3b8;
  margin-top: 15px;
} 

/* ========================= */ /* CALL TO ACTION */ /* ========================= */

.cta {
  padding: 100px 8%;
  text-align: center;
  background: linear-gradient(90deg, #1e293b, #0f172a);
  color: #fff;
}

.large-btn {
  margin-top: 30px;
  display: inline-block;
}

.login-btn {
  color: white;
  background: #0f172a;
  border: 1px solid #38bdf8;
}

.login-btn:hover {
  background: #38bdf8;
  color: white;
}

.signup-btn,
.dashboard-btn {
  color: white;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
}

.signup-btn:hover,
.dashboard-btn:hover {
  opacity: 0.9;
}

.logout-btn {
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
  background: #0f172a;
}

.logout-btn:hover {
  background: #ff6b6b;
  color: white;
}

 /* ========================= */ /* FOOTER DESIGN */ /* ========================= */
.custom-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 8% 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-section {
  flex: 1;
  min-width: 220px;
}
.footer-brand h3 {
  font-size: 22px;
  font-weight: 700;
  color: white;
}
.footer-brand span {
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand p {
  margin-top: 15px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}
.footer-section h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: white;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #94a3b8;
}
.footer-section ul li a {
  text-decoration: none;
  color: #94a3b8;
  transition: 0.3s;
}
.footer-section ul li a:hover {
  color: #38bdf8;
} /* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1e293b;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}
.social-icons a.youtube:hover {
  background: #ff0000;
  transform: translateY(-4px);
}
.social-icons a.instagram:hover {
  background: #e1306c;
  transform: translateY(-4px);
}
.social-icons a.linkedin:hover {
  background: #0077b5;
  transform: translateY(-4px);
}
.social-icons a.facebook:hover {
  background: #1877f2;
  transform: translateY(-4px);
}
.social-icons a.twitter:hover {
  background: #000000;
  transform: translateY(-4px);
}
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #64748b;
} 

/* ===============================
   ORDERS TABLE (DESKTOP)
================================*/
.order-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.order-table th,
.order-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
}

.order-table th {
    background: #0f172a;
    color: white;
    font-weight: 600;
}

.order-table tr:last-child td {
    border-bottom: none;
}

/* Status badges */
.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.pending {
    background: #fef3c7;
    color: #92400e;
}

.status.paid {
    background: #dcfce7;
    color: #166534;
}

.paid-text {
    color: #16a34a;
    font-weight: 600;
}

.reason-cell {
    min-width: 100px;
}

.reason-form {
    display: flex;
    flex-direction: column;
}

.reason-textarea {
    width: 100%;
    height: 40px;
    resize:vertical;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
}

.reason-textarea:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239,68,68,0.15);
}

/* ===============================
   📱 MOBILE RESPONSIVE TABLE
================================*/
@media (max-width: 768px) {

    .order-table thead {
        display: none;
    }

    .order-table,
    .order-table tbody,
    .order-table tr,
    .order-table td {
        display: block;
        width: 100%;
    }

    .order-table tr {
        background: white;
        margin-bottom: 16px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
        padding: 12px;
    }

    .order-table td {
        border: none;
        padding: 8px 0;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .order-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #475569;
    }

    .approve-btn {
        width: 50%;
        text-align: center;
        padding: 8px;
        margin-top: 8px;
    }
}

/* ===============================
   📱 MOBILE RESPONSIVE
================================*/
@media (max-width: 991px) {

    /* navbar becomes white */
    .custom-navbar {
        background: #0f172a !important;
    }

    .logo-text {
        color: #fff;
        font-size: 18px;
    }

    .logo-circle {
        width: 32px;
        height: 32px;
    }

    /* collapse area */
    .navbar-collapse {
        text-align: right;
        background: #121c32;
        padding: 15px 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    /* stack center */
    .nav-center {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        gap: 12px;
    }

    /* vertical menu */
    .nav-menu {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        gap: 10px;
    }

    .nav-menu li {
        width: 100%;
        text-align: right;
    }

    .nav-menu .nav-link {
        color: #fff !important;
    }

    /*hide search on mobile */
    .search-box {
        display: none !important;
    }

    /* right buttons stack */
    .nav-right {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    /* dark icon for white navbar */
   .navbar-toggler-icon {
        filter: invert(0);
    }

    @media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .hero-right {
    margin-top: 50px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-brand p {
    margin: 15px auto;
  }
  .social-icons {
    justify-content: center;
  }
}
}
@media (min-width: 1400px) {
    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 991px) {

    .reason-cell {
        min-width: unset;
    }

     .reason-textarea {
        height: 80px;
        font-size: 12px;
    }
}
@media(max-width:768px) {
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 16px; }
    .about-box { padding: 25px 15px; }
}
@media(max-width:768px){
    .contact-section {
        flex-direction: column;
    }
}