/* Reset and Base Styles */
:root {
    --primary-color: #1f5152;
    --secondary-color: #588686;
    --accent-color: #c90925;
    --dark-color: #090808;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.content-loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.header {
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
    box-shadow: var(--box-shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 81, 82, 0.85), rgba(88, 134, 134, 0.8));
    z-index: 1;
    backdrop-filter: blur(3px);
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201, 9, 37, 0.3);
}

.cta-button:hover {
    background-color: #a3071f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 9, 37, 0.4);
}

.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--light-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--light-color);
}

.secondary-button:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

section h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-tagline {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background-color: var(--gray-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.8;
}

/* Services Section */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-category {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.service-category:hover {
    transform: translateY(-10px);
}

.service-category:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.service-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-features i {
    color: var(--accent-color);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.service-features h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.service-features p {
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--gray-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature p {
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: var(--accent-color);
    opacity: 0.2;
    font-size: 2rem;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--dark-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--accent-color);
}

.testimonial cite {
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

/* Projects Section - Completely Revamped */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.project {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project:hover .project-image img {
    transform: scale(1.1);
}

.project h3 {
    padding: 1rem;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    background-color: var(--light-color);
    margin: 0;
}

/* Shine effect on hover */
.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: 1;
}

.project:hover::before {
    left: 150%;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.contact-items {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    background-color: var(--gray-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.footer-logo p {
    opacity: 0.8;
}

.footer h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-widget a {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-widget a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-widget i {
    color: var(--light-color);
    font-size: 2rem;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .tagline {
        font-size: 1.5rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-items {
        flex-wrap: wrap;
    }
    
    .contact-item {
        flex: 0 0 calc(50% - 1rem);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 80px;
    }

    section {
        padding: 80px 0;
    }

    section h2 {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 50px;
    }
    
    .cta-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }
    
    .contact-items {
        flex-direction: column;
    }
    
    .contact-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .section-tagline {
        font-size: 1rem;
    }
    
    .service-category,
    .feature,
    .testimonial,
    .project,
    .contact-item {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        padding-bottom: 40px;
    }
} 