:root {
    --primary-color: #1F3D83;
    --secondary-color: #2AC59F;
    --text-dark: #111;
    --text-body: #4a4a4a;
    --text-light: #aeb7c1;
    --background-light: #f7f9fb;
    --border-color: #dbdee5;
    --white: #ffffff;
    --shadow-sm: 2.5px 4.33px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--primary-color);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://cassar.tech/wp-content/uploads/2020/11/cropped-geometric-1732847_1920.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 48px 24px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    margin-bottom: 48px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sections */
section {
    padding: 90px 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 64px;
    color: var(--text-dark);
    font-weight: 600;
}

/* Services Section */
.services {
    background: var(--background-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 64px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #ececec;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.service-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    aspect-ratio: 1;
}

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

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

.service-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-content p {
    color: var(--text-body);
    line-height: 1.6;
    font-size: 1.125rem;
    margin-bottom: 20px;
    flex: 1;
}

.badge {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.075em;
    padding: 0.75rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 2em;
    transition: all 0.3s ease;
    text-align: center;
}

.service-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Contact Section */
.contact {
    background: var(--white);
    margin: 0;
}

.contact .section-title {
    color: var(--text-dark);
}

.contact-intro {
    text-align: center;
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 64px;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 50%;
    position: relative;
}

.contact-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 8px 0;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: #1d222b;
    color: #b0b0b0;
    padding: 48px 0;
    text-align: center;
    font-size: 1rem;
}

.site-footer p {
    margin: 8px 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-credits {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 8px;
}

/* Responsive Design */
@media only screen and (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 16px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    section {
        padding: 64px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-content {
        padding: 32px 28px;
    }
}

@media only screen and (max-width: 600px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 32px 16px;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.875rem;
    }
    
    .service-content {
        padding: 28px 24px;
    }
}
