:root {
    --dark-green: #0a240a;
    --gold: #c6a664;
    --light-beige: #f5f0e4;
    --dark-brown: #3a2a20;
    --cream: #fcf8ee;
    --olive-green: #3c4b23;
    --gold-light: rgba(198, 166, 100, 0.8);
    --gold-dark: #b5881e;
    --green-light: rgba(10, 36, 10, 0.95);
    --green-darker: #051905;
    --gold-gradient: linear-gradient(135deg, var(--gold), var(--gold-dark));
  }
  
  body {
    font-family: 'Amiri', 'Lateef', 'Scheherazade New', serif;
    background-color: var(--light-beige);
    color: var(--dark-brown);
    line-height: 1.9;
    overflow-x: hidden;
    text-align: right;
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  
  .navbar {
    background-color: var(--green-light) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    padding: 15px 0;
    transition: all 0.4s ease;
    border-bottom: 2px solid var(--gold-light);
  }
  
  .navbar.scrolled {
    padding: 10px 0;
    background-color: var(--green-darker) !important;
    backdrop-filter: blur(8px);
  }
  
  .navbar-brand {
    color: var(--gold) !important;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    font-family: 'Lateef', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-brand .logo-container {
    position: relative;
    width: 60px;
    height: 50px;
    margin-left: 15px;
    display: flex;
    align-items: center;
  }
  
  .navbar-brand .logo-container .logo-icon {
    font-size: 1.8rem;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(198, 166, 100, 0.5);
  }
  
  .prayer-times {
    display: flex;
    align-items: center;
    margin-left: 20px;
  }
  
  .prayer-time {
    margin: 0 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .prayer-time span:first-child {
    color: var(--gold);
    font-weight: 600;
  }
  
  .prayer-time span:last-child {
    font-size: 0.8rem;
  }
  
  .dropdown-menu {
    background-color: var(--green-darker);
    border: 1px solid var(--gold-light);
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  
  .dropdown-item {
    color: var(--cream);
    font-size: 1.1rem;
    padding: 10px 20px;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .dropdown-item::before {
    content: '';
    position: absolute;
    right: 15px;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
  }
  
  .dropdown-item:hover, .dropdown-item:focus {
    background-color: transparent;
    color: var(--gold);
    padding-right: 25px;
  }
  
  .dropdown-item:hover::before {
    width: 20px;
  }
  
  .dropdown-divider {
    border-color: rgba(198, 166, 100, 0.3);
    margin: 5px 0;
  }
  
  .nav-link {
    color: var(--cream) !important;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 8px;
    padding: 10px 20px !important;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    font-family: 'Tajawal', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transition: all 0.4s ease;
  }
  
  .nav-link:hover {
    color: var(--gold) !important;
    transform: translateY(-3px);
    text-shadow: 0 0 5px rgba(198, 166, 100, 0.5);
  }
  
  .nav-link:hover::before {
    width: calc(100% - 40px);
  }
  
  .nav-link.active {
    background: linear-gradient(135deg, var(--gold-light), rgba(198, 166, 100, 0.5));
    color: var(--dark-brown) !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(198, 166, 100, 0.3);
  }
  
  .nav-link i {
    margin-left: 10px;
    font-size: 1em;
    transition: transform 0.3s ease;
  }
  
  .nav-link:hover i {
    transform: scale(1.2);
  }
  
  .hero-section {
    background: linear-gradient(rgba(10, 36, 10, 0.9), rgba(60, 75, 35, 0.9)), 
                url('images/kaaba-hero-2.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cream);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
  }
  
  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('images/islamic-pattern-2.png') repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
  }
  
  .hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--light-beige), transparent);
    z-index: 2;
  }
  
  .hero-text {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 5px 15px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.3;
    animation: fadeInUp 1s ease both;
    font-family: 'Lateef', serif;
    background: linear-gradient(to bottom, var(--gold), #e8d9b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero-search {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
  }
  
  .hero-search input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .hero-search input:focus {
    outline: none;
    box-shadow: 0 5px 30px rgba(198, 166, 100, 0.4);
  }
  
  .hero-search button {
    position: absolute;
    left: 5px;
    top: 5px;
    background: var(--gold-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .hero-search button:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transform: translateX(-5px);
  }
  
  .duas-main {
    padding: 80px 0;
    position: relative;
    background-color: var(--light-beige);
  }
  
  .duas-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('images/islamic-pattern-light.png') repeat;
    opacity: 0.05;
    pointer-events: none;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-header h2 {
    font-size: 2.8rem;
    color: var(--dark-green);
    font-family: 'Lateef', serif;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(to left, var(--gold), transparent);
    border-radius: 2px;
  }
  
  .section-header p {
    font-size: 1.4rem;
    color: var(--olive-green);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .accordion-item {
    border: none;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(70, 50, 40, 0.1);
    background-color: white;
  }
  
  .accordion-button {
    background-color: white;
    color: var(--dark-green);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    padding: 20px 25px;
    border-radius: 10px 10px 0 0 !important;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  
  .accordion-button:not(.collapsed) {
    background: linear-gradient(to right, var(--gold-light), white);
    color: var(--dark-green);
    box-shadow: 0 2px 10px rgba(198, 166, 100, 0.2);
  }
  
  .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a240a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
  }
  
  .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a240a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  
  .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
  }
  
  .accordion-body {
    padding: 25px;
    background-color: white;
    border-radius: 0 0 10px 10px;
  }
  
  .category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(70, 50, 40, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    border-bottom: 5px solid var(--gold);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 166, 100, 0.1), transparent);
    opacity: 0;
    transition: all 0.4s ease;
  }
  
  .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(70, 50, 40, 0.15);
  }
  
  .category-card:hover::before {
    opacity: 1;
  }
  
  .category-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    transition: all 0.4s ease;
  }
  
  .category-card:hover .category-icon {
    transform: scale(1.2);
    color: var(--gold-dark);
  }
  
  .category-title {
    font-size: 1.8rem;
    color: var(--dark-green);
    font-family: 'Lateef', serif;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
  }
  
  .category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: all 0.4s ease;
  }
  
  .category-card:hover .category-title::after {
    width: 100%;
  }
  
  .category-desc {
    font-size: 1.2rem;
    color: var(--dark-brown);
    font-family: 'Amiri', serif;
    transition: all 0.4s ease;
  }
  
  .category-card:hover .category-desc {
    color: var(--olive-green);
  }
  
  .dua-text {
    font-size: 1.8rem;
    color: var(--dark-green);
    font-family: 'Scheherazade New', serif;
    line-height: 2.5;
    margin-bottom: 20px;
    text-align: right;
    position: relative;
    padding-right: 30px;
  }
  
  .dua-text::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -15px;
    font-size: 3.5rem;
    color: var(--gold-light);
    font-family: 'Amiri', serif;
    line-height: 1;
  }
  
  .dua-text::after {
    content: '"';
    position: absolute;
    left: 0;
    bottom: -25px;
    font-size: 3.5rem;
    color: var(--gold-light);
    font-family: 'Amiri', serif;
    line-height: 1;
  }
  
  .dua-reference {
    font-size: 1.2rem;
    color: var(--olive-green);
    font-family: 'Tajawal', sans-serif;
    background: rgba(10, 36, 10, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
  }
  
  .dua-container:hover .dua-reference {
    background: rgba(198, 166, 100, 0.2);
    color: var(--dark-green);
  }
  
  .copy-btn {
    background: var(--gold-gradient);
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(198, 166, 100, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 166, 100, 0.4);
  }
  
  .copy-btn:hover::before {
    opacity: 1;
  }
  
  .copy-btn i {
    margin-left: 8px;
    position: relative;
  }
  
  .copy-btn span {
    position: relative;
  }
  
  .share-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }
  
  .share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .share-btn.facebook {
    background-color: #3b5998;
  }
  
  .share-btn.twitter {
    background-color: #1da1f2;
  }
  
  .share-btn.whatsapp {
    background-color: #25d366;
  }
  
  .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .download-section {
    background: linear-gradient(135deg, var(--green-light), var(--green-darker));
    padding: 60px 0;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
  }
  
  .download-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('images/islamic-pattern-2.png') repeat;
    opacity: 0.1;
  }
  
  .download-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(198, 166, 100, 0.3);
  }
  
  .download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
  }
  
  .download-btn {
    background: var(--gold-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(198, 166, 100, 0.3);
  }
  
  .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(198, 166, 100, 0.4);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  }
  
  .download-btn i {
    margin-left: 10px;
  }
  
  @keyframes fadeInUp {
    from { 
      opacity: 0; 
      transform: translateY(40px); 
    }
    to { 
      opacity: 1; 
      transform: translateY(0); 
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
  }
  
  @keyframes scaleIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  .floating {
    animation: float 6s ease-in-out infinite;
  }
  
  .back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(198, 166, 100, 0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  
  .back-to-top.active {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  }
  
  @media (max-width: 1400px) {
    .hero-text h1 {
      font-size: 3rem;
    }
    
    .prayer-times {
      display: none;
    }
  }
  
  @media (max-width: 1200px) {
    .hero-text h1 {
      font-size: 2.8rem;
    }
    
    .dua-text {
      font-size: 1.6rem;
    }
  }
  
  @media (max-width: 992px) {
    .hero-text h1 {
      font-size: 2.5rem;
    }
    
    .section-header h2 {
      font-size: 2.5rem;
    }
    
    .section-header p {
      font-size: 1.3rem;
    }
    
    .accordion-button {
      font-size: 1.3rem;
    }
  }
  
  @media (max-width: 768px) {
    .navbar-brand {
      font-size: 1.4rem;
    }
    
    .hero-text h1 {
      font-size: 2.2rem;
      margin-bottom: 1rem;
    }
    
    .nav-link {
      font-size: 1.1rem;
      padding: 8px 16px !important;
    }
    
    .section-header h2 {
      font-size: 2.2rem;
    }
    
    .dua-text {
      font-size: 1.5rem;
      line-height: 2.2;
    }
    
    .back-to-top {
      width: 40px;
      height: 40px;
      font-size: 1rem;
      bottom: 20px;
      left: 20px;
    }
  }
  
  @media (max-width: 576px) {
    .hero-text {
      padding: 0 20px;
    }
    
    .hero-text h1 {
      font-size: 2rem;
    }
    
    .navbar-brand {
      font-size: 1.2rem;
    }
    
    .navbar-brand .logo-container {
      width: 45px;
      height: 38px;
      margin-left: 10px;
    }
    
    .section-header h2 {
      font-size: 2rem;
    }
    
    .section-header p {
      font-size: 1.1rem;
    }
    
    .accordion-button {
      font-size: 1.2rem;
      padding: 15px 20px;
    }
    
    .dua-text {
      font-size: 1.4rem;
      padding-right: 20px;
    }
    
    .dua-text::before, 
    .dua-text::after {
      font-size: 2.5rem;
    }
  }