/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0e2a47;
    /* Deep Blue */
    --secondary-color: #f4f4f4;
    /* Light Grey */
    --accent-color: #d76d73;
    /* Gold/Orange */
    --text-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Language Bar */
.language-bar {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 5%;
    font-size: 0.85rem;
}

.language-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.lang-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    cursor: pointer;
}

.lang-link:hover,
.lang-link.active {
    color: var(--white);
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 110px;
    /* Offset for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 42, 71, 0.6);
    /* Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Page Headers (for subpages) */
.page-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
    padding-top: 110px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 42, 71, 0.7);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-weight: 700;
}

/* Generic Section Styles */
.section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

/* Cards Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
    color: #555;
}

.card-content li {
    margin-bottom: 5px;
}

/* Accordion Styles */
.accordion-container {
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 0;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
    position: relative;
    min-height: 200px;
}

.accordion-image {
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.accordion-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(215, 109, 115, 0.3) 0%, rgba(14, 42, 71, 0.3) 100%);
    transition: opacity 0.3s ease;
}

.accordion-item:hover .accordion-image::after {
    opacity: 0.5;
}

.accordion-header-content {
    flex: 1;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.accordion-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: transform 0.4s ease;
    margin-left: 2rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    padding: 0 2.5rem;
    background: linear-gradient(to bottom, #f9f9f9 0%, #ffffff 100%);
}

.accordion-item.active .accordion-content {
    max-height: 600px;
    padding: 2.5rem;
    border-top: 3px solid var(--accent-color);
}

.accordion-content p {
    color: #555;
    line-height: 1.9;
    margin: 0;
    font-size: 1.05rem;
}

/* Responsive accordion */
@media (max-width: 768px) {
    .accordion-header {
        flex-direction: column;
        min-height: auto;
    }

    .accordion-image {
        width: 100%;
        height: 180px;
    }

    .accordion-header-content {
        padding: 1.5rem;
    }

    .accordion-header h3 {
        font-size: 1.3rem;
    }

    .accordion-content {
        padding: 0 1.5rem;
    }

    .accordion-item.active .accordion-content {
        padding: 1.5rem;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 1rem;
    color: #ddd;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Image Slider Styles */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
    display: flex;
    transition: transform 1.2s ease-in-out;
}

.slider-wrapper.no-transition {
    transition: none !important;
}


.slide {
    min-width: 100%;
    width: 100%;
    display: flex;
    align-items: stretch;
    /* Make children same height */
    background: var(--white);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.slide img {
    width: 50%;
    height: 500px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.slide-content {
    width: 50%;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}


.slide-content h2,
.slide-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(215, 109, 115, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.slider-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* Responsive slider */
@media (max-width: 768px) {
    .slide {
        flex-direction: column;
    }

    .slide img {
        width: 100%;
        height: 300px;
    }

    .slide-content {
        width: 100%;
        padding: 2rem 1.25rem;
    }

    .slide-content h3 {
        font-size: 1.6rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Why Choose Us Section */
.why-choose {
    background-color: #f9f9f9;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--accent-color);
}

.why-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Why Choose Us */
@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 2.5rem 1.5rem;
    }
}

.project-tag {
    display: inline-block;
    background-color: rgba(215, 109, 115, 0.1);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}