/* Custom styles for droospace theme */

:root {
    --primary-color: #ff6b35; 
    --secondary-color: #f7931e;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-light: #666;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.btn-primary-custom {
    background: var(--gradient);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* Top Bar */

.top-bar {
    background-color: #2c3e50;
    color: white; 
    padding: 10px 0;
    font-size: .75rem;
}
.email-address a{
    color: #fff;
    text-decoration: none !important;
}

.email-address a:hover {
    color: #f7931e; /* Change to secondary color on hover */
}
/* Navigation Bar */
.navbar-section, 
.header-main {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex !important;
    align-items: center !important;
    min-width: 100% !important;
    padding: 0 !important;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

@media (min-width: 768px) {
    .login-container {
        width: 100%!important;
    }
}
.login-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgb(0 0 0 / .2);
    width: 500px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.logo-text {
    color: white;
}

.site-name {
    font-size: 1.5rem; 
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: white;
}

.site-name a {
  color: white;       /* Inherits text color from parent (h1) */
  text-decoration: none; /* Removes underline */
}

/* Optional: Add hover effect if desired */
.site-name a:hover {
  color: white;       /* Keeps same color on hover */
  text-decoration: none;
}
.sub-slogan {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
    opacity: 0.9;
}

.menu-space {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ff6b35" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ff6b35" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="600" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: #bdc3c7;
    margin-bottom: 30px;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.hero-image {
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 0px solid var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    animation: pulse 3s ease-in-out infinite;
    object-fit: contain;
    filter: brightness(1.05) contrast(1.05);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 30px 50px rgba(0,0,0,0.4); }
}

.hero-contact {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.phone-number {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.phone-number:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: white;
}

.hero-image img:hover {
    transform: scale(1.05);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Section Styling */
/* Specialities Section */
.specialities-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Specialties Section */
.specialty-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    text-align: center;
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.specialty-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.specialty-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--dark-color);
    color: white;
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-section .section-subtitle {
    color: #bdc3c7;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    direction: rtl;
    text-align: right;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
    text-align: right;
}

.testimonial-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-image {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    transform: rotate(-2deg);
}

.testimonial-image:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Promotion Section */
.promotion-section {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.promotion-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.promotion-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--gradient);
    color: white;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styling */
.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    background: var(--gradient);
    color: white;
    border-radius: 20px 20px 0 0;
}

/* Moodle Content Section */
.moodle-content {
    padding: 40px 0;
    background: white;
    min-height: 200px;
}

.moodle-content h1, 
.moodle-content h2, 
.moodle-content h3, 
.moodle-content h4, 
.moodle-content h5, 
.moodle-content h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.moodle-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.moodle-content a:hover {
    color: var(--secondary-color);
}

.moodle-content .btn-primary {
    background: var(--gradient);
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.moodle-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Moodle Controls in Top Bar */
.moodle-controls {
    font-size: 0.9rem;
}

.moodle-controls .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.moodle-controls .nav-link:hover {
    color: white;
}

.moodle-controls .nav-link a {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.moodle-controls .nav-link a:hover {
    color: #f7931e; /* Change to secondary color on hover */
}
.moodle-controls .dropdown-toggle::after {
    border-top-color: rgba(255, 255, 255, 0.5);
}

.moodle-controls .dropdown-menu {
    background: var(--dark-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 5px;
}

.moodle-controls .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.moodle-controls .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.moodle-controls .divider {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.moodle-controls .icon {
    width: 12px;
    height: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 5px;
}

/* Edit mode switch styling */
.dropdown-menu {
    z-index: 1031;
}
.moodle-controls .custom-switch {
    padding-left: 2.25rem;
}

.moodle-controls .custom-control-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.moodle-controls .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Notification styles */
.moodle-controls .popover-region {
    margin: 0 0.5rem;
}

.moodle-controls .popover-region-toggle {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.moodle-controls .popover-region-toggle:hover {
    color: white;
}

.moodle-controls .popover-region-container {
    background: var(--dark-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.moodle-controls .count-container {
    background: var(--primary-color);
    border: none;
}

/* User menu dropdown styling */
.usermenu .dropdown .dropdown-toggle {
    padding: 0;
    background: transparent;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
}

.usermenu .dropdown .dropdown-toggle:hover,
.usermenu .dropdown .dropdown-toggle:focus {
    background: transparent;
    color: #f8f9fa;
    text-decoration: none;
}

.usermenu .dropdown .dropdown-menu {
    margin-top: 0.25rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.usermenu .dropdown .dropdown-item {
    padding: 0.5rem 1.25rem;
    color: #1d2125;
    font-size: 0.9375rem;
}

.usermenu .dropdown .dropdown-item:hover,
.usermenu .dropdown .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #0f6cbf;
    text-decoration: none;
}

.usermenu .dropdown .dropdown-item.active,
.usermenu .dropdown .dropdown-item:active {
    background-color: #0f6cbf;
    color: #ffffff;
}

.usermenu .dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.usermenu .dropdown-menu a {
    color: #1d2125;
    text-decoration: none;
}

.usermenu .dropdown-menu a:hover,
.usermenu .dropdown-menu a:focus {
    color: #0f6cbf;
    text-decoration: none;
}

/* Notification dropdown styling */

/* Add these z-index rules to existing dropdown styles */
.popover-region {
    position: relative;
    z-index: 1031;
}

.popover-region-container {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    color: #1d2125;
    z-index: 1031;
}

.popover-region-header-container {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1.25rem;
}

.popover-region-header-text {
    color: #1d2125;
    font-size: 1rem;
    font-weight: 500;
}

.popover-region-header-container,
.popover-region-footer-container {
    z-index: 1031;
}
.popover-region-content-container {
    background-color: #ffffff;
    color: #1d2125;
}

.content-item-container {
    position: relative;
    z-index: 1031;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1.25rem;
}

.content-item-container:hover {
    background-color: #f8f9fa;
}

.content-item-container.unread {
    background-color: #f8f9fa;
}

.content-item-body {
    color: #1d2125;
}

.content-item-footer .timestamp {
    color: #6c757d;
}

.popover-region-footer-container {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1.25rem;
}

.popover-region-footer-container a {
    color: #0f6cbf;
    text-decoration: none;
}

.popover-region-footer-container a:hover {
    text-decoration: underline;
}

.popover-region-toggle::before {
    color: #fff;
}

.popover-region .popover-region-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.popover-region-toggle[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Empty notification state */
.empty-message {
    color: #6c757d;
    padding: 0.5rem 1.25rem;
    text-align: center;
}

/* Notification icons */
.notification-icon {
    color: #0f6cbf;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-image img {
        width: 300px;
        height: 300px;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-top: 2rem;
    }

    .specialty-card {
        margin-bottom: 20px;
    }

    .testimonial-image {
        margin-top: 30px;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
        text-align: center;
    }

    .top-bar .col-md-6:last-child {
        display: none;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .promotion-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        margin: 15px 0;
    }

    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .phone-number {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .specialty-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .specialty-title {
        font-size: 1.2rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* Fix for modal on mobile */
.modal {
    padding: 0 !important;
}

.modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
}
.navbar-nav-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navbar-toggler {
    display: none;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    margin: 0 10px;
}
.moremenu {
    opacity: 100% !important;
    height: 60px;
}
.moremenu .nav-link {
    height: 60px;
    display: flex;
    align-items: center;
    border-right: none;
    border-bottom: solid 0px #fff;
    border-left: none;
    border-top: none;
    color:#fff;
}

.moremenu .nav-link:hover {
    border-bottom: solid 1px #fff;
    color:#fff;
    background: transparent !important;
}
.moremenu .show>.nav-link, .moremenu .active>.nav-link, .moremenu .nav-link.show, .moremenu .nav-link.active {
    border-bottom: solid 1px #ff6b35;
    color:#ff6b35;
    background: transparent !important;
}

.moremenu .nav-tabs {
    margin-left: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}
.secondary-navigation .navigation .nav-tabs .nav-link:hover {
    color: #ff6b35;
}
/* Settings Tabs */
.nav-pills .nav-link {
    border-radius: 25px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}
.nav-pills .nav-link.active {
    background-color: var(--primary); /* Use your theme's primary color variable */
    color: white;
}
.nav-pills .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

