/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1a3d5c;
    --secondary: #2c7873;
    --accent: #6fb98f;
    --light: #f7f9fc;
    --dark: #2d3142;
    --text: #4a4e69;
    --bg-gradient: linear-gradient(135deg, rgba(26, 61, 92, 0.03) 0%, rgba(44, 120, 115, 0.03) 100%);
}

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

body {
    color: var(--text);
    line-height: 1.7;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-spacing {
    padding: 120px 0;
}

/* Header styles */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 61, 92, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

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

.logo-text {
    margin-left: 12px;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.logo-tagline {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.03em;
}

.btn:hover {
    background-color: #12304b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 61, 92, 0.15);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #1f5a57;
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 185, 143, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 61, 92, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -200px;
    left: -100px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 180px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-text p {
    font-size: 18px;
    max-width: 540px;
    margin-bottom: 40px;
    color: var(--text);
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background-color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.badge-icon {
    font-size: 32px;
    margin-right: 16px;
    color: var(--secondary);
}

.badge-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* Services section */
.services {
    background-color: white;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: var(--text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    height: 80px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    font-size: 42px;
}

.service-content {
    padding: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

/* About section */
.about {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 120, 115, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: 100px;
    left: -100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 30px solid rgba(111, 185, 143, 0.1);
    border-radius: 50%;
    top: -30px;
    left: -50px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 0;
}

.about-content p {
    margin-bottom: 24px;
    font-size: 17px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-top: 40px;
    gap: 30px;
}

.feature-item {
    flex: 1;
}

.feature-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.feature-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

/* Contact section */
.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 0;
}

.contact-text {
    margin-bottom: 40px;
    font-size: 17px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: var(--secondary);
    margin-right: 20px;
}

.contact-content h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-content p, .contact-content a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(44, 120, 115, 0.1);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 30px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
    bottom: -10px;
    left: 0;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-text h1 {
        font-size: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 30px;
    }
    
    .section-spacing {
        padding: 100px 0;
    }
    
    .hero-grid, 
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-feature {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-links {
        display: none;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    .section-spacing {
        padding: 80px 0;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .about-content h2 {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}
