/* 
Seven Sections Construction Co.
Main Stylesheet
*/

/* Base Styles and Variables */
:root {
    /* Colors */
    --primary-color: #FF7F00; /* Orange */
    --secondary-color: #E0E0E0; /* Silver */
    --dark-color: #333333; /* Nearly Black */
    --medium-dark: #555555;
    --dark-gray: #777777;
    --medium-gray: #999999;
    --light-gray: #F4F4F4;
    --light-color: #FFFFFF;
    --error-color: #E74C3C;
    --success-color: #2ECC71;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --nav-glow: rgba(255, 127, 0, 0.6);
    
    /* Fonts */
    --heading-font: 'Bebas Neue', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-padding: 0 2rem;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.light-mode {
    --text-color: var(--dark-color);
    --bg-color: var(--light-color);
    --card-bg: #f8f8f8;
    --border-color: #e0e0e0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--dark-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tagline {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: -0.5rem;
}

.hidden {
    display: none;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--body-font);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), #FF6B00);
    color: var(--light-color);
    border: none;
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.2);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B00, var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 127, 0, 0.3);
}

.primary-btn:hover::before {
    opacity: 1;
}

.primary-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.secondary-btn:hover {
    color: var(--primary-color);
    border-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.secondary-btn:hover::before {
    opacity: 1;
}

.secondary-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Button content wrapper for text */
.btn span {
    position: relative;
    z-index: 1;
}

/* Add subtle animation for button text */
@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

.btn:hover span {
    animation: buttonPulse 1s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* Dark mode adjustments */
.dark-mode .secondary-btn {
    border-color: var(--light-color);
    color: var(--light-color);
}

.dark-mode .secondary-btn:hover {
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
    background-color: transparent;
    backdrop-filter: blur(0px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    margin-right: 30px;
    position: relative;
}

.main-nav::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.main-nav li {
    margin-left: 25px;
    position: relative;
    z-index: 10;
}

.main-nav a {
    position: relative;
    font-weight: 500;
    padding: 5px 8px;
    transition: color 0.3s ease, background-color 0.3s ease;
    letter-spacing: 0.5px;
    display: inline-block;
    z-index: 2;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
    pointer-events: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px 2px var(--nav-glow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    pointer-events: none;
}

.main-nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 0 5px rgba(255, 127, 0, 0.3);
}

.main-nav a:hover::before {
    transform: translateX(0);
}

.main-nav a:hover::after {
    width: 6px;
    height: 6px;
    opacity: 1;
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.main-nav a.active::before {
    transform: translateX(0);
    opacity: 1;
}

.main-nav a.active::after {
    width: 6px;
    height: 6px;
    opacity: 1;
}

.nav-controls {
    display: flex;
    align-items: center;
}

#language-toggle, #theme-toggle {
    background: transparent;
    border: 1px solid rgba(255, 127, 0, 0.3);
    border-radius: 30px;
    padding: 6px 16px;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#language-toggle::before, #theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 127, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

#language-toggle:hover, #theme-toggle:hover {
    background-color: rgba(255, 127, 0, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.2);
}

#language-toggle:hover::before, #theme-toggle:hover::before {
    transform: translateX(100%);
}

#theme-toggle .fa-sun {
    display: none;
}

#theme-toggle i, #language-toggle {
    position: relative;
    z-index: 2;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 20vh;
    text-align: center;
    color: var(--light-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.animated-title {
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    animation-fill-mode: both;
}

.hero-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    align-items: center;
}

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

/* Hero image slide animation */
@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Responsive styles for hero slider */
@media (max-width: 768px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* About Section - Enhanced Fancy Styling */
.about-section {
    padding: 7rem 0;
    background-color: var(--light-background);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(252, 233, 202, 0.3), transparent 80%);
    z-index: -1;
}

.about-section-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(60px);
}

