/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Color Palette - Shamsher Inspired */
    --primary-dark: #1a1a2e;
    --primary-blue: #16213e;
    --accent-gold: #d4af37;
    --accent-red: #c41e3a;
    --text-primary: #2c3e50;
    --text-secondary: #5d6d7e;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    background: var(--primary-dark);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    width: 50px;
    height: 50px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0;
    letter-spacing: 2px;
}

.nav-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 0.2rem;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(22, 33, 62, 0.9), rgba(26, 26, 46, 0.95)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a2e" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    position: relative;
    text-align: center;
    color: var(--text-light);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22,33,62,0.95) 0%, rgba(26,26,46,0.98) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.hero-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-left: 4px solid var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.hero-quote i {
    color: var(--accent-gold);
    font-size: 32px;
    margin-bottom: 20px;
}

.hero-quote p {
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-light);
}

.hero-quote cite {
    font-size: 16px;
    color: var(--accent-gold);
    font-style: normal;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-gold);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}

.certification-box {
    display: flex;
    gap: 30px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cert-icon {
    font-size: 48px;
    color: var(--accent-gold);
}

.cert-content h3 {
    color: var(--accent-gold);
    font-size: 24px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.cert-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item i {
    color: var(--accent-gold);
    font-size: 24px;
    flex-shrink: 0;
}

.info-item p {
    line-height: 1.7;
}

.about-footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 16px;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 72px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.1);
    font-family: var(--font-heading);
}

.service-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding: 20px 0 0;
    border-top: 2px solid var(--border-color);
}

.service-list li {
    padding: 8px 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 25px;
}

.service-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Leadership Section */
.leadership-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.leader-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.leader-info {
    padding: 30px;
}

.leader-info h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.leader-info h4 {
    font-size: 16px;
    color: var(--accent-red);
    margin-bottom: 10px;
    font-weight: 600;
}

.credentials {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 12px;
}

.leader-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Projects Section */
.projects-section {
    padding: var(--section-padding);
    background: var(--primary-dark);
    color: var(--text-light);
}

.projects-section .section-header h2 {
    color: var(--accent-gold);
}

.projects-section .divider {
    background: var(--text-light);
}

.project-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.project-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.project-category h3 {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-list {
    list-style: none;
}

.project-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    line-height: 1.7;
}

.project-list li:last-child {
    border-bottom: none;
}

.achievements-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: rgba(212, 175, 55, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent-gold);
}

.achievement-card i {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.achievement-card h4 {
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.achievement-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 32px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-details a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top.visible {
    display: flex;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .services-grid,
    .project-categories {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .hero-quote p {
        font-size: 18px;
    }
    
    .certification-box {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
