/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');

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

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f5f2ed;
    color: #4a4a4a;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
}


.logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 7px;
}


.navbar-brand {
    padding: 0;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #8b6f47 !important;
    background: rgba(139, 111, 71, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8b6f47;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #8b6f47 0%, #a0826d 100%);
    color: white;
    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('https://bsm.sa/tst/images/02.jpeg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-title {
    font-size: 3.0rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #f5e6d3;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.btn-primary {
    background: #d4a574;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    background: #c19660;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
}

.btn-outline-primary {
    border: 2px solid #8b6f47;
    color: #8b6f47;
    background: transparent;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #8b6f47;
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8b6f47;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8b6f47, #a0826d);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* About Section */
.about-section {
    background: white;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-content h3 {
    font-size: 2rem;
    color: #8b6f47;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* Goals Section */
.goal-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.goal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b6f47, #a0826d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-icon {
    transform: scale(1.1);
}

.goal-icon i {
    font-size: 2rem;
    color: white;
}

.goal-card h4 {
    font-size: 1.3rem;
    color: #8b6f47;
    margin-bottom: 1rem;
    font-weight: 700;
}

.goal-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Values Section */
.value-item {
    padding: 2rem;
    transition: all 0.3s ease;
}

.value-item i {
    font-size: 3rem;
    color: #8b6f47;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-item:hover i {
    color: #a0826d;
    transform: scale(1.2);
}

.value-item h5 {
    font-size: 1.2rem;
    color: #8b6f47;
    font-weight: 600;
}

/* Services Section */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4a574, #c19660);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h4 {
    font-size: 1.4rem;
    color: #8b6f47;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: right;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-right: 20px;
}

.service-card ul li::before {
    content: '•';
    color: #d4a574;
    font-weight: bold;
    position: absolute;
    right: 0;
}

/* Team Section */
.team-member {
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid #8b6f47;
    transition: all 0.3s ease;
}

.team-member:hover .team-image {
    border-color: #a0826d;
    transform: scale(1.05);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h5 {
    font-size: 1.2rem;
    color: #8b6f47;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 2rem;
    color: #8b6f47;
    margin-left: 1rem;
    min-width: 40px;
}

.contact-item h5 {
    color: #8b6f47;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #4b5563;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
    color: #8b6f47;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #8b6f47;
    box-shadow: 0 0 0 0.2rem rgba(139, 111, 71, 0.25);
}

/* Footer */
.footer {
    background: #6b5637;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    /* height: 40px;
    width: auto; */
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 7px;
    margin-left: 20px;
}

.footer-about p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-links h5,
.footer-social h5 {
    color: #d4a574;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #d4a574;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #d4a574;
    color: #6b5637;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-bottom: 1rem;
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .goal-card,
    .service-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #8b6f47;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #8b6f47;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
    animation: fadeInUp 0.5s ease;
}

/* Error Message */
.error-message {
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
    animation: fadeInUp 0.5s ease;
}
