/* ===== CSS Variables & Reset ===== */
:root {
    --primary: rgba(29, 58, 102);        /* Your first color: Deep Navy */
    --secondary: rgba(229, 180, 49);     /* Your second color: Golden Yellow */
    --accent: rgba(28, 57, 101);         /* Your third color: Slightly darker Navy */
    --light: #ffffff;
    --dark: #0f172a;
    --gray: #475569;
    --light-gray: #f8fafc;
    --border-gray: #e2e8f0;
    
    /* Gradient updated with your colors */
    --gradient-primary: linear-gradient(135deg, rgba(29, 58, 102) 0%, rgba(28, 57, 101) 100%);
    --gradient-secondary: linear-gradient(135deg, rgba(229, 180, 49) 0%, rgba(245, 195, 60) 100%);
    
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(29, 58, 102, 0.05);
    --shadow-hover: 0 8px 25px rgba(29, 58, 102, 0.08);
    --transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif Pro', serif;
    color: var(--primary);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(229, 180, 49, 0.2);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 180, 49, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(29, 58, 102, 0.04);
    transform: translateY(-2px);
    border-color: rgba(229, 180, 49, 1);
    color: rgba(229, 180, 49, 1);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-image:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-text {
    font-family: 'Source Serif Pro', serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229, 180, 49, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-subtitle:before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gradient-secondary);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.about-image:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(229, 180, 49, 0.2);
    border-radius: var(--border-radius);
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-features {
    margin-top: 40px;
    display: grid;
    gap: 28px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(229, 180, 49, 0.1) 0%, rgba(229, 180, 49, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== PROGRAMMES SECTION ===== */
.programmes {
    background-color: var(--light-gray);
}

.programme-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.tab-btn {
    padding: 12px 28px;
    background-color: white;
    border: 1px solid var(--border-gray);
    border-radius: 30px;
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(29, 58, 102, 0.15);
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.programme-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.programme-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(229, 180, 49, 0.2);
}

.programme-header {
    padding: 32px 32px 20px;
    border-bottom: 1px solid var(--border-gray);
    background-color: rgba(248, 250, 252, 0.5);
}

.programme-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(229, 180, 49, 0.15);
    line-height: 1;
    margin-bottom: 8px;
}

.programme-body {
    padding: 0 32px 32px;
}

.programme-features {
    list-style: none;
    margin: 24px 0;
}

.programme-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 4px;
}

.programme-features i {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.programme-audience {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-gray);
    font-style: italic;
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== CONSULTANTS SECTION ===== */
.consultants {
    background-color: var(--light);
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.consultant-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.consultant-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.consultant-header {
    padding: 40px 40px 24px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.8) 0%, transparent 100%);
}

.consultant-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.consultant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.consultant-card:hover .consultant-image img {
    transform: scale(1.05);
}

.consultant-body {
    padding: 0 40px 40px;
}

.consultant-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.credential-badge {
    background: linear-gradient(135deg, rgba(229, 180, 49, 0.1) 0%, rgba(229, 180, 49, 0.05) 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.credential-badge:hover {
    background: var(--gradient-secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== VALUE PROPOSITION ===== */
.value {
    background-color: var(--light-gray);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.value-card {
    background-color: white;
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(229, 180, 49, 0.2);
}

.value-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(29, 58, 102, 0.08) 0%, rgba(29, 58, 102, 0.04) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--gradient-secondary);
    color: var(--primary);
    transform: rotate(5deg);
}

/* ===== CLIENTS SECTION ===== */
.clients {
    background-color: var(--light);
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-top: 60px;
    align-items: center;
}

.client-logo {
    height: 80px;
    background-color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(229, 180, 49, 0.2);
}

.client-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover .client-icon {
    opacity: 1;
    color: var(--secondary);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(29, 58, 102, 0.08) 0%, rgba(29, 58, 102, 0.04) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    background: var(--gradient-secondary);
    color: var(--primary);
}

.contact-form {
    background-color: white;
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-group {
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    color: var(--dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(229, 180, 49, 0.1);
}

.form-control::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

/* ===== FOOTER ===== */
footer {
    background: var(--gradient-primary);
    color: white;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logo-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--gradient-secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    color: white;
    margin-bottom: 28px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-links a:before {
    content: '→';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover:before {
    opacity: 1;
}

.footer-bottom {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-white {
    background-color: white;
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-hover {
    box-shadow: var(--shadow-hover);
}

.about-content p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* Add this to your style.css file */
.about-content p,
.hero-description,
.consultant-body p,
.section-subtitle,
.footer-description {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
    word-spacing: normal;
    letter-spacing: normal;
}

/* For feature items (keep left-aligned) */
.feature-item p,
.credential-badge,
.programme-features li,
.value-card h3,
.contact-card p {
    text-align: left; /* These look better left-aligned */
}