/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #1d1c0a;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Star Background for Main Content */
.star-background {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    z-index: -1;
    background: transparent;
    pointer-events: none;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 20, 34, 0.7), rgba(25, 30, 44, 0.9));
    z-index: -2;
    animation: gentleFlow 15s infinite linear;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.sticky {
    background: rgba(10, 15, 29, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 150px;
    height: 70px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #FFC107;
}

.dropdown {
    position: relative;
}

.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: #fff;
    padding: 0;
    transition: color 0.3s ease;
}

.dropdown .dropdown-toggle:hover {
    color: #FFC107;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    z-index: 1001;
    top: 100%;
    right: 0;
    padding: 0.5rem 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s ease 0.3s;
}

.dropdown:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.dropdown-menu li {
    list-style: none;
    padding: 0.5rem 1rem;
}

.dropdown-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    color: #03A9F4;
}

.controls {
    display: flex;
    gap: 1rem;
}

.btn-control {
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #9C27B0;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
}

.btn-control:hover {
    background: #9C27B0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.btn-control i {
    margin-left: 0.5rem;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: rgba(10, 15, 29, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}
/* Improved User Greeting Styles */
.user-greeting {
    color: #FFC107 !important;
    margin-left: 1rem;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(255, 193, 7, 0.2));
    border-radius: 25px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    display: inline-flex !important; /* تأكد من أنها مرئية */
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.user-greeting::before {
    content: "👋";
    font-size: 1.1rem;
}

.user-greeting:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.3), rgba(255, 193, 7, 0.3));
}

/* للتأكد من ظهورها في الوضع المحمول */
@media (max-width: 992px) {
    .user-greeting {
        display: none; /* يمكن إخفاؤها في المحمول إذا لزم الأمر */
    }
}
.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 3rem;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #FFC107;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Cairo', sans-serif;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.mobile-dropdown-menu {
    padding-right: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.active {
    max-height: 300px;
}

.mobile-dropdown-menu li {
    margin-bottom: 0.5rem;
}

.mobile-dropdown-menu a {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: none;
}

.mobile-controls {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-controls .btn-control {
    justify-content: center;
    text-align: center;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background: #0a0f1d;
    flex: 1;
    padding-top: 100px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Internship Hero Section */
.internship-hero {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 20, 34, 0.7), rgba(25, 30, 44, 0.9));
    position: relative;
    overflow: hidden;
}

.internship-hero::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 1000 1000"><polygon fill="%2303A9F4" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #9C27B0, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #e8ecef;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #03A9F4;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #e8ecef;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: #9C27B0;
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #7B1FA2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: #03A9F4;
    border: 1px solid #03A9F4;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #03A9F4;
    color: white;
    transform: translateY(-2px);
}

/* About Internship Section */
.about-internship {
    padding: 5rem 2rem;
    background: rgba(10, 15, 29, 0.7);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #FFC107;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e8ecef;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(3, 169, 244, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #03A9F4;
}

.feature i {
    font-size: 2.5rem;
    color: #03A9F4;
    margin-bottom: 1rem;
}

.feature h4 {
    color: #FFC107;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature p {
    color: #e8ecef;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #03A9F4, #9C27B0);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Internship Programs Section */
.internship-programs {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(10, 15, 29, 0.9), rgba(25, 30, 44, 0.9));
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #e8ecef;
    font-size: 1.2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
    border-color: #FFC107;
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.program-title {
    font-size: 1.4rem;
    color: #FFC107;
    margin: 0;
}

.program-duration {
    background: #03A9F4;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.program-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #e8ecef;
}

.detail-item i {
    color: #03A9F4;
    width: 20px;
}

.program-description {
    margin-bottom: 1.5rem;
    color: #e8ecef;
    line-height: 1.6;
}

.program-skills {
    margin-bottom: 2rem;
}

.program-skills h4 {
    color: #FFC107;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(3, 169, 244, 0.2);
    color: #03A9F4;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(3, 169, 244, 0.3);
}

.program-actions {
    display: flex;
    gap: 1rem;
}

/* Application Process Section */
.application-process {
    padding: 5rem 2rem;
    background: rgba(10, 15, 29, 0.7);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(156, 39, 176, 0.3);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: #9C27B0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    color: #FFC107;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #e8ecef;
    line-height: 1.6;
}

/* Application Form Section */
.application-form {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(10, 15, 29, 0.9), rgba(25, 30, 44, 0.9));
}

