/* EASE AS Solutions - Main Styling System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-dark: #0B4D1A;
    --primary-light: #4CAF50;
    --primary-gradient: linear-gradient(135deg, #0B4D1A 0%, #1c662e 100%);
    --secondary-light: #f4f7f5;
    --white: #ffffff;
    --gray-dark: #1f2937;
    --gray-medium: #6b7280;
    --gray-light: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(11, 77, 26, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 77, 26, 0.08);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo-text span {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-dark);
}

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

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

.cta-nav-btn {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(11, 77, 26, 0.2);
}

.cta-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 77, 26, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 77, 26, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 77, 26, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 200px 0;
    background-image: url('../assets/images/home_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    min-height: 95vh;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 77, 26, 0.45) 0%, rgba(8, 55, 19, 0.35) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    background: rgba(11, 77, 26, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    max-width: 650px;
    width: 100%;
}

.hero-content h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Page Banner for Inner Pages */
.page-banner {
    position: relative;
    padding: 160px 0;
    color: var(--white);
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 77, 26, 0.55) 0%, rgba(8, 55, 19, 0.45) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-banner h1 {
    font-size: 52px;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    font-weight: 800;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

/* Section Common Layouts */
.section-padding {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
}

/* Infographics: Counters & Highlights */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary-light);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Snapshot / Highlights Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(11, 77, 26, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(11, 77, 26, 0.12);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-dark);
}

.service-link:hover {
    color: var(--primary-light);
}

.service-link .arrow-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 2px 2px 6px rgba(11, 77, 26, 0.12), -2px -2px 6px #ffffff;
    transition: var(--transition);
    border: 1px solid rgba(11, 77, 26, 0.05);
}

.service-link:hover .arrow-3d {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateX(4px) rotate(-15deg);
    box-shadow: 0 6px 15px rgba(11, 77, 26, 0.25);
    border-color: transparent;
}

/* Process Steps Timeline */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gray-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.2);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -22px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -22px;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: inline-block;
    max-width: 100%;
}

.timeline-content h3 {
    color: var(--primary-dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Industries Served - Interactive Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.industry-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 77, 26, 0.04);
    transition: var(--transition);
}

.industry-card:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.industry-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.industry-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* Forms (Contact us and quick capture) */
.lead-capture-section {
    background: var(--primary-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.lead-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.lead-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.lead-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.lead-info-icon {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.form-title {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-light);
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Footer & Addresses mapping */
.main-footer {
    background-color: #083713;
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-top: 15px;
    font-size: 14px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-light);
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-address {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-address strong {
    color: var(--white);
}

.footer-map-container {
    height: 120px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* Testimonial slider UI */
.testimonial-section {
    background: radial-gradient(circle at bottom left, rgba(76, 175, 80, 0.03), transparent 30%);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.testimonial-rating {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-author h4 {
    font-size: 18px;
    color: var(--primary-dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-medium);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary-dark);
    transform: scale(1.2);
}

/* Responsive Grid Layouts */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.services-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsiveness media queries */
@media (max-width: 991px) {
    .about-grid, .snapshot-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-section {
        padding: 120px 0;
        min-height: 65vh;
    }
    
    .hero-content {
        padding: 35px 25px;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 44px;
    }
    
    .page-banner {
        padding: 120px 0;
        min-height: 40vh;
    }
    
    .page-banner h1 {
        font-size: 40px;
    }
    
    .page-banner p {
        font-size: 16px;
    }
    
    .lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .form-row-2, .services-list-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hero-section {
        padding: 80px 0;
        min-height: auto;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .page-banner {
        padding: 80px 0;
        min-height: 30vh;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .page-banner p {
        font-size: 14px;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-badge,
    .timeline-item:nth-child(even) .timeline-badge {
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Blinking Logo Animation (Heartbeat Pulse) */
.blinking-logo {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.15);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.15);
    }
    70% {
        transform: scale(1);
    }
}
