/* ===========================
   LANDING PAGE CSS
========================== */

/* Variables */
:root {
    --primary: #0f3a40;
    --secondary: #1c5a63;
    --accent: #bfe600;
    --background-light: #f5f7fa;
    --background-alt: #e5e7eb;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --primary-dark: #0a2a2f;
}


/* ===========================
   HERO SECTION
========================== */
.hero {
    height: 65vh;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(15, 58, 64, 0.75), rgba(15, 58, 64, 0.75)), 
                url('../img/Paperworks.jpg') no-repeat center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 0 30px;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero .btn {
    margin-top: 16px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero .btn:hover {
    background: #9ec700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===========================
   SERVICES SECTION
========================== */
.services {
    padding: 60px 5%;
    background: var(--background-light);
    text-align: center;
}

.services h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

/* Services intro text */
.services-intro {
    font-size: 1.05rem;
    color: #626c73;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Grid layout - UPDATED FOR 4 COLUMNS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Service Card */
.service-card {
    background: var(--text-light);
    border: 1px solid rgba(15, 58, 64, 0.12);
    border-radius: 14px;
    padding: 28px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Left border accent on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(15, 58, 64, 0.15);
    border-color: rgba(15, 58, 64, 0.2);
}

/* Card Header with Icon */
.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.service-card-header h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

/* Icon styling */
.service-icon {
    width: 38px;
    height: 38px;
    transition: transform 0.3s ease, filter 0.3s ease;
    fill: var(--primary);
    flex-shrink: 0;
}

/* Icon hover effect */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 2px 6px rgba(15, 58, 64, 0.3));
}

/* Service description */
.service-description {
    font-size: 0.9rem;
    color: #626c73;
    margin-bottom: 14px;
    line-height: 1.6;
}

/* Service list */
.service-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    flex-grow: 1;
}

.service-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.service-list li strong {
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 600;
}

.service-detail {
    font-size: 0.8rem;
    color: #7a8a99;
    padding-left: 0;
}

/* ===========================
   ABOUT SECTION
========================== */
.about {
    background: var(--background-alt);
    padding: 50px 10%;
    text-align: center;
}

.about h2 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 700;
}

.about p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* About highlights */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.highlight-item {
    background: var(--text-light);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.highlight-item h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.highlight-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

/* ===========================
   RESPONSIVE
========================== */

/* Large desktops (1400px+) - Keep 4 columns */
@media (min-width: 1400px) {
    .services-grid {
        max-width: 1600px;
        gap: 28px;
    }
    
    .service-card {
        padding: 32px;
    }
    
    .service-card-header h3 {
        font-size: 1.3rem;
    }
}

/* Standard desktops (1024px - 1399px) - Keep 4 columns but tighter */
@media (max-width: 1399px) {
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 24px;
    }
}

/* Tablets landscape (768px - 1023px) - 2 columns */
@media (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .service-card {
        padding: 28px;
    }
    
    .service-card-header h3 {
        font-size: 1.3rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
}

/* Mobile (768px and below) - 1 column */
@media (max-width: 768px) {
    .hero {
        height: 55vh;
        min-height: 400px;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .services {
        padding: 40px 5%;
    }
    
    .services h2 {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    
    .services-intro {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px;
        min-height: 280px;
    }
    
    .service-card-header h3 {
        font-size: 1.25rem;
    }
    
    .service-icon {
        width: 38px;
        height: 38px;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .service-list li strong {
        font-size: 0.9rem;
    }
    
    .service-detail {
        font-size: 0.8rem;
    }
    
    .about {
        padding: 40px 5%;
    }
    
    .about h2 {
        font-size: 1.75rem;
    }
    
    .about p {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .highlight-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero .btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
    
    .services h2 {
        font-size: 1.65rem;
    }
    
    .services-intro {
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card-header h3 {
        font-size: 1.15rem;
    }
    
    .service-icon {
        width: 36px;
        height: 36px;
    }
    
    .service-list li {
        margin-bottom: 10px;
    }
    
    .about h2 {
        font-size: 1.5rem;
    }
    
    .highlight-item h4 {
        font-size: 1.1rem;
    }
}
