@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gulzar&display=swap');

.almarai-light {
    font-family: "Almarai", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .almarai-regular {
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .almarai-bold {
    font-family: "Almarai", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .almarai-extrabold {
    font-family: "Almarai", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  .gulzar-regular {
    font-family: "Gulzar", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  
:root {
    --primary-color: #ffffff;
    --secondary-color: #74d5e1;
    --font-signature: 'Gulzar', serif;
    --font-signature-size: 2.5em;
    --font-signature-weight: 700;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Almarai', sans-serif;
    font-weight: 400;
    background-color: #14121e;
}

.navbar {
    background-color: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    margin-right: auto !important;
    margin-left: 0 !important;
    color: var(--primary-color) !important;
}
.navbar-nav{
    color: var(--primary-color);
    font-size: 1.2rem;
}
.navbar a{
    color: var(--primary-color);
}
.navbar a:hover{
    color: var(--secondary-color);
}
.navbar a:active{
    color: var(--primary-color) !important;
    font-size: 1.4rem;
    padding-left: 1rem;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--primary-color) !important;
    font-size: 1.4rem;
    padding-left: 1rem;
    
}
.navbar a:focus{
    color: var(--primary-color);
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-brand {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-brand:hover {
    color: #ffffff !important;
}

.hero-section {
    height: 100vh;
    background-image: url('images/hero1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: -1px;
}
.signinfo{
    font-family: var(--font-signature);
    font-size: 1.8rem;
    font-weight: var(--font-signature-weight);  
}
#ginfo-section {
    background-color: #14121e;
    margin-top: -60px;
    position: relative;
}

.ginfo-col {
    height: 500px;
    transition: all 0.3s ease;
}

.ginfo-col:hover {
    transform: scale(1.02);
    z-index: 1;
}

#ginfo-section .bg-primary, .bg-secondary {
    background-color: #1a1a2e !important;
}
.ginfo-col.bg-secondary.h-100.d-flex.align-items-center.justify-content-center {
    max-height: 500px;
}
/* 
#ginfo-section .bg-secondary {
    background-color: transparent !important;
} */

#ginfo-section h3 {
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#ginfo-section .lead {
    font-size: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

#ginfo-section .btn {
    width: fit-content;
    transition: all 0.3s ease;
    margin-right: 75%;
}

#ginfo-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Bottom divider (at the bottom of hero section) */
.bottom-divider {
    transform: rotate(180deg);
    bottom: 0;
}

/* Top divider (at the top of ginfo section) */
.top-divider {
    transform: rotate(0deg);
    top: 0;
}

/* Animate the brush strokes */
.section-divider path {
    transition: all 0.3s ease;
}

.section-divider:hover path:nth-child(1) {
    transform: translateX(5px);
}

.section-divider:hover path:nth-child(2) {
    transform: translateX(-5px);
}

.section-divider:hover path:nth-child(3) {
    transform: translateX(3px);
}

/* Adjust the sections to accommodate the dividers */
.hero-section {
    margin-bottom: -1px;
}

/* Ensure ginfo content appears above the divider */
#ginfo-section .container-fluid {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    width: 80%;
    height: 80%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Optional hover effect for the image */
.image-wrapper:hover .img-cover {
    transform: scale(1.05);
}

.youtubee{
    color: #f5deb3;
    font-size: 2rem;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .col-lg-7, .col-lg-5 {
        width: 100%;
    }
    
    .ginfo-col {
        height: auto;
        min-height: 300px;
    }
    
    .image-wrapper {
        width: 90%;
        height: 90%;
    }
}

/* Contact Section Styles */
#contact-section {
    background-color: #14121e;
    position: relative;
}

.contact-form-wrapper,
.subscription-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

/* Form Styles */
.form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Button Styles */
.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5fb7c1;
    transform: translateY(-2px);
}

/* Social Media Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .subscription-wrapper {
        margin-top: 2rem;
    }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.invalid-feedback {
    color: #dc3545;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px; /* Left side for RTL layout */
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    display: flex; /* Show when class is added */
}

.back-to-top:hover {
    background-color: #5fb7c1;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    transition: transform 0.2s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Larger touch target on mobile */
@media (max-width: 767.98px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 1.4rem;
    }
}
