/* ===================================
            MAIN STYLESHEET
   ================================== */
   
/* ===================================
   1. GLOBAL RESET & BASE STYLES
   ================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-blue: #1976D2;
    --primary-dark: #0D47A1;
    --primary-light: #42A5F5;
    --accent-blue: #2196F3;
    --accent-cyan: #00BCD4;
    
    --secondary-gray: #2C3E50;
    --dark-gray: #263238;
    --medium-gray: #546E7A;
    --light-gray: #ECEFF1;
    
    --success-green: #4CAF50;
    --warning-orange: #FF9800;
    --error-red: #F44336;
    
    --text-primary: #212121;
    --text-secondary: #666;
    --text-light: #9E9E9E;
    
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --background: #F5F5F5;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content-area {
    padding-top: 100px;
}

/* Text Justification */
p {
    text-align: justify;
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   2. NAVIGATION
   ================================== */

nav.main-nav  {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0 2rem;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.main-nav .scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: var(--accent-cyan);
}

.logo {
    height: 67px;
    width: auto;
    margin-right: 0.2rem;
}

.logo-text{
    margin-right: -0.5rem;
    color: var(--accent-cyan);
}

nav.main-nav  ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav.main-nav  a {
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

nav.main-nav a:hover,
nav.main-nav a.active {
    color: var(--accent-cyan);
}

.heroheader {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--secondary-gray) 100%);
    height: 100px;
}

/* ===================================
   3. BREDCRUMBS 
   ================================== */

.breadcrumb-nav ol {
    list-style: none;
    margin: 0;
    padding: var(--spacing-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-left: var(--spacing-md);
}

.breadcrumb-nav li {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.breadcrumb-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    position: relative;
}

/* Underline effect on hover */
.breadcrumb-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--text-primary);
}

.breadcrumb-nav a:hover::after {
    width: 100%;
}

.breadcrumb-nav .separator {
    color: var(--text-light);
    font-size: 0.8rem;
}

.breadcrumb-nav .current {
    color: var(--accent-blue);
    font-weight: 600;
}

/* ===================================
   4. CONTAINER & LAYOUT
   ================================== */

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

/* ===================================
   5. TYPOGRAPHY
   ================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: var(--spacing-xl);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* ===================================
   6. HERO SECTION WITH SLIDESHOW
   ================================== */

.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 var(--spacing-lg);
}

.hero-content-text{
    color: var(--accent-cyan);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-top: var(--spacing-md);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Slideshow Dots */
.dots-container {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    display: flex;
    gap: 10px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--white);
}

/* ===================================
   7. PAGE HEADER
   ================================== */

.page-header {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--secondary-gray) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-align: center;
}

/* ===================================
   8. BUTTONS & CTAs
   ================================== */

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    margin-top: var(--spacing-lg);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-blue);
    color: var(--white);
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    margin-top: var(--spacing-lg);
    margin-left: var(--spacing-md);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.cta-button:hover .cta-section-h2{
    color: var(--white);
}

.cta-section {
    margin-top: var(--spacing-xl);
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.cta-section p{
    font-size: large;
    text-align: center;
}

button {
    background: var(--primary-blue);
    color: var(--white);
    height: 52px;
    line-height: 48px;
    padding: 0 1.6rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

button:active {
    transform: translateY(0);
}

/* ===================================
   9. FEATURE BOXES & CARDS
   ================================== */

/* Default: 3-column grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* Index page: 4-column layout */
.index-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.index-features p{
    text-align: center !important; 
}

.feature-box {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-cyan);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-cyan);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: var(--accent-cyan);
    stroke-width: 2;
}

.feature-box h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.feature-box .card-cta {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    margin-top: var(--spacing-md);
    transition: color 0.3s ease;
}

.feature-box .card-cta:hover {
    color: var(--accent-cyan);
}

/* ===================================
   10. SERVICE CARDS & GRID
   ================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.service-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-cyan);
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 3px solid var(--accent-cyan);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
    line-height: 1;
}

/* ===================================
   11. CONTACT CARDS
   ================================== */

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.contact-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.contact-card .card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.contact-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.contact-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-cyan);
}

