@font-face {
    font-family: 'GarnetCapitals';
    src: url('GarnetCapitals-Bold.ttf') format('truetype');
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 30px;
    /* Adjust height as needed */
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-family: 'GarnetCapitals', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #1c1c39ff;
}

.logo-text .subtitle {
    color: #e74c3c;;
    font-size: 0.615em;
    display: block;
    margin-top: 2px;
}

.logo-full {
    height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #1c1c39ff;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 0 1rem;
    background: url('./images/hero2.jpeg') center/cover no-repeat;
    background-position-x: 60%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1c1c39ff, rgba(16, 26, 69, 0));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-content h1 {
    font-family: 'GarnetCapitals', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    /* border-radius: 5px; */
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    /* border-radius: 10px; */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* Removed hover transform effect */
}

.service-image {
    height: 280px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove space between image and card border */
    margin: 0 0 1.5rem 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed transition for hover effect */
}

/* Removed hover effect
.service-card:hover .service-image img {
    transform: scale(1.05);
} */

.service-card h3 {
    color: #1c1c39ff;
    margin-bottom: 1rem;
    padding: 0 1rem;
    font-family: 'GarnetCapitals', sans-serif;
}

.service-card p {
    padding: 0 1rem;
    padding-bottom: 1rem;
}

/* Projects Section */
.projects {
    padding: 5rem 1rem;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns on desktop */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.project-card {
    background: white;
    /* border-radius: 10px; */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Removed hover transform effect */
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #3498db, #1c1c39ff);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Removed hover transform effect */
}

/* Remove hover effects */
.project-overlay {
    display: none; /* Removing the overlay completely */
}

/* Carousel styles */
.carousel {
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn i {
    font-size: 1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #1c1c39ff;
    margin-bottom: 1rem;
    font-family: 'GarnetCapitals', sans-serif;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-client a {
    color: #3498db;
    font-size: 0.95rem;
    text-decoration: none;
}

.project-client strong {
    color: #1c1c39ff;
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background: #f9f9f9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.expertise {
    margin-top: 2rem;
}

.expertise-item ul {
    list-style-position: inside;
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background: white;
}

.section-header h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'GarnetCapitals', sans-serif;
    color: #1c1c39ff;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    color: #555;
    line-height: 1.7;
}

.contact-intro p {
    margin-bottom: 1rem;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: white;
    /* border-radius: 10px; */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    color: #1c1c39ff;
    margin-bottom: 1rem;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: #1c1c39ff;
    font-family: 'GarnetCapitals', sans-serif;
}

.contact-link {
    text-decoration: none;
    color: #3498db;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2980b9;
}

.contact-item:first-child i {
    color: #25D366;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
}

.whatsapp-button i {
    font-size: 2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #1c1c39ff;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1c1c39ff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding-top: 80px;
        transition: 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 0.8rem 1rem;
        display: block;
        cursor: pointer;
    }

    .nav-links li:last-child {
        margin: 1rem 1.5rem;
    }

    .nav-links li:last-child a {
        display: inline-block;
        padding: 0.8rem 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .contact-intro {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .project-image {
        height: 250px;
    }
}