/* style.css - Premium Design for Mirmaksan */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');

:root {
    --primary-color: #0f4c81; /* Classic Blue */
    --primary-light: #2c6ca1;
    --primary-dark: #072f53;
    --accent-color: #e5a93d; /* Gold/Metallic touch */
    --accent-hover: #c48f2e;
    
    --bg-body: #ffffff;
    --bg-dark: #0f172a; /* Changed to white for light theme */
    --bg-card: #f8fafc;
    --bg-light: #f1f5f9;
    
    --text-main: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --text-heading: #0f172a;
    --text-light: #ffffff; /* Slate 900 for headings */
    --text-dark: #ffffff; 
    
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--accent-color);
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-narrow {
    max-width: 900px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(15, 76, 129, 0.2);
}

.btn-primary.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--accent-color);
    color: var(--bg-dark);
}

.btn-primary.btn-lg:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 0 20px rgba(229, 169, 61, 0.4);
    color: var(--text-light);
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4982a 100%);
    color: #0f172a !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 10px 20px rgba(229, 169, 61, 0.3);
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(229, 169, 61, 0.5);
    background: linear-gradient(135deg, #d4982a 0%, var(--accent-color) 100%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-cb {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif; /* Specialized logo font */
    letter-spacing: 0px;
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(180deg);
}

.logo-cnc {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading); /* Dark slate in light theme */
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.header.scrolled .logo-cb {
    color: var(--primary-light);
}

.footer .logo-cnc {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--text-heading);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content .subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: none; /* Removed shadow for light theme */
}

.breadcrumb {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-main);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb i {
    font-size: 0.8rem;
    margin: 0 0.5rem;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: visible;
}

.about-image-wrapper .main-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--text-light);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
    border: 5px solid var(--bg-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}

.about-text-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 20px rgba(15, 76, 129, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Deep Dive Section */
.deep-dive {
    padding: 4rem 0 6rem;
}

.deep-dive-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.deep-dive-card:hover {
    border-color: rgba(229, 169, 61, 0.3);
}

.deep-dive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(15, 76, 129, 0.2);
    color: var(--primary-light);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.deep-dive-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.deep-dive-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.certificate {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(229, 169, 61, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    margin: 1.5rem 0;
}

.certificate i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.certificate span {
    color: var(--text-heading);
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(240, 244, 248, 0.9), rgba(240, 244, 248, 0.9)), url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.footer {
    background: var(--bg-card);
    padding: 5rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links a:hover i {
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background: #f1f5f9;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .about-image-wrapper {
        margin-bottom: 2rem;
        overflow: hidden;
    }

    .experience-badge {
        right: 10px;
        bottom: -20px;
        width: 110px;
        height: 110px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 999;
    }

    .nav-links.nav-active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.4rem;
        font-weight: 600;
    }
    
    .header-right .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
        position: relative;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}
