/* --- VARIABLES & GLOBAL STYLES --- */
:root {
    --primary-color: #007BFF;
    --primary-hover: #0056b3;
    --dark-color: #1a202c;
    --light-color: #f8f9fa;
    --text-color: #4a5568;
    --heading-color: #2d3748;
    --border-color: #e2e8f0;
    --font-family: 'Poppins', sans-serif;
}

/* Basic Resets and Font Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); line-height: 1.6; color: var(--text-color); background-color: #fff; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--heading-color); line-height: 1.2; margin-bottom: 1rem; font-weight: 600; }
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 5px; font-weight: 600; transition: background-color 0.3s ease; border: none; cursor: pointer; }
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-light { background-color: var(--light-color); color: var(--primary-color); }
.btn-light:hover { background-color: #e2e8f0; }
.btn-large { padding: 15px 30px; font-size: 1.1rem; }

/* --- Header Logo Styling --- */
.main-header .logo img {
    height: 70px; /* Adjust this value to your liking */
    width: auto;  /* Keeps the logo's aspect ratio correct */
    vertical-align: middle; /* Helps align the logo with nav links */
}

/* --- HEADER & NAVIGATION --- */
.main-header { background-color: #fff; border-bottom: 1px solid var(--border-color); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--dark-color); }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: var(--text-color); font-weight: 600; }
.nav-links a:hover { color: var(--primary-color); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-color); }

/* --- SECTIONS (Hero, Clients, etc.) --- */
#hero { background: linear-gradient(rgba(26, 32, 44, 0.8), rgba(26, 32, 44, 0.8)), url('https://images.unsplash.com/photo-1555066931-4365d1469c9b?auto=format&fit=crop&w=1740') center center/cover; color: #fff; min-height: 70vh; display: flex; align-items: center; text-align: center; }
#hero h1 { color: #fff; }
#hero .subtitle { max-width: 700px; margin: 1rem auto 2rem; font-size: 1.2rem; opacity: 0.9; }

#clients { background-color: var(--light-color); padding: 2rem 0; text-align: center; }
#clients p { font-weight: 600; color: var(--text-color); margin-bottom: 1.5rem; }
.client-logos { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 2rem; }
.client-logos i { font-size: 2.5rem; color: #a0aec0; transition: color 0.3s ease; }
.client-logos i:hover { color: var(--text-color); }

#services { padding: 6rem 0; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto 3rem; }

/* --- TAB STYLES (NEW) --- */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}
.tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-color);
    position: relative;
    transition: color 0.3s ease;
}
.tab-button:hover { color: var(--primary-color); }
.tab-button.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}
.tab-button i { margin-right: 8px; }

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- SERVICE CARDS --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.service-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.learn-more { font-weight: 600; margin-top: 1rem; display: inline-block; }

/* --- WHY US & FOOTER --- */
#why-us { background-color: var(--light-color); padding: 6rem 0; }
.why-us-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tag { display: inline-block; background-color: rgba(0, 123, 255, 0.1); color: var(--primary-color); padding: 5px 10px; border-radius: 5px; font-weight: 600; margin-bottom: 1rem; }
#why-us h2 { text-align: left; }
#why-us ul { list-style: none; margin-top: 1.5rem; }
#why-us li { margin-bottom: 0.75rem; display: flex; align-items: center; }
#why-us i { color: #28a745; margin-right: 10px; }
.image-content img { max-width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.cta-section { background-color: var(--dark-color); color: #fff; padding: 5rem 0; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { max-width: 600px; margin: 0 auto 2rem; opacity: 0.9; }
.main-footer { background-color: var(--dark-color); color: #a0aec0; padding: 2rem 0; border-top: 1px solid #4a5568; }
.main-footer .container { display: flex; justify-content: space-between; align-items: center; }
.social-links a { color: #a0aec0; margin-left: 15px; font-size: 1.2rem; }
.social-links a:hover { color: #fff; }

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #fff; border-top: 1px solid var(--border-color); }
    .main-nav.active { display: block; }
    .nav-links { flex-direction: column; padding: 1rem; }
    .nav-links li { margin: 10px 0; text-align: center; }
    .main-header .btn { display: none; }
    .hamburger { display: block; }
    #hero { min-height: 60vh; }
    .why-us-content { grid-template-columns: 1fr; }
    .image-content { grid-row: 1; margin-bottom: 2rem; }
    .main-footer .container { flex-direction: column; gap: 1rem; }
    .tabs { flex-direction: column; }
    .tab-button { border-bottom: none; }
    .tab-button.active { background-color: var(--light-color); border-radius: 5px; }
}
