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

:root {
    --primary: #0E1520;
    --primary-light: #1B3F61;
    --secondary: #1B3F61;
    --accent: #1B3F61;
    --text: #0E1520;
    --text-light: #E5DFCF;
    --background: #1B3F61;
    --white: #E5DFCF;
    --shadow: rgba(26, 34, 54, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text);
}

h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Hero Wrapper */
.hero-wrapper {
    position: relative;
    height: 100vh;
    min-height: 700px;
}

/* Header & Navbar */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 10px 25px;
    margin-top: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Comfortaa', sans-serif; /* Added Comfortaa font */
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0 24px;
}

.nav-links li {
    margin: 0 16px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-links a:hover {
    opacity: 0.9;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 10px;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-button.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(30, 58, 138, 0.5) 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
    color: var(--white);
    padding: 0 20px;
}

.hero-content .container {
    max-width: 850px;
    padding-left: 0;
    margin-left: 40px;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--white);
    max-width: 700px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.button-group {
    display: flex;
    margin-top: 20px;
}

/* Services Section */
.services {
    padding: 120px 0 20px;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--text);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.services-tabs {
    display: flex;
    justify-content: center;
    margin: 30px auto;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 40px;
    padding: 10px 25px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
}

.tab-button {
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.tab-button.active {
    background-color: rgba(30, 58, 138, 0.7); /* Luinera's var(--primary) #1E3A8A with 0.7 alpha */
    color: var(--white);
}

/* Horizontal scrolling container */
.service-cards-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 40px;
}

.service-cards-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.service-cards {
    display: flex;
    gap: 20px;
    padding: 0;
}

.service-card {
    flex: 0 0 auto;
    max-width: 700px;
    min-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 25vw;
    max-height: 350px;
    min-height: 200px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text); 
    margin-bottom: 20px;
    flex-grow: 1;
    max-width: 90%;
}

.service-link {
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

.cta-section {
    background-color: var(--primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    max-width: 600px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

/* Footer */
footer {
    background-color: var(--text);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-about {
    flex: 1;
    max-width: 350px;
}

footer .logo {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 15px;
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-col a::after {
    content: '';
}

.footer-col a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 60px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 10px 10px;
        display: none;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content .container {
        margin: 0 auto;
    }
    
    .button-group {
        justify-content: center;
    }
    
    .cta-button.secondary {
        margin-left: 10px;
    }
    
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .service-image {
        height: 220px;
    }
    
    .services {
        padding: 60px 0 40px;
    }
}

@media (max-width: 992px) {
    .services-header h2 {
        max-width: 100%;
    }
    
    .service-card {
        flex: 1 1 45%;
        max-width: 100%;
    }
    
    .service-image {
        height: 260px;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-light);
    transition: border-color 0.3s ease;
}

.contact-form input[type="email"]:focus,
.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
} 