/* Modern CSS Reset & Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(6, 182, 212, 0.1) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.header-spacer {
    height: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header similar to Growvistar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.99);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--light);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
    background: var(--gradient-soft);
}

.nav-menu a:hover::before {
    width: 60%;
}

.nav-admin {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

.nav-admin:hover {
    background: var(--gradient);
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

/* Hero Section */
.hero {
    background: var(--dark);
    color: white;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 100%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--gray-light);
}

.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 18px 48px;
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.cta-button:hover::before {
    left: 100%;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.about-content {
    display: block;
    margin-top: 4rem;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.15rem;
    line-height: 1.8;
}

.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.key-point-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.key-point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.key-point-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.key-point-card h3 {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.key-point-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.info-card h3 {
    margin-bottom: 2rem;
    color: var(--dark);
    font-size: 1.75rem;
    font-weight: 700;
}

.info-card p {
    margin-bottom: 1rem;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card p strong {
    color: var(--dark);
    min-width: 100px;
    flex-shrink: 0;
}

.info-card p span {
    flex: 1;
    word-wrap: break-word;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light);
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gray);
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    margin-bottom: 1.25rem;
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 1rem;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light);
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    margin-bottom: 2.5rem;
    color: var(--dark);
    font-size: 1.75rem;
    font-weight: 700;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-light);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-item a,
.contact-item span {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 2.5rem;
    color: var(--dark);
    font-size: 1.75rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: var(--white);
}

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

.submit-button {
    background: var(--gradient);
    color: white;
    padding: 18px 48px;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.error-message {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.social-links a i {
    font-size: 1.1rem;
    line-height: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Service Detail Pages */
.service-detail {
    padding: 160px 0 100px;
    background: var(--light);
}

.service-detail h1 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.service-description {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-description h2 {
    color: var(--dark);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.service-description h3 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-description ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.service-description li {
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-form h2 {
    color: var(--dark);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .about h2,
    .services h2,
    .contact h2,
    .service-detail h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 1.5rem;
    }
    
    .header-spacer {
        height: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-150%);
        width: calc(100% - 32px);
        max-width: 400px;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-2xl);
        z-index: 999;
        border-radius: var(--radius-xl);
    }
    
    .nav-menu.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-menu a {
        padding: 1rem;
        border-radius: var(--radius-md);
        text-align: center;
    }
    
    .nav-cta {
        text-align: center;
        width: 100%;
    }
    
    .hero {
        padding: 180px 0 120px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
    
    .contact-content,
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .key-points {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo-image {
        height: 50px;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a i {
        font-size: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-section a {
        font-size: 0.95rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .about,
    .services,
    .contact {
        padding: 80px 0;
    }
    
    .service-detail {
        padding: 120px 0 80px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo-image {
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .footer-logo p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
    }
    
    .social-links a i {
        font-size: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.4rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.info-card,
.contact-info,
.contact-form {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
