/* style.css - Original Professional Consulting Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #f8fafc;
    font-weight: 300;
}

/* Header - Original Professional Design */
header {
    background: linear-gradient(135deg, #0f2b4d 0%, #1a365d 100%);
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 4px solid #2c5282;
}

/* Logo block: consistent dimensions and location on all pages */
header .logo {
    background: #ffffff;
    padding: 18px 32px;
    display: inline-block;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

header .logo a {
    display: block;
    line-height: 0;
    margin-bottom: 10px;
}

header .logo .logo-img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 220px;
    margin: 0 auto;
    object-fit: contain;
}

header .logo h1 {
    color: #1a365d;
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
    font-weight: 700;
}

header .logo .tagline {
    color: #4a5568;
    margin: 4px 0 0 0;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Dark variant (about, contact) – same logo dimensions, no inline styles */
header .logo.logo-dark {
    background: #1a365d;
    padding: 18px 32px;
    border-radius: 6px;
}

header .logo.logo-dark .logo-img {
    height: 56px;
    max-width: 220px;
}

header .logo.logo-dark h1 {
    color: #ffffff;
}

header .logo.logo-dark .tagline {
    color: #90cdf4;
    font-size: 11px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 600;
    margin: 15px 0 10px 0;
    color: #ffffff;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Navigation - Clean Professional */
nav {
    background-color: #ffffff;
    padding: 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

nav a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    margin: 0 25px;
    font-size: 1rem;
    padding: 20px 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

nav a:hover {
    color: #2c5282;
}

nav a.active {
    color: #2c5282;
    font-weight: 600;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2c5282;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Images */
.hero-img, .page-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Content Sections */
.section-content {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

h2 {
    font-family: 'Playfair Display', serif;
    color: #1a365d;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-family: 'Playfair Display', serif;
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Services Section - Original Design */
.service {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-details {
    display: none;
    margin-top: 20px;
    padding-left: 0;
    list-style-type: none;
}

.service-details li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #4a5568;
}

.service-details li:before {
    content: "•";
    color: #2c5282;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.read-more-btn {
    background: none;
    border: none;
    color: #2c5282;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 500;
    padding: 8px 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn:hover {
    color: #1a365d;
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    text-align: center;
}

.stat {
    padding: 30px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.stat h3 {
    color: #2c5282;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.stat p {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 50px 40px;
    margin-top: 50px;
    text-align: center;
    border-radius: 8px;
}

.cta-section h2 {
    color: white;
}

.cta-button {
    background: #ffffff;
    color: #1a365d;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Projects list */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.project-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.project-card h3 {
    color: #1a365d;
    font-size: 1.35rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.project-industry {
    color: #2c5282;
    font-weight: 600;
}

.project-year {
    color: #718096;
}

.project-client {
    color: #4a5568;
    font-size: 0.95rem;
    margin: 0 0 12px 0;
    font-style: italic;
}

.project-desc {
    margin: 0 0 16px 0;
    color: #2d3748;
    line-height: 1.65;
}

.project-achievements {
    margin: 0;
    padding-left: 22px;
    color: #2d3748;
}

.project-achievements li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
    font-size: 0.95rem;
}

form input, form textarea, form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: #2c5282;
}

form button {
    background-color: #2c5282;
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

form button:hover {
    background-color: #1a365d;
}

/* Contact page: error messages and info cards */
.error-message {
    color: #c53030;
    font-size: 0.85rem;
    margin-top: 4px;
}

.info-card {
    padding: 25px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #1a365d;
}

/* About page: team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    padding: 30px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.team-member h3 {
    color: #1a365d;
}

.submit-btn {
    position: relative;
}

.submit-btn .loading-spinner {
    display: none;
}

/* Footer */
footer {
    background: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 30px 20px;
    margin-top: 80px;
    border-top: 4px solid #2c5282;
}

/* Responsive */
@media (max-width: 768px) {
    nav a {
        margin: 0 15px;
        padding: 18px 0;
        font-size: 0.95rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 40px 20px;
    }
    
    .section-content {
        padding: 30px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-img, .page-img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    nav a {
        display: block;
        margin: 0;
        padding: 15px;
        border-bottom: 1px solid #e2e8f0;
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .service, .section-content {
        padding: 25px;
    }
}