/* 
  hsprudence - Premium Consultancy Styles 
*/

:root {
    /* Color Palette */
    --primary: #0A2540;          /* Deep Navy */
    --primary-light: #183a61;    
    --secondary: #00D084;        /* Safety Green */
    --secondary-dark: #00b371;
    --accent: #FF6B00;           /* Warning/Alert Orange */
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #f8f9fa;
    
    --bg-main: #ffffff;
    --bg-light: #f3f7f9;
    --bg-card: #ffffff;
    
    /* Layout */
    --nav-height: 80px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.12);
    --shadow-hover: 0 25px 50px rgba(10, 37, 64, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Utilities */
.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(0, 208, 132, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.logo-accent {
    color: var(--secondary);
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
}

.mobile-menu.open {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 208, 132, 0.1);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(10, 37, 64, 0.05);
    bottom: 50px;
    left: -100px;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(10, 37, 64, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Glass Card for Hero */
.hero-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-glass:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.glass-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.hero-glass h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.glass-stat {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Outfit';
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Services */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-list i {
    color: var(--secondary);
    margin-top: 5px;
}

/* Values */
.values {
    background-color: var(--primary);
    color: white;
    position: relative;
}

.values .section-title {
    color: white;
}

.values .section-desc {
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.value-text h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.values-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    background-image: url('https://images.unsplash.com/photo-1541888029676-cb8293d052d9?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.values-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
    opacity: 0.6;
    border-radius: 24px;
}

.experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.exp-number {
    font-family: 'Outfit';
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.exp-text {
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2;
}

/* Contact CTA */
.cta-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-box.whatsapp {
    background: var(--secondary);
    color: white;
}

.contact-box.whatsapp i {
    font-size: 1.5rem;
}

.contact-box.email i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: #051626;  /* Extremely deep navy */
    color: white;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

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

.footer h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.6);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    margin-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-card {
        bottom: -20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-methods {
        flex-direction: column;
    }
}