/* ===================================
   12. STEPS & TIMELINE
   ================================== */

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.step-item {
    background: var(--white);
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    padding-left: 4rem;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-item .step-number {
    position: absolute;
    left: var(--spacing-sm);
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.step-item h4 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.step-item p {
    color: var(--text-secondary);
    text-align: left;
}

/* ===================================
   13. VALUE LIST & CHECKMARKS
   ================================== */

.value-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.value-list li {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    margin-bottom: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.value-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.value-list li::before {
    content: "✓";
    position: absolute;
    left: var(--spacing-md);
    color: var(--success-green);
    font-size: 1.5rem;
    font-weight: 700;
}

.value-list li strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.3rem;
}

/* ===================================
   14. STATISTICS
   ================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.stat-box {
    background: var(--white);
    padding: var(--spacing-lg);
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.stat-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-box p {
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

/* ===================================
   15. HIGHLIGHTED SECTIONS
   ================================== */

.trust-banner {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--secondary-gray) 100%);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    margin: var(--spacing-xl) 0;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    box-shadow: var(--shadow-lg);
}

.highlighted-section {
    background: #E3F2FD;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-blue);
    margin: var(--spacing-lg) 0;
}

.highlighted-section h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.highlighted-section p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.highlighted-section ul {
    list-style: none;
    padding: 0;
}

.highlighted-section li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color:var(--text-secondary);
    font-size: 1.1rem;
}

.highlighted-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--dark-gray);
    font-size: 1.5rem;
    line-height: 1;
}

/* ===================================
   16. ABOUT PAGE SPECIFIC
   ================================== */

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.about-content p{
    font-size: 1.2rem;
}

.founder-message {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-blue);
}

.founder-message .quote-markl,
.founder-message .quote-markr {
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.3;
    line-height: 0.5;
}

.founder-message .quote-markl {
    margin-bottom: var(--spacing-md);
}

.founder-message .quote-markr {
    margin-top: var(--spacing-xl);
    text-align: right;
}

.founder-message p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.founder-message .signature {
    text-align: right;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--light-gray);
}

.founder-message .signature .name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.founder-message .signature .title {
    color: var(--text-secondary);
    font-style: italic;
}

/* ===================================
   17. BUSINESS HOURS BOX
   ================================== */

.business-hours-box {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-lg) 0;
    border-left: 5px solid var(--success-green);
}

.business-hours-box h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.business-hours-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0.3rem 0;
}

.business-hours-box .emergency-note {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--light-gray);
    font-style: italic;
    color: var(--warning-orange);
}

/* ===================================
   18. QUICK LINKS
   ================================== */

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.quick-link-btn {
    display: block;
    background: var(--white);
    color: var(--primary-blue);
    padding: var(--spacing-md) var(--spacing-md);
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-md);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-link-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   19. MODERN FOOTER
   ================================== */

.modern-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    font-size: 0.95rem;
    animation: fadeIn 1s ease-out;
}

/* --- Layout Grid/Flex --- */
.modern-footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-lg);
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

/* --- Brand / Left Column --- */
.brand-col {
    flex: 2; /* Takes up more space */
    min-width: 250px;
    text-align: left;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.logo-img {
    max-width: 200px; /* Adjust based on your logo */
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.contact-details p a{
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* --- Links / Middle Columns --- */
.links-col h4,
.social-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col ul li {
    margin-bottom: 8px;
}

.links-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.links-col ul li a:hover {
    color: var(--white);
    padding-left: 5px; /* Subtle slide effect */
}

/* --- Socials / Right Column --- */
.social-col {
    text-align: right;
    min-width: 200px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end; /* Right aligns the icons */
}

.social-icons a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Makes icons circular */
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--white);
    color: var(--dark-gray);
    transform: translateY(-3px);
}

/* --- Footer Bottom --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xs);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .modern-footer .footer-top {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .logo-img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    .brand-col, 
    .links-col, 
    .social-col,
    .contact-details p {
        text-align: center; /* Center everything on mobile for better look */
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   20. VACANCY BUTTON (FLOATING)
   ================================== */

.vacancy-button {
    position: fixed;
    height: 9rem;
    width: 3rem;
    top: 50%;
    right: 0;
    writing-mode: vertical-rl;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 1000;
}

.vacancy-button:hover {
    background: var(--primary-dark);
}

.vacancy-button a {
    color: var(--white);
    text-decoration: none;
}

/* ===================================
   21. PARAGHRAPH STYLES
   ================================== */

.paragraph{
    margin-top: 0;
}
.paragraph p{
    font-size: 1.2rem;
}
.paragraph strong{
    font-size: 1.2rem;
}
.paragraph #paragraph-header{
    margin-top: 1.5rem;
}

/* ===================================
   22.MOBILE HAMBURGER MENU STYLES
   ================================== */

/* Navigation Container - Flexbox layout */
nav.main-nav  {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop menu - right aligned */
nav.main-nav  > ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0;
}