.element-1 {
    background: linear-gradient(135deg, #ffa726, #ff7043);
    width: 40vw;
    height: 40vw;
    top: -15vw;
    right: -15vw;
    animation: float 15s ease-in-out infinite alternate;
}

.element-2 {
    background: linear-gradient(135deg, #29b6f6, #1e88e5);
    width: 30vw;
    height: 30vw;
    bottom: -10vw;
    left: -10vw;
    animation: float 12s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, 20px) rotate(5deg);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
}

.about-main-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.about-main-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-top: 3px solid #ff9800;
    border-left: 3px solid #ff9800;
    opacity: 0.6;
}

.about-main-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-bottom: 3px solid #ff9800;
    border-right: 3px solid #ff9800;
    opacity: 0.6;
}

.about-intro {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.about-intro h3 {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.5px;
}

.about-intro h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, transparent);
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: #555;
    position: relative;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.about-stats-wrapper {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(5px);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.about-stats-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    z-index: -1;
    animation: rotate 20s linear infinite;
}

.about-stats-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.08);
}

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

.about-image {
    margin-top: 2rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

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

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    font-size: 1rem;
    text-align: center;
}

/* Values Wheel Styling - Enhanced */
.values-wheel {
    position: relative;
    padding: 2rem 0;
    z-index: 1;
}

.values-wheel h3 {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.5px;
}

.values-wheel h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, transparent);
}

.values-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    position: relative;
}

.value-item {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 152, 0, 0.03));
    z-index: -1;
}

.value-item::after {
    content: attr(data-value);
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 4rem;
    font-weight: 800;
    opacity: 0.03;
    color: #333;
    z-index: -1;
    transition: all 0.4s ease;
}

.value-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.3);
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
}

.value-item:hover::after {
    opacity: 0.06;
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 152, 0, 0.3);
}

.value-item:hover i {
    transform: scale(1.15) translateY(-5px);
}

.value-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.value-item h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ff9800;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.value-item:hover h4 {
    color: #ff9800;
}

.value-item:hover h4::after {
    width: 80%;
}

/* Company Stats Styling - Enhanced */
.company-stats {
    text-align: left;
    position: relative;
}

.company-stats h3 {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.5px;
}

.company-stats h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, transparent);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    position: relative;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ff9800, #f57c00);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.3);
}

.stat-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    line-height: 1;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 3px;
    background: #ff9800;
    transform: translateX(-50%);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number::after {
    width: 60px;
    opacity: 0.6;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-title {
    color: #333;
}

.stat-card i {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 3.2rem;
    color: rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    transform: rotate(0deg);
}

.stat-card:hover i {
    color: rgba(255, 152, 0, 0.08);
    transform: scale(1.2) rotate(10deg);
}

/* Responsive Styles for About Section */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .stats-container, .values-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-main-content::before,
    .about-main-content::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-container, .values-container {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 5rem 0;
    }
    
    .about-intro h3, .values-wheel h3, .company-stats h3 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.6rem;
    }
    
    .about-stats-wrapper {
        padding: 2rem;
    }
    
    .value-item, .stat-card {
        padding: 1.5rem;
    }
}

/* Services Section - Enhanced */
.services-section {
    background: linear-gradient(to bottom, rgba(246, 246, 246, 0.8), rgba(255, 255, 255, 0.9));
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.services-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.services-section .section-header h2 {
    position: relative;
    display: inline-block;
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.services-section .section-header .section-tagline {
    font-size: 1.3rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
    transition: all 0.4s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
    animation: spin 15s linear infinite;
}

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

.service-icon i {
    font-size: 2.5rem;
    color: #ffffff;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateZ(20px);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 15px 25px rgba(var(--primary-color-rgb), 0.4);
}

.service-card:hover .service-icon i {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.8rem;
    margin: 0 0 15px;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Pricing Calculator - Enhanced */
.pricing-calculator {
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.pricing-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
}

.pricing-calculator h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.pricing-calculator h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.calculator-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.1);
    outline: none;
}

#calculate-btn {
    grid-column: 1 / -1;
    padding: 15px 30px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#calculate-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(var(--primary-color-rgb), 0.4);
}

