/* Font faces */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/roboto-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/roboto-medium.woff2') format('woff2');
}

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

/* Root variables */
:root {
    --primary-gradient: #050505;
    --secondary-gradient: #000000;
    --accent-gradient: #1a1a1a;
    --card-bg: #fbfbfb;
    --card-hover: #ffffff;
    --text-primary: #000000;
    --text-secondary: #747474;
    --border-radius: 20px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-gradient);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 30px 0;
    text-align: center;
}

.logo img {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
    width: 15vw;
    max-width: 120px;
    min-width: 60px;
    height: auto;
}

/* Main content */
.main {
    padding: 0px 0 60px;
}

/* Hero section */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Service cards */
.service-card,
.hero-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #e5e5e5;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover,
.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--card-hover);
    text-decoration: none;
    color: inherit;
}

/* Main service card */
.main-service {
    padding: 40px 30px;
    background: var(--card-bg);
}



.main-service .service-title {
    font-size: 38px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.main-service .main-title {
    font-weight: 700;
}

.main-service .service-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Secondary service */
.secondary-service {
    background: var(--card-bg);
}

.secondary-service .service-icon {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.secondary-service .service-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.secondary-service .service-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Service icons */
.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon img {
    max-width: 100%;
    height: auto;
}

.main-icon {
    margin-bottom: 25px;
}

/* Service titles */
.service-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CTA Button */
.cta-button {
    background: var(--text-primary);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-soft);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #333333;
}

.cta-button:active {
    transform: translateY(0);
}

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

.services-grid .service-card .service-icon {
    color: var(--text-primary);
}

.services-grid .service-card:nth-child(2) .service-icon {
    color: var(--text-primary);
}

.services-grid .service-card:nth-child(3) .service-icon {
    color: var(--text-primary);
}

/* Footer */
.footer {
    background: rgba(5, 0, 5, 0.1);
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo img {
        width: 18vw;
        max-width: 100px;
        min-width: 55px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .main-service {
        padding: 40px 30px;
    }

    .main-service .service-title {
        font-size: 36px;
    }

    .main-service .service-subtitle {
        font-size: 16px;
    }

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

    .service-card,
    .hero-card {
        padding: 30px 20px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 22vw;
        max-width: 80px;
        min-width: 50px;
    }

    .hero-section {
        gap: 30px;
        margin-bottom: 30px;
    }

    .services-grid {
        gap: 30px;
    }

    .main-service .service-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .main-service .service-subtitle {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }

    .service-card,
    .hero-card {
        padding: 25px 15px;
    }
}