.internship-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(3, 169, 244, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFC107;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #9C27B0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #03A9F4;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

.documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.document-item {
    text-align: center;
}

.document-item input[type="file"] {
    display: none;
}

.document-item label {
    display: block;
    padding: 1rem;
    background: rgba(3, 169, 244, 0.1);
    border: 2px dashed #03A9F4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #03A9F4;
    font-weight: 600;
}

.document-item label:hover {
    background: rgba(3, 169, 244, 0.2);
    border-color: #FFC107;
    color: #FFC107;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn-primary {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Partners Section */
.partners-section {
    padding: 5rem 2rem;
    background: rgba(10, 15, 29, 0.7);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    border-color: #FFC107;
}

.partner-logo i {
    font-size: 3rem;
    color: #03A9F4;
}

.partner-logo span {
    color: #e8ecef;
    font-weight: 600;
    text-align: center;
}

/* Footer - Updated Design (Copied from facilities.css) */
.footer {
    background: linear-gradient(135deg, rgba(10, 15, 29, 0.9), rgba(25, 30, 44, 0.7));
    color: #fff;
    padding: 2rem 0 0 0;
    position: relative;
    width: 100%;
    margin-top: auto;
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(156, 39, 176, 0.2);
    z-index: 10;
    text-align: right;
    direction: rtl;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem 2rem;
}

.footer-section {
    padding: 1rem;
    text-align: right;
    direction: rtl;
}

.footer-section h3 {
    font-size: 1.3rem;
    color: #9C27B0;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #9C27B0;
}

/* Logo and Social Media Section */
.logo-social-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: right;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
    width: 150px;
    height: auto;
}

.footer-logo:hover img {
    filter: brightness(0.8) invert(0.9);
}

/* Social Media Buttons */
.example-2 {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.example-2 .icon-content {
    margin: 0 5px;
    position: relative;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 20%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 50%);
}

.example-2 .icon-content a i,
.example-2 .icon-content a .x-icon {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-2 .icon-content a:hover {
    color: white;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="x"] .filled,
.example-2 .icon-content a[data-social="x"] ~ .tooltip {
    background-color: #000000;
}

.example-2 .icon-content a[data-social="x"]:hover .filled {
    background-color: #000000;
}

.example-2 .icon-content a[data-social="x"]:hover .x-icon {
    color: #ffffff;
}

.example-2 .icon-content a[data-social="x"]:hover {
    background-color: #000000;
}

.example-2 .icon-content a[data-social="x"] {
    background-color: #ffffff;
}

.example-2 .icon-content a[data-social="x"] .x-icon {
    color: #000000;
    transition: color 0.3s ease-in-out;
}

.example-2 .icon-content a[data-social="x"]:hover ~ .tooltip {
    background-color: #000000;
    color: #ffffff;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
    background-color: #E4405F;
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
    background-color: #CD201F;
}

.example-2 .icon-content a[data-social="snapchat"] .filled,
.example-2 .icon-content a[data-social="snapchat"] ~ .tooltip {
    background-color: #FFFC00;
}

/* Programmers Section */
.programmers-section {
    margin-top: 1rem;
    text-align: right;
}

.programmers-section h4 {
    font-size: 1.2rem;
    color: #9C27B0;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.programmers-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9C27B0, transparent);
}

.programmers-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.programmer-link {
    color: #FFC107;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.programmer-link:hover {
    color: #03A9F4;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Information Section */
.contact-info p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    text-align: right;
}

.contact-info i {
    color: #9C27B0;
}

/* Contact Form Section */
.contact-form-section .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #9C27B0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FFC107;
    background: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form .submit-btn {
    padding: 0.8rem;
    background: #9C27B0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .submit-btn:hover {
    background: #FFC107;
    transform: translateY(-2px);
}

/* Footer Copyright */
.footer-copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    direction: rtl;
}

/* Working Hours Section */
.working-hours {
    margin-top: 1rem;
}

.working-hours .section-heading {
    color: #9C27B0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-top: 2px solid #9C27B0;
    padding-top: 0.5rem;
    display: inline-block;
}

.working-hours p {
    color: #e8ecef;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    text-align: right;
}

.working-hours i {
    color: #03A9F4;
    width: 20px;
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 2000;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cairo', sans-serif;
}

.chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chatbot-close:hover {
    transform: scale(1.2);
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 300px;
}

.chatbot-message {
    max-width: 80%;
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    line-height: 1.4;
}

.chatbot-message.bot {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-message.user {
    background: #9C27B0;
    color: #fff;
    align-self: flex-end;
    border: 1px solid rgba(156, 39, 176, 0.5);
}

.chatbot-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #9C27B0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.chatbot-input input:focus {
    outline: none;
    border-color: #FFC107;
    background: rgba(255, 255, 255, 0.15);
}

.chatbot-input input::placeholder {
    color: #ccc;
}

.chatbot-input button {
    padding: 0.8rem 1.2rem;
    background: #9C27B0;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.chatbot-input button:hover {
    background: #FFC107;
    transform: translateY(-2px);
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
    z-index: 2000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    background: linear-gradient(135deg, #FFC107, #FFA000);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

/* Scrollbar styling for chatbot messages */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #9C27B0;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #7B1FA2;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header {
        padding: 1.5rem 3%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .controls {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 5%;
    }
    
    .logo {
        width: 120px;
        height: 60px;
    }
    
    .internship-hero {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .documents-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .logo-social-section {
        align-items: center;
    }
    
    .example-2 {
        justify-content: center;
    }
    
    .chatbot-container {
        width: 90%;
        right: 5%;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 0.8rem 3%;
    }
    
    .logo {
        width: 100px;
        height: 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .internship-form {
        padding: 2rem 1.5rem;
    }
    
    .program-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .chatbot-container {
        width: 95%;
        right: 2.5%;
        bottom: 60px;
        max-height: 400px;
    }
    
    .chatbot-header {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .chatbot-messages {
        padding: 0.8rem;
        max-height: 250px;
    }
    
    .chatbot-message {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    .chatbot-input {
        padding: 0.8rem;
    }
    
    .chatbot-input input {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .chatbot-input button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .mobile-menu {
        width: 90%;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* RTL and LTR Support */
[dir="rtl"] .nav ul {
    margin-right: 0;
}

[dir="ltr"] .nav ul {
    margin-left: 0;
}

[dir="ltr"] .footer-section {
    text-align: left;
}

[dir="ltr"] .contact-info p {
    justify-content: flex-start;
}

[dir="ltr"] .programmer-link {
    justify-content: flex-start;
}

/* Responsive adjustments for LTR */
@media (max-width: 768px) {
    [dir="ltr"] .nav ul {
        text-align: left;
    }
}