/* Base Styles */
:root {
    --primary: #071739;
    --secondary: #4B6328;
    --light-accent: #A4B5C4;
    --light-gray: #CDD5DB;
    --warm-brown: #A68868;
    --warm-beige: #E3C39D;
    --white: #ffffff;
    --black: #333333;
    --gray: #777777;
    --light-bg: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-content: center;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--warm-brown);
    margin: 15px auto 30px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--warm-brown);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.90);
    padding: 5px 0;
    
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 16px;
    margin-right: 16px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--warm-brown);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--warm-brown);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header Styles modefies*/
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo-icon {
    width: 70px;
    height: 60px;
    object-fit: contain;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    align-self:last baseline;
}

nav ul {
    display: flex;
    /*gap: 20px; */
}


/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 23, 57, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.mission-vision {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.mission, .vision {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission h3, .vision h3 {
    color: var(--warm-brown);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 50px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--warm-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--gray);
}

.service-card ul {
    text-align: left;
    margin-top: 20px;
}

.service-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--warm-brown);
}

/* ------------------------------------------------------------------------------ */

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--light-gray);
    color: var(--gray);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--warm-brown);
    color: var(--white);
    border-color: var(--warm-brown);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 23, 57, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-overlay p {
    color: var(--light-accent);
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--warm-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Core Values Section */
/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--warm-beige);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--warm-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    background-color: var(--primary);
    color: var(--white);
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary);
}

.feature p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Core Values Section */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--warm-brown);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--warm-beige);
    transition: width 0.3s ease;
}

.value-card:hover h3::after {
    width: 80px;
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.5s ease;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    padding: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--warm-beige);
    opacity: 0.5;
    position: absolute;
}

.testimonial-content p::before {
    top: -15px;
    left: -10px;
}

.testimonial-content p::after {
    bottom: -25px;
    right: -10px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--warm-beige);
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.client-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background-color: var(--warm-brown);
    transform: scale(1.2);
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--warm-brown);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--gray);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--warm-brown);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--warm-brown);
    box-shadow: 0 0 0 3px rgba(166, 136, 104, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--warm-brown);
}

.footer-col p {
    color: var(--light-accent);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--light-accent);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--warm-beige);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--warm-beige);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--warm-brown);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--light-accent);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light-accent);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--warm-beige);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .mission-vision {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form {
        margin-top: 40px;
    }
}

@media (max-width: 850px) {
    nav ul li {
    margin-left: 9px;
    margin-right: 9px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .service-card, .feature, .value-card {
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
        justify-content: center;
    }
}
















/* Project Page Specific Styles */
.project-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
}

.project-hero h1 {
    
    font-size: 4rem;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 23, 57, 0.6); /* Adjust opacity as needed */
}


/* Centered Project Overview */
.section-title-center {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.section-title-center::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--warm-brown);
    margin: 15px auto 30px;
}

.description-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--gray);
}




/* Project Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    /*transform: translateY(-5px);*/
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.project-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}



/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items:center;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    position: relative;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.close-lightbox {
    position: absolute;
    top: -55px;
    right: 0;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}
#project-overview1 {
    text-align: center;
}
#project-title {
    text-align: center;
}
@media (max-width: 576px) {
    #project-title {
    text-align: center;
    text-size-adjust: 1.5rem;
    font-size: 2rem;
    }
}



/* Updated Service Link Styles */
.service-link {
    display: inline-block;
   
    padding: 8px 0; /* Add vertical padding */
    color: var(--warm-brown);
    font-weight: 700; /* Increased from 600 */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-link:hover {
    color: var(--primary);
    transform: translateX(-50%) translateY(-2px);
}

.service-link::after {
    content: '→';
    margin-left: 8px; /* Increased from 5px */
    font-weight: 700; /* Make arrow bold */
    transition: all 0.3s ease;
}

.service-link:hover::after {
    margin-left: 12px; /* Increased from 10px */
    color: var(--primary);
}







/* Smart Hero Section */
.smart-hero {
    padding: 60px 0;
    padding-top: 100px;
    background-color: var(--light-bg);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-image-column {
    flex: 1;
    min-width: 50%;
    
}

.hero-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-text-column {
    flex: 1;
    padding: 30px;
}


.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--warm-brown);
    color: white !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-grid {
        flex-direction: column;
    }
    
    .hero-main-image {
        height: 350px;
    }
    
    .hero-text-column {
        padding: 20px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-main-image {
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

.service-overview {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    text-align: justify;
    column-count: 2;
    column-gap: 40px;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.highlight-card {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--warm-brown);
    margin-bottom: 15px;
}

.why-choose-service {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 10px;
    margin-top: 50px;
}

.benefits-list {
    columns: 2;
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
}

.service-cta {
    text-align: center;
    padding: 80px 0;
    color: white;
}

.service-cta h2 {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .service-description {
        column-count: 1;
    }
    
    .benefits-list {
        columns: 1;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
}






















/* Smart Home Profile Sections */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
    align-items: center;
}

.profile-section.reverse {
    direction: rtl;
}

.profile-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-content {
    direction: ltr;
}

.profile-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--warm-brown);
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.device-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.device-card:hover {
    transform: translateY(-5px);
}

.scenario-table {
    margin-top: 25px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background-color: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .profile-section {
        grid-template-columns: 1fr;
    }
    
    .profile-image img {
        height: 250px;
    }
    
    .profile-section.reverse {
        direction: ltr;
    }
}
























/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Additional Animation Styles */
.profile-image {
    perspective: 1000px;
}

.profile-image img {
    transform-style: preserve-3d;
    will-change: transform;
}

.device-card i {
    transition: all 0.3s ease;
    transform: scale(1);
}

.device-card:hover i {
    color: var(--warm-brown);
    transform: scale(1.2);
}

tr {
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
}
/*
tr:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}


.scenario-table tr {
    transform: none !important;
    box-shadow: none !important;
    transition-property: none !important;
}

.scenario-table tr:hover {
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.9) !important;
}
*/
/* Progress Bar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--warm-brown);
    border-radius: 4px;
}







/* JSON fallback for projects */
.projects-fallback {
    display: none;
}