/* Define custom colors based on the video analysis */
:root {
    --taraf-primary: #583e6b; /* Dark Purple for text/accents */
    --taraf-secondary: rgb(216 207 198); /* Light Brown/Beige for backgrounds */
    --taraf-accent: rgb(237, 234, 230); /* Gold/Brown for highlights */
    --taraf-light: #f8f8f8; /* Off-white for main background */
}

body {
    background-color: var(--taraf-light);
    font-family: 'Cairo', sans-serif;

}

/* Navigation Bar Styling */
.navbar {
    background-color: var(--taraf-secondary) !important;
}

.navbar-nav .nav-link {
    color: var(--taraf-primary) !important;
    font-weight: 600;
    margin-left: .3rem;
    margin-right: .3rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
    white-space: nowrap;
}


.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--taraf-primary) !important;
    border-bottom-color: #a38960;
}

.navbar-brand img {
    height: 100px; /* Adjust as needed */
}


.hero-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fills area without distortion */
    transform: translate(-50%, -50%);
}

/* Stats Section Styling */
.stats-section {
    background-color: var(--taraf-secondary);
    padding: 3rem 0;
    text-align: center;
}

.stats-section h2 {
    color: var(--taraf-primary);
    font-size: 3rem;
    font-weight: bold;
}

.stats-section p {
    color: var(--taraf-primary);
    font-weight: bolder;
}

/* Features Section Styling */
.features-section {
    padding: 4rem 0;
    background-color: var(--taraf-light);
    text-align: center;
}

.feature-card {
    background-color: var(--taraf-secondary);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: #a38960;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--taraf-primary);
    font-weight: bolder;
}

/* About Section Styling */
.about-section {
    padding: 4rem 0;
    background-color: var(--taraf-secondary);
}

.about-section h2 {
    color: var(--taraf-primary);
    font-weight: bold;
    margin-bottom: 2rem;
}

.about-section p {
    color: var(--taraf-primary);
    line-height: 1.8;
}

.about-section img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services Section Styling */
.services-section {
    padding: 4rem 0;
    background-color: var(--taraf-accent);
    text-align: center;
}

.services-section h2 {
    color: var(--taraf-primary);
    font-weight: bold;
    margin-bottom: 3rem;
}

.service-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--taraf-accent);
}

.service-item p {
    color: var(--taraf-primary);
    font-weight: 500;
}

/* Projects Section Styling */
.projects-section {
    padding: 4rem 0;
    background-color: var(--taraf-secondary);
    text-align: center;
}

.projects-section h2 {
    color: var(--taraf-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.projects-section p {
    color: var(--taraf-primary);
    margin-bottom: 3rem;
}

.project-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    margin-bottom: 2rem;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-body h5 {
    color: var(--taraf-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.project-card-body p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-card-body .btn {
    background-color: var(--taraf-accent);
    border-color: var(--taraf-accent);
    color: #fff;
    font-weight: 500;
}

.project-card-body .btn:hover {
    background-color: #a38960;
    border-color: #a38960;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--taraf-primary);
}

.contact-info h5 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
}

.contact-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3a4a5d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.contact-form .form-control {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 5px;
    background-color: white;
}

.contact-form .form-control:focus {
    border-color: #c9a961;
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

.contact-form .btn-primary {
    background-color: #3a4a5d;
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #c9a961;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Updated Footer */
.footer {
    background-color: var(--taraf-secondary);
    color: white;
    padding: 40px 0 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--taraf-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--taraf-accent);
    transform: translateY(-3px);
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--taraf-primary);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #c9a961;
}
/* Floating Contact Container */
.floating-contact {
    position: fixed;
    bottom: -20px;
    right: 25px;
    z-index: 9999;
}

/* Main Button */
.contact-main-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--taraf-primary);
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(163, 137, 96, 0.6);
    animation: pulse 2.5s infinite;
    transition: all 0.4s ease;

}

/* Rotate when active */
.floating-contact.active .contact-main-btn {
    transform: rotate(45deg);
    animation: none;
    background: #a38960;
    margin-bottom: 10px ;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(163, 137, 96, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(163, 137, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(163, 137, 96, 0);
    }
}

/* Options Container */
.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
}

/* Show options */
.floating-contact.active .contact-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Option Buttons */
.contact-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    text-decoration: none;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Stagger animation */
.floating-contact.active .contact-btn {
    transform: scale(1);
    opacity: 1;
}

.floating-contact.active .contact-btn:nth-child(1) {
    transition-delay: 0.1s;
}
.floating-contact.active .contact-btn:nth-child(2) {
    transition-delay: 0.2s;
}

/* Hover effect */
.contact-btn:hover {
    transform: scale(1.1);
}

/* WhatsApp */
.contact-btn.whatsapp {
    background-color: #25D366;
}

/* Phone */
.contact-btn.phone {
    background-color: var(--taraf-primary);
}