/* Hamburger Menu Button - OPTIMIZED */
.hamburger {
    display: none; /* Hidden by default, shown on mobile via media query */
    position: relative;
    z-index: 6000;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    margin-left: auto; /* Push to the right side */
    cursor: pointer;
    /* Hardware acceleration hint */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    /* Optimized transitions - only transform for performance */
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.2s ease;
    transform-origin: center;
    display: block;
    /* Hardware acceleration */
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Hamburger Animation when active - HIGHLY OPTIMIZED */
.hamburger.active {
    position: fixed;
    right: 1rem;
    top: 31px; /* Center vertically in nav */
    z-index: 6000;
}

/* Use transform only for best performance */
.hamburger.active span:nth-child(1) {
    transform: translate3d(0, 9px, 0) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translate3d(0, -9.8px, 0) rotate(-45deg);
}

/* Mobile Side Menu */
.mobile-menu {
    display: none; /* Hidden by default, shown on mobile via media query */
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    margin-top: 10px;
    background: rgba(15, 15, 15, 0.97);
    z-index: 4000;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -8px 0 16px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    padding-top: 80px;
    overflow-y: auto;
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Active state - */
.mobile-menu.active {
    transform: translate3d(0, 0, 0);
}

/* Mobile Menu Links */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu li {
    opacity: 0;
    /* Use transform3d for GPU acceleration */
    transform: translate3d(30px, 0, 0);
    transition: opacity 0.25s ease, transform 0.25s ease;
    will-change: transform, opacity;
}

.mobile-menu.active li {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Optimized stagger - reduced delays for faster animation */
.mobile-menu.active li:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.11s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.14s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.17s; }

.mobile-menu a {
    display: block;
    padding: 1.2rem 2rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    border-left: 4px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(33, 150, 243, 0.15);
    border-left-color: #2196f3;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    /* Use transform for GPU acceleration */
    transform: translateZ(0);
    transition: opacity 0.25s ease, visibility 0.25s ease;
    will-change: opacity;
    /* Performance hints */
    -webkit-tap-highlight-color: transparent;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   23. RESPONSIVE MENU VISIBILITY
   ================================== */

/* Desktop: Hide hamburger and mobile menu, show desktop nav */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-overlay {
        display: none !important;
    }
    
    nav > ul {
        display: flex !important;
    }
}

/* Mobile: Hide desktop nav, show hamburger */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    nav > ul {
        display: none !important;
    }
    
    /* Show hamburger button */
    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 6000;
    }
    
    /* Ensure mobile menu is ready */
    .mobile-menu {
        display: flex !important;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Remove heavy effects on mobile */
    nav .main-nav  {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    /* Ensure smooth scrolling */
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

/* Prevent body scroll when menu is open - works on all screen sizes */
body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

/* High performance mode for low-end devices */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
    /* Keep animations but optimize them */
    .hamburger span,
    .mobile-menu,
    .mobile-menu li {
        /* Use shorter durations on mobile */
        transition-duration: 0.2s;
    }
}

/* Accessibility - reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hamburger span,
    .mobile-menu,
    .mobile-menu li,
    .mobile-overlay {
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   24. UTILITY STYLES
   ================================== */

#ourservices,#contactForm,#contactCard {
    scroll-margin-top: 8rem; 
}

/* ===================================
   25. RESPONSIVE DESIGN
   ================================== */

@media (max-width: 1024px) {
    /* 3-column becomes 2-column on tablets */
    .features,
    .services-grid,
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .index-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile adjustments */
    body {
        padding-top: 0;
    }
    
    .main-content-area {
        padding-top: 85px;
    }
    
    nav.main-nav  {
        height: 85px;
        padding: 0 1rem;
    }

    .nav-brand{
        font-size: 1.2rem;
    }
    
    .logo {
        height: 60px;
    }
    
    .heroheader {
        height: 85px;
    }
    
    .hero {
        height: 600px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-md);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Center buttons and adjust spacing in mobile */
    .hero-content .cta-button {
        margin: var(--spacing-lg) auto;
        display: block;
        text-align: center;
        width: fit-content;
    }
    
    .hero-content .cta-button-secondary {
        display: flex;
        justify-content: center; /* Horizontal alignment */
        margin-top: -1rem;
    }
    
    /* All grids become single column on mobile */
    .features,
    .services-grid,
    .contact-cards-grid,
    .steps-container,
    .stats,
    .quick-links-grid,
    .gallery-grid,
    .index-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-content p,.paragraph p {
        font-size: 1.1rem !important;
    }

    .about-content strong,.paragraph strong {
        font-size: 1.1rem !important;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .trust-banner {
        font-size: 1.1rem;
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .step-item {
        padding-left: var(--spacing-md);
        padding-top: 3.5rem;
    }
    
    .step-item .step-number {
        margin-left: var(--spacing-md);
        transform: translateX(-50%);
        top: var(--spacing-xs);
    }
    
    .container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .founder-message p {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) {
    body {
        padding-top: 0;
    }
}


/* ===================================
   ANIMATION STYLES
   ================================== */

/* ===================================
   1. SCROLL REVEAL ANIMATIONS
   ================================== */

/* Base state for reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fade up animation */
.reveal-on-scroll.fade-up {
    transform: translateY(50px);
}

.reveal-on-scroll.fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in animation */
.reveal-on-scroll.fade-in {
    transform: scale(0.95);
}

.reveal-on-scroll.fade-in.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Zoom in animation */
.reveal-on-scroll.zoom-in {
    transform: scale(0.8);
}

.reveal-on-scroll.zoom-in.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ===================================
   2. NAVIGATION ANIMATIONS
   ================================== */

nav.main-nav  {
    transition: all 0.3s ease;
}

nav.main-nav .scrolled {
    background: rgba(51, 51, 51, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav.main-nav  a {
    position: relative;
    overflow: hidden;
}

nav.main-nav  a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2196f3;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav.main-nav  a:hover::after,
nav.main-nav  a.active::after {
    width: 80%;
}
/* Brand Name animations */
nav.main-nav  .nav-brand a::after,
nav.main-nav  .nav-brand a::before,
nav.main-nav  .nav-brand a:hover::after,
nav.main-nav  .nav-brand a:hover::before {
    content: none !important;
    width: 0 !important;
}


/* ===================================
   3. HERO SECTION ANIMATIONS
   ================================== */

.hero {
    transition: transform 0.3s ease-out;
}

.hero-content h1 {
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .cta-button, .cta-button-secondary {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   4. BUTTON ANIMATIONS
   ================================== */

.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3); 
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover, .cta-button-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.cta-button.pulse {
    animation: pulse 1s;
}

button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

/* Loading button state */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 20px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   5. CARD ANIMATIONS
   ================================== */

.feature-box,
.service-card,
.stat-box,
.info-box {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card,
.feature-box {
    transform-style: preserve-3d;
}

.service-card:hover,
.feature-box:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-box {
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-box:hover .stat-number {
    transform: scale(1.1);
}

.stat-number {
    transition: transform 0.3s ease;
}

/* ===================================
   6. FORM ANIMATIONS
   ================================== */

.form-group input,
.form-group textarea,
.form-group select {
    transition: all 0.3s ease;
    border: 2px solid #ddd;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group label {
    transition: color 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label {
    color: #2196f3;
}

/* Error shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-shake {
    animation: shake 0.5s;
    border-color: #e74c3c !important;
}

/* ===================================
   7. NOTIFICATION SYSTEM
   ================================== */

.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 300px;
    max-width: 500px;
}

.notification.show {
    top: 20px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: #2ecc71;
    color: white;
}

.notification-error .notification-icon {
    background: #e74c3c;
    color: white;
}

.notification-message {
    flex: 1;
    font-size: 0.95rem;
}

/* ===================================
   8. MODAL / LIGHTBOX
   ================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-content {
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.modal-body h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

/* ===================================
   9.SCROLL TO TOP BUTTON
   ================================== */

.scroll-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #2196f3;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 999;
    padding: 0;
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.scroll-to-top.show {
    bottom: 30px;
}

.scroll-to-top:hover {
    background: #1D8DD9;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

/* ===================================
   10. PAGE LOAD ANIMATION
   ================================== */

body {
    transition: opacity 0.5s ease;
}

/* ===================================
   11. ICON ANIMATIONS
   ================================== */

.feature-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

/* ===================================
   12. TEXT ANIMATIONS
   ================================== */

h1, h2, h3 {
    transition: color 0.3s ease;
}

.service-card h3 {
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    transform: translateX(5px);
}


/* ===================================
   13. RESPONSIVE ANIMATIONS
   ================================== */

@media (max-width: 768px) {
    .notification {
        min-width: 90%;
        max-width: 90%;
    }
    
    .scroll-to-top {
        right: 15px;
    }
    
    .scroll-to-top.show {
        bottom: 15px;
    }
}

/* ===================================
   14. UTILITY ANIMATIONS
   ================================== */

.bounce {
    animation: bounce 2s infinite;
}

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

.rotate {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}   