/* Tatum Group Professional Stylesheet - FINAL BALANCE VERSION */
:root {
    --primary-blue: #004a99;
    --dark-grey: #333333;
    --light-bg: #f8f9fa;
    --accent-blue: #007bff;
}

body { 
    font-family: 'Roboto', sans-serif; 
    margin: 0; 
    color: var(--dark-grey); 
    line-height: 1.8;
}

/* Header & Navigation (Keeping Big Logo) */
header { 
    background: #ffffff; 
    padding: 20px 0; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

nav { 
    max-width: 1200px; 
    margin: auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px;
}

.logo { 
    height: 100px; 
    width: auto;
    transition: transform 0.3s; 
}
.logo:hover { transform: scale(1.05); }

nav ul { list-style: none; display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--primary-blue); font-weight: 700; text-transform: uppercase; font-size: 1rem; }

/* Hero Section */
.hero { 
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
    padding: 80px 0; /* Balanced padding */
}

.container { 
    max-width: 1200px; 
    margin: auto; 
    display: flex; 
    align-items: center; 
    gap: 60px; /* Tighter gap for better alignment */
    padding: 0 40px; 
}

/* --- THE FIX: SMALLER PROFILE IMAGE & SHADOW --- */
.profile-img { 
    width: 350px; /* Reduced from 450px to match original balance */
    height: auto;
    border-radius: 10px; /* Slightly tighter corner */
    box-shadow: 15px 15px 0px var(--primary-blue); /* Reduced shadow thickness from 25px */
}

.hero-text h1 { 
    color: var(--primary-blue); 
    font-size: 2.8rem; /* Balanced size */
    line-height: 1.1;
    margin-bottom: 25px;
}

/* Services Grid (Keeping Big Icons) */
#services { padding: 100px 10%; background: var(--light-bg); text-align: center; }
#services h2 { font-size: 3rem; color: var(--primary-blue); margin-bottom: 60px; position: relative; padding-bottom: 15px; }
#services h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: var(--primary-blue); }

.service-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 50px; 
}

.service-card { 
    background: #fff;
    padding: 50px 40px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-top: 6px solid transparent;
}

.service-card img { 
    height: 130px; /* Keeping Big Icons */
    width: auto;
    margin-bottom: 30px; 
}

.service-card:hover { 
    transform: translateY(-15px); 
    border-top: 6px solid var(--primary-blue);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-card h3 { color: var(--primary-blue); font-size: 1.6rem; margin-bottom: 15px; }

/* Footer */
footer { background: #1a1a1a; color: white; text-align: center; padding: 80px 0; }
.btn { 
    display: inline-block; 
    background: var(--primary-blue); 
    color: white; 
    padding: 18px 50px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold; 
    font-size: 1.1rem;
    margin: 30px 0; 
    transition: 0.3s;
}
.btn:hover { background: var(--accent-blue); transform: scale(1.05); }

@media (max-width: 1000px) { 
    .container { flex-direction: column; text-align: center; gap: 40px; }
    .profile-img { width: 90%; max-width: 350px; } /* Final adjustment for mobile */
    .hero-text h1 { font-size: 2rem; }
}