﻿/* Root Variables - Matching the main theme */
:root {
    --primary-color: #61197C;
    --primary-dark: #471160;
    --secondary-color: #5C5C5C;
    --warning-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

/* English Primary Headline Font - Playfair Display (Elegant serif with character) */

/*@font-face {
    font-family: 'Montserrat';
    src: url('https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw5aXp-p7K4KLg.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/


/* English Script Font - Great Vibes (Elegant cursive) */
/*@font-face {
    font-family: 'Great Vibes';
    src: url('https://fonts.gstatic.com/s/greatvibes/v15/RWmMoKWR9v4ksMfaWd_JN9XFiaQoDmlrMlY.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/

/* English Subtext Font - Quicksand (Modern friendly sans-serif) */
/*@font-face {
    font-family: 'Quicksand';
    src: url('https://fonts.gstatic.com/s/quicksand/v30/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkP8o58a-wjwxUD2GF9Zc.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/


@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy/Gilroy-Bold.woff2') format('woff2'),
       url('../fonts/Gilroy/Gilroy-Bold.woff') format('woff'),
       url('../fonts/Gilroy/Gilroy-Bold.ttf') format('truetype');
  font-weight: bolder;
  font-style: normal;
}

@font-face {
    font-family: 'Sans';
    src: url('../fonts/sans/NewSansBold.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}

@font-face {
    font-family: 'WSans';
    src: url('../fonts/WSansNew-Bold.woff') format('woff'),
    url('../fonts/wsans/WSansNew-Bold.woff.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}


/* Arabic Primary Font - Cairo Rakkas (Elegant Arabic with distinctive character) */

@font-face {
    font-family: 'Cairo';
    src: url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hOA-a1biLD-H.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'Rakkas';
    src: url('https://fonts.gstatic.com/s/rakkas/v17/Qw3cZQlNHiblL3jPkdFONOTn.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

/* Arabic Subtext Font - Aref Ruqaa (Beautiful script-like Arabic) */
@font-face {
    font-family: 'Aref Ruqaa';
    src: url('https://fonts.gstatic.com/s/arefruqaa/v25/WwkbxPW1E165rajQKDulIIcoVRzp.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}






@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h1.animated-text {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    /*color: #61197C;*/
    color: ghostwhite;
    /*background: linear-gradient(to right, #fff, #e0c3fc, #fff);*/
    /*background: linear-gradient(to right, #fff, #61197C, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 1s ease-in-out;*/
}

    h1.animated-text.show {
        opacity: 1;
    }

.bg-frame {
    display: inline-block;
    padding: 2px;
    background: linear-gradient(to right, rgba(97, 25, 124, 0.7), rgba(97, 25, 124, 0.9), rgba(97, 25, 124, 0.7));
    border-radius: 16px;
}

.animated-text-small {
    display: inline-block;
    padding: 0px 4px;
    /*background-color: #61197C;*/
    /*background-color: rgba(255, 255, 255, 0.7);*/
    /*background-color: #61197C;*/
    background-color: whitesmoke;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    /*opacity: 0;*/
    transition: opacity 1s ease-in-out;
    /* Optional subtle text glow for elegance */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
    /* Gradient fade effect on text */
    /*background-image: linear-gradient(to right, rgba(255,255,255,0), #ffffff 60%, rgba(255,255,255,0));*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

    .animated-text-small.show {
        opacity: 1;
    }






/* Apply Fonts Based on Language */
.lang-en #headline {
    font-family: 'WSans', serif;
    letter-spacing: 0.5px;
    font-weight: bolder;
    font-size: 3.5em;
    position: relative;
    /* Remove the :after pseudo-element that creates the line */
    padding-bottom: 0;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

    /* Remove the line between heading and subtext */
    .lang-en #headline:after {
        display: none;
    }

.lang-en #subtext {
    font-family: sans-serif;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 1.5em;
}

/*.lang-en .special-text {*/
    /*font-family: 'Great Vibes', cursive;*/
    /*font-size: 1.5em;
    display: inline-block;
    margin: 0 5px;
    transform: translateY(3px);
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
    color:goldenrod;
}*/

.lang-ar #headline {
    font-family: 'Cairo', 'Rakkas', cursive;
    letter-spacing: 0;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.lang-ar #subtext {
    font-family: 'Cairo', 'Aref Ruqaa', serif;
    letter-spacing: 0;
    line-height: 1.6;
    font-weight: 400;
    font-size: 1.2em;
}

/* Enhanced Typography */
#headline {
/*    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 0.5rem;*/
    border-bottom: none;
}

#subtext {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Remove any border or line from the bg-frameX */
.bg-frameX {
    border-top: none;
    border-bottom: none;
    position: relative;
}

/* Animation Enhancement */
.animated-text, .animated-text-small {
    transition: opacity 3s ease, transform 1s ease;
    opacity: 0;
    /*  transform: translateY(15px);*/
}

    .animated-text.show, .animated-text-small.show {
        opacity: 1;
        transform: translateY(0);
    }

/* RTL Support for Arabic */
.lang-ar {
    direction: rtl;
}

/* Add glow effect to headline */
/*@keyframes soft-glow {
    0% {
        text-shadow: 0 0 3px rgba(97,25,124,0.5);
    }

    50% {
        text-shadow: 0 0 4px rgba(97,25,124,0.8), 0 0 4px rgba(97,25,124,0.5);
    }

    100% {
        text-shadow: 0 0 3px rgba(97,25,124,1);
    }
}

#headline {
    animation: soft-glow 2s infinite alternate;
}*/



/* Hero Section */
.hero-section {
    background: url('../images/new.png'); /* Replace with your actual PNG path */
    background-repeat: no-repeat;
    background-position: left center, center;
    background-size: cover;
    padding: var(--section-padding);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}


/*icons*/
.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--warning-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--white);
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}
/* Make icon titles smaller */
.hero-stats .stat-item h3 {
    font-size: 1.1rem; /* Adjust as needed */
    font-weight: 600;  /* Lighter than h1/h2 */
    margin-top: 10px;
}

/* Optional: make the stats <p> smaller too */
.hero-stats .stat-item p {
    font-size: 0.9rem;
    color: #666;
}


/* Animations */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}