/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
    /* Add scroll padding to account for sticky header */
    scroll-padding-top: 70px;
}

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

/* Enhanced Header and Navigation */
.navbar {
    background: linear-gradient(135deg, #1f2937, #374151);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(55, 65, 81, 0.95));
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

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

.navbar.scrolled .nav-container {
    height: 65px;
}

.logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    transition: font-size 0.3s ease;
}

.navbar.scrolled .logo h2 {
    font-size: 1.7rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* Hero Section - Add top padding to account for fixed header */
.hero {
    background: linear-gradient(135deg, #1f2937, #374151, #3b82f6);
    color: white;
    padding: 190px 0 120px 0; /* Added top padding for fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1f2937;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: white;
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
    font-weight: 700;
}

.about-content p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #6b7280;
    line-height: 1.8;
}

/* Improved Grid Layouts */

/* Features Grid - 3 items in a balanced layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-box p {
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafb, #e5e7eb);
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
    font-weight: 700;
}

/* Services Cards - 4 items in 2x2 layout */
.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #3b82f6;
}

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

.service-card h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Detail */
.services-detail {
    padding: 100px 0;
}

.service-category {
    margin-bottom: 5rem;
}

.service-category h2 {
    color: #1f2937;
    font-size: 2.3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.category-description {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Corporate Management Services - 4 items in 2x2 layout */
.content-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Administrative Services - 4 items in 2x2 layout */
.package-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-item .feature-icon {
    font-size: 2.5rem;
    width: 80px;
    text-align: center;
}

.feature-item h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* HR Services - 6 items in 3x2 layout */
.vpn-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.vpn-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #059669;
    transition: all 0.3s ease;
}

.vpn-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.vpn-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

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

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.contact-info {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 3rem;
    border-radius: 15px;
}

.contact-info h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #60a5fa;
}

.info-section a {
    color: white;
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #60a5fa;
    font-weight: 600;
}

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    /* Services Cards - 2x2 becomes 1x4 on tablet */
    .services-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    /* HR Services - 3x2 becomes 2x3 on tablet */
    .vpn-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Features Grid - 3x1 becomes 1x3 on tablet */
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 3rem auto 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 160px 0 100px 0; /* Adjust for smaller header */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* All grids become single column on mobile */
    .features-grid,
    .services-cards,
    .content-services,
    .package-features,
    .vpn-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar.scrolled .nav-container {
        height: 60px;
    }
    
    .hero {
        padding: 140px 0 80px 0;
    }
}