:root {
    /* Colors */
    --primary-color: #000000;
    --secondary-color: #DD6904;
    --accent-color: #f3f4f6;
    --text-dark: #1f2937;
    --text-light: #f9fafb;
    --text-muted: #6b7280;
    --white: #ffffff;
    --black: #000000;
    --bg-color: #ffffff;
    --text-color: #1f2937;

    /* Fonts */
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;

    /* Spacing */
    --section-padding: 80px 0 ;
    --container-width: 1200px;
}



/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b35504;
}

html {
    scroll-behavior: smooth;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: right;
}

/* Center text globally if needed for specific sections, explicitly overridden in sections */
.text-center {
    text-align: center;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
    padding: 10px 0; /* Add touch target area */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 5px 0;
    z-index: 1001;
    border-top: 3px solid var(--secondary-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--text-dark);
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: var(--accent-color);
    padding-right: 25px; /* Slight movement effect */
    color: var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary-nav {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700 !important;
}

.btn-primary-nav:hover {
     /* background-color: #ffff;  */
    transform: translateY(-2px);
    color: var(--black) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        transition: right 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
        padding-bottom: 50px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 0;
    }

    .nav-links a {
        display: block;
        padding: 20px 0;
        width: 100%;
        font-size: 18px;
    }

    .btn-primary-nav {
        margin: 20px auto;
        width: 80%;
        border-radius: 5px;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* Dropdown adjustment for mobile */
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border-top: none;
        background-color: var(--accent-color);
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown i {
        transition: transform 0.3s ease;
    }

    .dropdown.active > a i {
        transform: rotate(180deg);
    }
}

/* Hero Section */
.hero-section {
    height: 90vh;
    min-height: 600px;
    background-image: url('../../imges/hero\ img.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px; /* Header height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.914) 0%, rgba(1, 1, 1, 0.875) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    opacity: 0.9;
}
/* .hero-description P{
    ;
 } */

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Enhanced Button Effects */
.btn {
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--white);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--secondary-color);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* Section Common Styles */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */


.about-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    text-align: right;
}

.about-text .section-title {
    text-align: right;
    display: block;
}

.about-text .section-subtitle {
    text-align: right;
    margin-bottom: 30px;
}

.about-desc  {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.about-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-text {
        text-align: center;
    }
    .about-text .section-subtitle {
        text-align: center;
    }
    .about-features {
        display: inline-block;
        text-align: right;
    }
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background-color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-us-section {
    padding: var(--section-padding);
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(1, 1, 1, 0.95) 100%), url('../../imges/hero img.png');
    background-size: cover;
    background-position: center;
background-attachment:fixed ;
}

.why-us-section .section-title {
    color: var(--white);
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-item {
    max-width: 300px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    /* background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/hero_bg_creative_signage.png'); Use existing image or a dark bg */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    line-height: 1;
    display: inline-block;
}

.stat-item .plus {
    font-size: 2rem;
    color: var(--secondary-color);
    vertical-align: super;
}

.stat-label {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Portfolio Section */
 .project-card img{
    transition: transform .5s ease;
}

.project-card img:hover{
    transform: scale(1.1);
}

.portfolio-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid #e5e7eb;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: var(--white);
}

.project-image {
    height: 250px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 3rem;
    overflow: hidden; /* Ensure image doesn't overflow if scale transform is used */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.project-info {
    padding: 20px;
    text-align: center;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.project-info span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: #f8fafc;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    text-align: right;
}

.contact-desc {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.contact-details li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-details p{
    color: #37393d;
}

.contact-details i {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-frame-wrapper {
    background: var(--white);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* ================================
   Blog Section
   ================================ */
.blog-section {
    padding: var(--section-padding);
    background-color: var(--accent-color);
    text-align: center;
}

.blog-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.blog-filter-btn {
    background: var(--white);
    border: 2px solid #e5e7eb;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.blog-filter-btn.active,
.blog-filter-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 105, 4, 0.3);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color), #f59e0b);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(221, 105, 4, 0.3);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-meta span {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--secondary-color);
}

.blog-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--secondary-color);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: #b35504;
}

.blog-read-more:hover i {
    transform: translateX(-5px);
}

.blog-load-more {
    text-align: center;
    margin-top: 50px;
}

.blog-load-more .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Blog Card Animation on Filter */
.blog-card.hide {
    display: none;
}

.blog-card.show {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Section Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-filter {
        gap: 10px;
    }
    
    .blog-filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0 15px !important;
    text-align: center;
    
}


.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}



 .footer-bottom {
    margin-top: 20px;
    padding: 15px 0 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #9ca3af;
}


@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Social Media Icons */
.social-links {
    margin-top: 30px;
}

.social-links h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(221, 105, 4, 0.4);
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* ========================================
   التأثيرات البصرية المتقدمة
   ======================================== */

/* Glassmorphism Header on Scroll */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Glow Effect for Buttons */
.btn-primary {
    box-shadow: 0 4px 15px rgba(221, 105, 4, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(221, 105, 4, 0.5);
}



/* Pulse Animation for Service Icons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    animation: pulse 0.6s ease-in-out;
}

/* Shimmer Effect for Stats */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.stat-number {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #f59e0b 50%, var(--secondary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Feature Item Hover Effect */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(221, 105, 4, 0.5);
}

/* Contact Icon Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.contact-details i {
    transition: all 0.3s ease;
}

.contact-details li:hover i {
    animation: float 1s ease-in-out infinite;
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Form Input Focus Effect */
.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(221, 105, 4, 0.15);
    transform: translateY(-2px);
}

/* Project Card Overlay Effect */
.project-card {
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Nav Link Underline Effect */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Smooth Performance Optimizations */
.service-card,
.project-card,
.feature-item,
.btn {
    will-change: transform;
}

img {
    content-visibility: auto;

}

/* Lightbox Gallery Controls */
.lightbox-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: none; /* Hidden by default */
}

/* Reusing Nav Styles for Gallery */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex; 
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.lightbox-prev { right: 20px; }
.lightbox-next { left: 20px; }