#estimate-result {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: block;
}

#estimate-result.show {
    opacity: 1 !important;
    display: block !important;
}

#estimate-result strong {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
}

.estimate-disclaimer {
    font-size: 0.75rem;
    margin-top: 10px;
    color: rgba(var(--text-color-rgb), 0.5);
    line-height: 1.3;
    padding: 6px 0 0 0;
    border-top: 1px dotted rgba(var(--text-color-rgb), 0.08);
    text-align: left;
    font-style: italic;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

[dir="rtl"] .estimate-disclaimer {
    text-align: right;
}

/* Services Section Floating Particles */
.services-section .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.2);
    pointer-events: none;
    z-index: 1;
}

.services-section .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation: float 20s ease-in-out infinite;
}

.services-section .particle:nth-child(2) {
    top: 60%;
    right: 5%;
    width: 120px;
    height: 120px;
    animation: float 25s ease-in-out infinite alternate;
}

.services-section .particle:nth-child(3) {
    bottom: 30%;
    left: 30%;
    width: 60px;
    height: 60px;
    animation: float 18s ease-in-out infinite 2s alternate;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .pricing-calculator {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 80px 0 100px;
    }
    
    .services-section .section-header h2 {
        font-size: 2.8rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-card h3 {
        font-size: 1.6rem;
    }
    
    .calculator-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 60px 0 80px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .pricing-calculator {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
}

/* Enhanced Projects Section Styling */
.projects-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 140, 0, 0.05) 0%, rgba(255, 160, 0, 0.02) 20%, transparent 60%);
    z-index: 0;
}

.projects-section .section-title h2 {
    color: #333;
    position: relative;
    z-index: 1;
}

.projects-section .section-title p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 10px 20px;
    margin: 0 8px 15px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 160, 0, 0.05));
    color: #333;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8c00, #ff6f00);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.filter-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
}

.filter-btn:hover::before {
    opacity: 1;
}

.filter-btn.active {
    color: white;
    background: linear-gradient(135deg, #ff8c00, #ff6f00);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    transform: translateY(-3px);
}

/* Projects carousel container */
.projects-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-carousel {
    display: flex;
    width: 100%;
    max-width: calc(100% - 120px);
    overflow: hidden;
    padding: 20px 0;
    margin: 0 auto;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.projects-carousel .project-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 15px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.7;
    transform: scale(0.9) translateZ(0);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    position: relative;
    transform-origin: center bottom;
    will-change: transform, opacity;
}

.projects-carousel .project-card.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.15);
    z-index: 5;
}

/* Premium card styles */
.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-origin: center bottom;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ff6f00);
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.12);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.before-after-slider {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.before-img, .after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.before-img {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 1;
}

.project-card:hover .before-img, 
.project-card:hover .after-img {
    transform: scale(1.05);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(-50%);
    z-index: 2;
    cursor: ew-resize;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c00, #ff6f00);
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider-handle::after {
    content: '\f07e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    z-index: 3;
    transition: all 0.3s ease;
}

.project-card:hover .slider-handle::before {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.project-card:hover .slider-handle::after {
    transform: translate(-50%, -50%) scale(1.1);
}

.before-after-slider.sliding .slider-handle::before {
    background: linear-gradient(135deg, #ff6f00, #ff8c00);
    transform: translate(-50%, -50%) scale(1.2);
}

.project-details {
    padding: 20px;
    position: relative;
}

.project-category {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(to right, rgba(255, 140, 0, 0.1), rgba(255, 160, 0, 0.1));
    color: #ff8c00;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border-left: 3px solid #ff8c00;
}

.project-details h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #333;
    transition: color 0.3s ease;
}

.project-card:hover .project-details h3 {
    color: #ff8c00;
}

.project-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.project-location {
    display: flex;
    align-items: center;
    color: #777;
}

.project-location i {
    color: #ff8c00;
    margin-right: 8px;
    font-size: 14px;
}

.project-more {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #ff8c00;
    transition: all 0.3s ease;
}

.project-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.project-more:hover {
    color: #ff6f00;
}

.project-more:hover i {
    transform: translateX(5px);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c00, #ff6f00);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.25);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8c00, #ff6f00);
    border-radius: inherit;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
}

.indicator:hover {
    transform: scale(1.2);
}

.indicator:hover::after {
    transform: scale(0.5);
    opacity: 0.5;
}

.indicator.active {
    width: 30px;
    border-radius: 5px;
    background-color: transparent;
}

.indicator.active::after {
    transform: scale(1);
    opacity: 1;
}

/* Slide animation for carousel */
@keyframes slideInLeft {
    from {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
    }
}

.slide-in-animation {
    animation: slideInLeft 0.6s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-out-animation {
    animation: slideOutRight 0.6s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-color);
}

.testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 300px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Blog Section */
.blog-section {
    background-color: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-post {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--dark-color);
}

.newsletter-signup {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 24px;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.business-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.business-hours p {
    margin-bottom: 0.5rem;
}

.contact-form-container {
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--light-color);
}

.contact-form label {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    transition: all var(--transition-speed) ease;
    pointer-events: none;
    color: #666;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form input:focus + label,
.contact-form select:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form select:not([value=""]):not([value="undefined"]) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    padding: 0 0.3rem;
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Enhanced Chatbot Styling */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    background: linear-gradient(135deg, #ff6b00, #e63e00);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-toggle::before {
    content: "\f075";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    margin-right: 5px;
}

.chatbot-toggle:hover {
    background: linear-gradient(135deg, #e63e00, #c93400);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.chatbot-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ff6b00, #e63e00);
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.close-chatbot {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-chatbot:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eaeaea;
    background-color: #fff;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input input:focus {
    border-color: #ff6b00;
}

.chatbot-input button {
    background: linear-gradient(135deg, #ff6b00, #e63e00);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
}

.chatbot-input button:hover {
    background: linear-gradient(135deg, #e63e00, #c93400);
    transform: translateY(-2px);
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.user-message {
    background-color: #e6f7ff;
    color: #333;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.bot-message {
    background-color: #f2f2f2;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.hidden {
    display: none !important;
}

/* Add responsive styles for the chatbot */
@media (max-width: 576px) {
    .chatbot-window {
        width: 300px;
        height: 400px;
        right: 0;
        bottom: 70px;
    }
    
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.footer-links ul li a {
    color: var(--light-color);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: all var(--transition-speed) ease;
}

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

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--light-color);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .copyright {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials-carousel {
        flex-direction: column;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .value-item {
        width: 120px;
        height: 120px;
    }
    
    .chatbot-window {
        width: calc(100vw - 2rem);
        right: -1rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .before-after-slider {
        height: 220px;
    }

    .project-details {
        padding: 15px;
    }

    .projects-carousel-container {
        padding: 0 10px;
    }

    .projects-carousel {
        max-width: 100%;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .projects-carousel .project-card {
        max-width: 300px;
        margin: 0 10px;
    }
    
    .project-category {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .project-details h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .project-details p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 12px;
        margin: 0 5px 10px;
    }

    .projects-carousel-container {
        flex-direction: column;
    }

    .projects-carousel {
        order: 1;
        margin: 10px 0;
        max-width: 100%;
    }

    .carousel-controls {
        order: 3;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
        gap: 10px;
    }
    
    .carousel-arrow {
        position: relative;
        transform: none !important;
        top: auto;
        left: auto;
        right: auto;
        margin: 0 5px;
        width: 35px;
        height: 35px;
        order: 2;
    }

    .prev-arrow, .next-arrow {
        position: relative;
        left: auto;
        right: auto;
    }
    
    .before-after-slider {
        height: 180px;
    }
    
    .slider-handle::before {
        width: 30px;
        height: 30px;
    }
    
    .slider-handle::after {
        font-size: 12px;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .project-more {
        margin-top: 8px;
    }
}

/* Fancy Portfolio Grid Styles */
.fancy-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
  z-index: 2;
}
.fancy-portfolio .project-card {
  background: linear-gradient(135deg, #fff 70%, #f8f8fa 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(255,140,0,0.10), 0 1.5px 8px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
  min-height: 260px;
}
.fancy-portfolio .project-card:hover {
  box-shadow: 0 16px 48px rgba(255,140,0,0.18), 0 4px 24px rgba(0,0,0,0.10);
  transform: translateY(-6px) scale(1.025);
  background: linear-gradient(135deg, #fff 60%, #ffe5c2 100%);
}
.fancy-portfolio .project-icon {
  font-size: 2.7rem;
  color: #ff8c00;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff7e6 60%, #ffe5c2 100%);
  border-radius: 50%;
  padding: 18px 18px 14px 18px;
  box-shadow: 0 2px 8px rgba(255,140,0,0.08);
  align-self: center;
}
.fancy-portfolio .project-card h3 {
  font-family: 'Bebas Neue', 'Inter', Arial, sans-serif;
  font-size: 1.6rem;
  color: #222;
  margin-bottom: 0.7rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-align: start;
  width: 100%;
}
.fancy-portfolio .project-dates {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 1.05rem;
  color: #666;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  width: 100%;
}
@media (max-width: 600px) {
  .fancy-portfolio {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .fancy-portfolio .project-card {
    padding: 1.5rem 1rem;
    min-height: 180px;
  }
  .fancy-portfolio .project-icon {
    font-size: 2rem;
    padding: 10px 10px 8px 10px;
  }
  .fancy-portfolio .project-card h3 {
    font-size: 1.1rem;
  }
} 

/* Projects Horizontal Scroll */
.projects-horizontal-scroll {
    position: relative;
    width: 100%;
    padding: 10px 0;
    overflow: hidden;
    margin: 0 -20px;
}

.projects-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.projects-track::-webkit-scrollbar {
    display: none;
}

.projects-track .project-card {
    flex: 0 0 280px;
    height: 320px;
    margin: 0;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.projects-track .project-card:hover {
    transform: translateY(-5px);
}

.projects-track .project-card .glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    z-index: 1;
}

.projects-track .project-card .project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    color: white;
}

.projects-track .project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.projects-track .project-card .project-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.projects-track .project-card .project-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.projects-track .project-card .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.scroll-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
    z-index: 3;
}

.scroll-controls button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.scroll-controls button:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-controls button i {
    color: #333;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .projects-track .project-card {
        flex: 0 0 240px;
        height: 280px;
    }
    
    .scroll-controls {
        padding: 0 5px;
    }
    
    .scroll-controls button {
        width: 30px;
        height: 30px;
    }
} 

/* Portfolio Carousel Styles */
.portfolio-carousel {
    position: relative;
    width: 100%;
    padding: 20px 0;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 40px;
}

.carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    padding: 10px 5px;
    width: max-content;
}

.portfolio-item {
    flex: 0 0 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.1);
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.2);
}

.portfolio-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.portfolio-header i {
    font-size: 1.4rem;
    color: #ff8c00;
    background: linear-gradient(135deg, #fff7e6 0%, #ffe5c2 100%);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
}

.portfolio-header h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.portfolio-dates {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
}

.portfolio-dates span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    pointer-events: none;
    z-index: 2;
}

.carousel-controls button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.carousel-controls button:hover {
    background: #ff8c00;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.carousel-controls button i {
    font-size: 0.9rem;
    color: #333;
    transition: color 0.3s ease;
}

.carousel-controls button:hover i {
    color: white;
}

@media (max-width: 768px) {
    .portfolio-item {
        flex: 0 0 260px;
    }
    
    .portfolio-header i {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .portfolio-header h3 {
        font-size: 1.1rem;
    }
    
    .carousel-controls button {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        flex: 0 0 220px;
    }
    
    .portfolio-header i {
        font-size: 1.3rem;
        padding: 8px;
    }
    
    .portfolio-header h3 {
        font-size: 1rem;
    }
    
    .portfolio-dates {
        font-size: 0.8rem;
    }
}

/* Fancy Horizontal Portfolio Roller Styles */
.fancy-horizontal-portfolio {
  position: relative;
  background: linear-gradient(120deg, #fff7e6 60%, #ffe5c2 100%);
  padding: 60px 0 50px 0;
  width: 100vw;
  overflow-x: hidden;
}
.fancy-horizontal-portfolio::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, #ffecd2 0%, #fff7e6 60%, transparent 100%);
  opacity: 0.7;
  z-index: 0;
}
.fancy-horizontal-portfolio .portfolio-title {
  text-align: center;
  font-size: 2.5rem;
  color: #ff8c00;
  margin-bottom: 38px;
  font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
  letter-spacing: 1.5px;
  font-weight: 900;
  text-shadow: 0 2px 12px #ffe5c2;
  position: relative;
  z-index: 2;
}
.portfolio-roller {
  width: 100vw;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 18px;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}
.portfolio-roller::-webkit-scrollbar {
  height: 12px;
  background: #ffe5c2;
  border-radius: 8px;
}
.portfolio-roller::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ffb84d 30%, #ff8c00 100%);
  border-radius: 8px;
}
.portfolio-track {
  display: flex;
  flex-direction: row;
  gap: 36px;
  width: max-content;
  padding: 0 40px;
  align-items: stretch;
}
.portfolio-card {
  min-width: 340px;
  max-width: 340px;
  background: rgba(255,255,255,0.25);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(255,140,0,0.18), 0 1.5px 8px rgba(0,0,0,0.07);
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border: 1.5px solid rgba(255, 184, 77, 0.25);
  position: relative;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.35s, transform 0.35s, border 0.35s;
  overflow: hidden;
}
.portfolio-card::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #ffb84d 0%, transparent 80%);
  opacity: 0.18;
  z-index: 1;
}
.portfolio-card:hover {
  box-shadow: 0 16px 48px 0 rgba(255,140,0,0.28), 0 4px 24px rgba(0,0,0,0.13);
  transform: translateY(-10px) scale(1.035);
  border: 2.5px solid #ffb84d;
}
.portfolio-info {
  position: relative;
  z-index: 2;
  width: 100%;
}
.portfolio-info h3 {
  font-size: 1.45rem;
  color: #d2691e;
  margin-bottom: 22px;
  font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-shadow: 0 1px 8px #ffe5c2;
}
.portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.13rem;
  color: #444;
  font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
  font-weight: 600;
}
.portfolio-meta span {
  background: rgba(255, 184, 77, 0.13);
  border-radius: 9px;
  padding: 6px 14px;
  margin-bottom: 2px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(255,184,77,0.07);
}
@media (max-width: 1100px) {
  .portfolio-card {
    min-width: 260px;
    max-width: 260px;
    padding: 18px 10px 14px 10px;
  }
  .portfolio-info h3 {
    font-size: 1.1rem;
  }
  .portfolio-meta {
    font-size: 0.97rem;
  }
}
@media (max-width: 700px) {
  .fancy-horizontal-portfolio {
    padding: 18px 0 8px 0;
  }
  .portfolio-track {
    gap: 10px;
    padding: 0 4px;
  }
  .portfolio-card {
    min-width: 150px;
    max-width: 150px;
    padding: 8px 4px 6px 4px;
    border-radius: 10px;
  }
  .portfolio-info h3 {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  .portfolio-meta {
    font-size: 0.7rem;
    gap: 2px;
  }
  .portfolio-meta span {
    padding: 2px 4px;
    border-radius: 3px;
  }
}
/* --- END PRO Horizontal Portfolio Roller --- */