main/* ==================================================================== */
/* 1. GLOBAL RESET AND MICROSOFT/AI-INSPIRED BASE STYLES */
/* ==================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Use Segoe UI as the primary font */
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
}

/* General Body - Microsoft Style with AI Colors */
body {
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    /* Updated Background Gradient */
    background: linear-gradient(135deg, #faf9f8 0%, #f3f2f1 50%, #edebe9 100%);
    background-attachment: fixed;
    color: #323130;
    line-height: 1.3;
    overflow-x: hidden;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    position: relative;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header with Logo - Microsoft Style */
header {
    background: linear-gradient(135deg, #ebf0ee 0%, #00773f 100%);
    /* padding: 8px 0; */
    min-height: 10px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    overflow: hidden;
    animation: fadeInDown 0.8s ease-out;
    width: 100%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 120, 212, 0.15);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Wrapper */
.content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 10vh;
}

/* Animated Banner */
.animated-banner {
    background-color: transparent; /* Changed from original file's background */
    /* padding: 10px 0; */
    width: 100%;
}

.banner-text {
    font-family: 'Inter', system-ui, sans-serif;
    color: #edeeee;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
    display: inline-block;
    animation: slideText 25s linear infinite;
    letter-spacing: 0.4px;
}

@keyframes slideText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Logo and Container */
.logo-container {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 10px 25px;
    border-radius: 0;
    display: inline-block;
    box-shadow: none;
    /* margin: 1px auto; */
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFadeIn 1s ease-out, logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15))
            drop-shadow(0 4px 12px rgba(0, 120, 212, 0.2))
            brightness(1.05);
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto;
    opacity: 1;
    background: transparent;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.logo:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2))
            drop-shadow(0 6px 20px rgba(0, 120, 212, 0.3))
            brightness(1.1);
    animation-play-state: paused;
}

.header-text h1 {
    margin: 0;
    font-size: 30px;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-text p {
    margin: 0;
    font-size: 15px;
    color: #c0e0c0;
    font-weight: 300;
}

/* Vertical Sidebar Navigation - Microsoft Style */
nav {
    background: linear-gradient(135deg, #faf9f8 0%, #f3f2f1 50%, #edebe9 100%);
    width: 240px;
    min-height: 100vh;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.1),
                inset -1px 0 0 rgba(0, 120, 212, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    /* animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1); */
    overflow-y: auto;
    border-right: 1px solid rgba(0, 120, 212, 0.15);
    backdrop-filter: blur(10px);
}

/* Animated nav background */
nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(7, 119, 69, 0.1) 0%,
        transparent 50%,
        rgba(139, 92, 246, 0.1) 100%);
    pointer-events: none;
    /* animation: navGlow 4s ease-in-out infinite; */
}
/* 
@keyframes navGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} */



/* Navigation Logo Section Divider */
nav::before {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 20px 20px 20px;
}

/* Nav Link Styling */
nav a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    margin: 2px 10px;
    border-radius: 0 20px 20px 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    font-size: 14px;
    letter-spacing: 0.3px;
    border-left: 3px solid transparent;
    z-index: 1;
    overflow: hidden;
}

/* Nav link primary background highlight */
nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #022110 0%, #5acd77 50%, #599376 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(0, 120, 212, 0.4);
}

/* Nav link secondary background highlight */
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(0, 120, 212, 0.06) 0%,
        rgba(106, 90, 205, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

nav a:hover {
    color: #0078d4;
    transform: translateX(6px) scale(1.01);
    box-shadow: -2px 0 8px rgba(0, 120, 212, 0.12),
                inset 0 0 12px rgba(0, 120, 212, 0.05);
    background: linear-gradient(135deg, #ebf0ee 0%, #00773f 100%);
}

nav a:hover::before {
    transform: scaleY(1);
    box-shadow: 0 0 10px rgba(5, 50, 17, 0.5);
}

nav a:hover::after {
    opacity: 1;
}

/* Active link styling for navigation */
nav a.active {
    background: linear-gradient(90deg,
        rgba(6, 63, 15, 0.1) 0%,
        rgba(100, 205, 90, 0.08) 100%);
    color: #0078d4;
    font-weight: 600;
    box-shadow: -2px 0 12px rgba(0, 120, 212, 0.15),
                inset 0 0 15px rgba(0, 120, 212, 0.06);
}

nav a.active::before {
    transform: scaleY(1);
    box-shadow: 0 0 12px rgba(9, 87, 5, 0.6);
}

/* Add animated arrow to nav items */
nav a::after {
    content: '→';
    margin-left: auto;
    opacity: 0;
    transform: translateX(-12px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    color: #0078d4;
    z-index: 2;
}

nav a:hover::after,
nav a.active::after {
    opacity: 1;
    transform: translateX(0) scale(1.2);
}

/* Sections */
section, main {
    padding: 5px ; */
    max-width: 1200px;
    margin-left: 240px; /* Account for sidebar width */
    margin-right: auto;
    /* animation: fadeInUp 0.8s ease-out; */
    
    width: calc(100% - 240px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Section Headings */
section h3, main h3 {
    text-align: center;
    /* margin-bottom: 10px; */
}

section h2, main h2{
    color: #000000;
    /* margin-bottom: 15px; */
    font-size: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    animation: slideInLeft 0.8s ease-out;
    background: linear-gradient(135deg, #000000 0%, #060606 50%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* Paragraphs */
p {
    line-height: 1.4;
    margin-bottom: 10px;
    /* animation: fadeIn 0.8s ease-out; */
    color: #475569;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Unordered Lists (for index.html) */
main ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

main ul li {
    padding: 10px 15px 10px 20px;
    margin-bottom: 8px;
    background: linear-gradient(90deg,
        rgba(0, 120, 212, 0.04) 0%,
        rgba(106, 90, 205, 0.03) 50%,
        rgba(0, 183, 195, 0.03) 100%);
    border-left: 3px solid #0078d4;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInListItem 0.6s ease-out forwards;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 120, 212, 0.12);
    color: #323130;
    line-height: 1.4;
}

main ul li:nth-child(1) { animation-delay: 0.1s; }
main ul li:nth-child(2) { animation-delay: 0.2s; }
main ul li:nth-child(3) { animation-delay: 0.3s; }
main ul li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInListItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

main ul li:hover {
    transform: translateX(10px) scale(1.01);
    background: linear-gradient(90deg,
        rgba(0, 120, 212, 0.08) 0%,
        rgba(106, 90, 205, 0.06) 50%,
        rgba(0, 183, 195, 0.06) 100%);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.12),
                inset 0 0 20px rgba(0, 120, 212, 0.04);
    border-left-width: 4px;
    border-left-color: #6a5acd;
}

/* Tables */
table {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    margin: 30px auto;
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

table th, table td {
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    text-align: left;
    transition: background-color 0.3s ease;
    line-height: 1.3;
}

table th {
    background: linear-gradient(135deg,
        #0078d4 0%,
        #6a5acd 50%,
        #00b7c3 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-color: rgba(0, 120, 212, 0.3);
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 13px;
}

table tr {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

table tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 120, 212, 0.1);
    background: rgba(0, 120, 212, 0.04);
}

table tr:nth-child(even):hover {
    background: rgba(0, 120, 212, 0.06);
}

table td {
    color: #0d0d0d;
    font-size: 14px;
}

table tr:nth-child(even) {
    background: rgba(0, 120, 212, 0.02);
}

table tr:nth-child(even):hover {
    background: rgba(0, 120, 212, 0.06);
}

table td {
    color: #0f0e0e;
}

/* ====================================================================
/* 2. CONTACT PAGE SPECIFIC STYLING (The area you were primarily working on) */
/* ==================================================================== */

/* Contact Section Container */
.contact-section {
     /* padding: 40px 20px;  */
    /* background: transparent; Changed for new body background */
    background-color: #feffff;
    padding: 0px 0px;
}

/* Contact Form Styling */
.contact-form {
    padding: 0; /* Adjusted padding */
}

.contact-form h3 {
    /* Trending Font + Modern Styling */
    font-family: 'Inter', sans-serif;
    font-size: 1.8em; /* Adjusted size for prominence */
    font-weight: 700;
     text-align: left; 
    
    /* New Gradient Heading */
    background: linear-gradient(135deg, #0078d4 0%, #6a5acd 50%, #00b7c3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* Space Reduction */
    margin-top: 0;
    /* margin-bottom: 20px; */
}

.contact-form form {
    /* Adjusted Gradient Background for professional look */
    background: linear-gradient(135deg,
        rgba(174, 171, 171, 0.98) 0%, /* Lighter background */
        rgba(250, 249, 248, 0.95) 100%);
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 120, 212, 0.15);
    max-width: 650px;
    margin: 20px auto 40px auto,left 20px;
    border: 2px solid rgba(0, 120, 212, 0.15);
    backdrop-filter: blur(10px);
}

/* Contact Info Cards Grid */
.contact-info {
    display: grid;
    /* background-color: #00FFFF; */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5px;
    /* margin: 25px 0; */
    justify-content: center; /* Ensures center alignment in contact section */
    flex-wrap: wrap; /* Added for responsiveness on smaller screens */
}

.contact-info-item {
    background-color: #f7fdf9; /* Lighter background */
    border-radius: 12px;
    padding: 5px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 120, 212, 0.1);
}

.contact-info-item:hover {
    background-color: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.15);
}

/* Icon Styling - Reverted to Individual Colors based on original comment */
.contact-info-item i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    /* Reset text-fill properties to allow 'color' to work */
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.icon-phone { color: #007bff; }
.icon-email { color: #EA4335; }
.icon-address { color: #34A853; }
/* End of Icon Styling Revert */


.contact-info-item p {
    margin: 8px 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
}

.contact-info-item strong {
    color: #0078d4;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

/* Form Element Styling (Adjusted for smaller size) */
 .contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select {

width: 50%;
  padding: 1px 12px;
    /* Key change: Reduced margin */
    margin-bottom: 8px;
    border: 2px solid rgba(0, 120, 212, 0.2);
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #323130;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    line-height: normal;



}





.contact-form textarea {
    width: 100%;
    /* Key change: Reduced padding */
    padding: 1px 12px;
    /* Key change: Reduced margin */
    margin-bottom: 8px;
    border: 2px solid rgba(0, 120, 212, 0.2);
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #323130;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    line-height: normal;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #0078d4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.12),
                0 4px 12px rgba(106, 90, 205, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 15px;
}

 /*Submit Button Styling (Adjusted for smaller size)*/
.contact-form button[type="submit"] {
    background: linear-gradient(135deg,
        #0078d4 0%,
        #6a5acd 50%,
        #00b7c3 100%);
    color: white;
    /* Key change: Reduced padding */
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.25),
                0 0 0 1px rgba(0, 120, 212, 0.2);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-form button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form button[type="submit"]:hover {
    background: linear-gradient(135deg,
        #6a5acd 0%,
        #0078d4 50%,
        #00b7c3 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.35),
                0 0 0 2px rgba(106, 90, 205, 0.3),
                0 0 40px rgba(0, 183, 195, 0.25);
}

.contact-form button[type="submit"]:active {
    transform: translateY(-1px);
} */

/* Map Frame Styling - Professional */
main iframe {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                0 0 0 2px rgba(0, 120, 212, 0.15);
    margin: 25px auto;
    display: block;
    border: 2px solid rgba(0, 120, 212, 0.15);
    transition: all 0.3s ease;
}

main iframe:hover {
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.2),
                0 0 0 3px rgba(106, 90, 205, 0.25);
    transform: translateY(-3px);
}

/* Social Icons Animation - Professional Style */
.social-icons-container {
    margin: 25px 0;
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(250, 249, 248, 0.9) 50%,
        rgba(243, 242, 241, 0.9) 100%);
    border-radius: 16px;
    border: 2px solid rgba(0, 120, 212, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.social-icons-container h4 {
    /* Adjusted font to Inter as requested */
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #0078d4 0%, #6a5acd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icons-container i {
    font-size: 36px;
    margin: 0 10px; /* Reduced margin */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(0, 120, 212, 0.2));
    animation: iconPulse 2s ease-in-out infinite;
    padding: 8px; /* Reduced padding */
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(0, 120, 212, 0.15);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.social-icons-container i:hover {
    transform: translateY(-8px) scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(0, 120, 212, 0.4));
    animation-play-state: paused;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(106, 90, 205, 0.3);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.25);
}

/* ==================================================================== */
/* 3. ADDITIONAL PAGE/COMPONENT STYLING */
/* ==================================================================== */

/* Video Styling */
video {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(99, 102, 241, 0.3),
                0 0 40px rgba(99, 102, 241, 0.2);
    margin: 20px auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(99, 102, 241, 0.3);
}

video:hover {
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5),
                0 0 0 2px rgba(139, 92, 246, 0.5),
                0 0 60px rgba(99, 102, 241, 0.4);
    transform: scale(1.03) translateY(-5px);
    border-color: rgba(139, 92, 246, 0.6);
}

/* Footer - Microsoft Style */
footer {
    /* background: linear-gradient(135deg,
        #0078d4 0%,
        #6a5acd 50%,
        #00b7c3 100%); */
     background: linear-gradient(135deg, #ebf0ee 0%, #00773f 100%);
    color: white;
    text-align: center;
    padding: 12px;
    /* margin-top: 20px; */
    margin-left: 240px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
    width: calc(100% - 240px);
    border-top: 1px solid rgba(0, 120, 212, 0.3);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.15),
        transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

footer p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Page Images */
.page-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(59, 130, 246, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    animation: imageFadeIn 1.2s ease-out forwards;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

@keyframes imageFadeIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.page-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 12px 36px rgba(59, 130, 246, 0.25),
                0 0 0 2px rgba(37, 99, 235, 0.3),
                0 0 40px rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    border-color: rgba(37, 99, 235, 0.4);
}

/* Download Button Styles */
.download-container {
    text-align: center;
    margin-top: 20px;
}

.download-button {
    display: inline-block;
    background: linear-gradient(135deg, #0073e6 0%, #005bb5 100%);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    padding: 12px 24px;
    max-width: fit-content;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.3);
    position: relative;
    overflow: hidden;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-button:hover::before {
    width: 300px;
    height: 300px;
}

.download-button:hover {
    background: linear-gradient(135deg, #052e16 0%, #004d26 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(5, 46, 22, 0.4);
}

/* ==================================================================== */
/* 4. NAVIGATION SPECIFIC COLORING & TYPOGRAPHY */
/* ==================================================================== */

/* --- First-Letter Coloring --- */
nav a:nth-child(1)::first-letter { color: #FF5733; font-size: 1.2em; font-weight: bold; } /* Home (H) - Red */
nav a:nth-child(2)::first-letter { color: #33FF57; font-size: 1.2em; font-weight: bold; } /* Managed (M) - Green */
nav a:nth-child(3)::first-letter { color: #3357FF; font-size: 1.2em; font-weight: bold; } /* Integrated (I) - Blue */
nav a:nth-child(4)::first-letter { color: #FFD700; font-size: 1.2em; font-weight: bold; } /* Network (N) - Yellow/Gold */
nav a:nth-child(5)::first-letter { color: #00FFFF; font-size: 1.2em; font-weight: bold; } /* Development (D) - Cyan */
nav a:nth-child(6)::first-letter { color: #A133FF; font-size: 1.2em; font-weight: bold; } /* Contact (C) - Purple */

/* M.I.N.D. Tech Solutions link style */
.mind-title a { color: #1976D2; font-weight: bold; text-decoration: none; }
.mind-title a:hover { text-decoration: underline; }
.mind-list { list-style: none; padding: 0; }
.mind-link { display: block; text-decoration: none; color: #333; padding: 8px 0; font-size: 15px; }
.mind-link:hover { color: #1976D2; }

/* Individual Letter Colors (M.I.N.D.) */
.letter-m { color: #1976D2; font-weight: bold; }
.letter-i { color: #388E3C; font-weight: bold; }
.letter-n { color: #F57C00; font-weight: bold; }
.letter-d { color: #7B1FA2; font-weight: bold; }

/* Page Title Colors */
/* .page-title { font-weight: bold; font-size: 28px; margin-bottom: 15px; }
.page-title.managed { color: #1976D2; }
.page-title.integrated { color: #7B1FA2; }
.page-title.network { color: #D2691E; }
.page-title.development { color: #D32F2F; } */

/* Individual Nav Link Colors */
nav a.home { color: #0e4304; font-weight: bold; font-size: 15px; }
nav a.managed { color: #1976D2; font-weight: bold; font-size: 15px; }
nav a.integrated { color: #7B1FA2; font-weight: bold; font-size: 15px; }
nav a.network{ color: #D2691E; font-weight: bold; font-size: 15px; }
nav a.development{ color: #D32F2F; font-weight: bold; font-size: 15px; }
nav a.contact { color: #031907; font-weight: bold; font-size: 15px; }

/* ==================================================================== */
/* 5. MOBILE RESPONSIVE MEDIA QUERIES */
/* ==================================================================== */

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    nav {
        width: 100%;
        min-height: auto;
        position: relative;
        padding: 15px 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        animation: slideDown 0.6s ease-out;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-right: none;
        border-bottom: 1px solid rgba(0, 120, 212, 0.15);
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-100%); }
        to { opacity: 1; transform: translateY(0); }
    }

    nav::before, nav::after {
        display: none;
    }

    nav a {
        margin: 5px 8px;
        padding: 10px 15px;
        font-size: 14px;
        border-left: none;
        border-radius: 8px; /* Rounded corners for buttons */
        border-bottom: 3px solid transparent;
        transform: translateX(0) scale(1);
        box-shadow: none;
        background: transparent;
    }

    nav a::before, nav a::after {
        display: none;
    }

    nav a:hover {
        transform: translateY(-2px);
        background: rgba(0, 120, 212, 0.08); /* subtle hover background */
        border-bottom-color: #00cc66;
        box-shadow: 0 4px 8px rgba(0, 120, 212, 0.1);
    }

    nav a.active {
        border-left: none;
        border-bottom: 3px solid #00cc66; /* green underline */
        padding-bottom: 6px;
        font-weight: 600;
        background: rgba(0, 120, 212, 0.1); /* subtle active background */
    }

    section, main {
        margin-left: 0;
        width: 100%;
        padding: 20px 15px;
    }

    footer {
        margin-left: 0;
        width: 100%;
    }

    .banner-text {
        font-size: 12px;
    }

    section h2, main h2 {
        font-size: 22px;
        text-align: center;
    }
    
    section h2::after, main h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .page-image {
        margin: 20px auto;
    }
    
    /* Responsive Contact Card Grid */
    .contact-info {
        grid-template-columns: 1fr; /* Stack cards vertically on mobile */
        gap: 15px;
    }
    
    /* Responsive Table - Card View */
    table, thead, tbody, th, td, tr {
        display: block;
    }
    th {
        display: none;
    }
    td {
        border: none;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }
    td:before {
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label);
        font-weight: bold;
        color: #004d26;
        text-align: left;
    }

}
.page-title {
  font-weight: 700;
  font-size: 28px;
  /* margin-bottom: 5px;
  padding-bottom: 5px; */
  animation: slideInLeft 0.8s ease-out;

  /* IMPORTANT: make sure text color works */
  -webkit-text-fill-color: initial;
  background: none;
}

/* M - Managed */
.page-title.managed {
  color: #1976D2;
}

/* I - Integrated */
.page-title.integrated {
  color: #7B1FA2;
}

/* N - Network */
.page-title.network {
  color: #D2691E;
}

/* D - Development */
.page-title.development {
  color: #D32F2F;
}

/* CONTACT CARDS */
        .contact-info {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .contact-info-item {
            background-color: #d0d9d2;
            border-radius: 12px;
            padding: 20px;
            width: 300px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .contact-info-item:hover {
            background-color: #81b990;
            transform: translateY(-6px);
            box-shadow: 0 10px 25px rgba(0, 100, 0, 0.15);
        }
      /* ==================================================================== */
/* 6. ICON/SPAN NAVIGATION LAYOUT STYLES (Added for new HTML structure) */
/* ==================================================================== */

/* Apply Flexbox to align icon and text horizontally */
nav a {
    /* Existing: display: flex; align-items: center; */
    /* Ensure existing flex properties are kept to handle alignment */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Ensure everything starts at the beginning */
    gap: 10px; /* Space between the icon and the text */
}

/* Style for the icon image */
.nav-link-icon {
    width: 20px; /* Set a fixed size for the icon */
    height: 20px;
    object-fit: contain; /* Ensures the image scales properly without cropping */
    flex-shrink: 0; /* Prevents the icon from shrinking on small screens */
    /* Optional: Add a subtle filter/shadow for the Microsoft look */
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

/* Style for the text span, ensures text can wrap if necessary (though unlikely in a sidebar) */
nav a span {
    flex-grow: 1; /* Allows the text to take up the remaining space */
    line-height: 1; Ensures text aligns well with the icon
}

/* Enhance hover effects for the icon */
nav a:hover .nav-link-icon,
nav a.active .nav-link-icon {
    /* Scale and slightly move the icon on hover/active */
    transform: scale(1.1) rotate(-5deg);
}

/* M.I.N.D. Tech Solutions list style */
.mind-list {
  list-style: none;
  padding: 0;
  /* margin: 5px 0; Reduced top/bottom margin for the whole list */
}

.mind-list li {
    /* Add a rule for the <li> element to control vertical spacing */
    margin-bottom: 1px; /* Reduced vertical space between list items */
}

.mind-link {
  display: block; 
  text-decoration: none; 
  color: #333; 
  padding: 1px 0; /* Reduced top/bottom padding inside the link */
  font-size: 15px;
  line-height: 1.2; /* Tighter line spacing within each link text */
}

.mind-link:hover { 
  color: #1976D2; 
}

.contact-section h3{
    color: rgb(3, 99, 11);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 25px;
    font-weight: 600;
}

/*search bar*/

.site-search {
  margin-left: auto;
  padding-left: 15px;
}

.site-search input {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 13px;
  outline: none;
}

.site-search input:focus {
  border-color: #1976D2;
}

/* new add */

/* --- NEW A TAG STYLES FOR SERVICE CARDS --DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD- */

 .service-card {
    /* Existing styles remain here...*/

    text-decoration: none; /* Remove the default underline */
    color: inherit; /* Inherit the white text color from the parent banner*/ 
    display: flex; /* Helps structure content inside the link */
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}  
/* --- COLOR PALETTE DEFINITIONS --- */
/* Based on the blue/green tech image concept */

:root {
    --color-primary: #cd1313;       /* Deep Blue for main text/accents */
     --color-secondary: #090909;     /* Teal/Cyan for hover/highlight */
    --color-background: #aeb8da;    /* Pure White background */
    --color-text-dark: #000000;    /* Dark Grey for body text */
  
}

/* Base Styles & Typography */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-background); /* White background */
    color: var(--color-text-dark); /* Dark text for contrast */
}

--- HERO BANNER STYLES ---
.hero-banner {
    position: relative;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-background); /* Change to White */
    color: var(--color-text-dark); /* Change text to Dark */
    text-align: center;
    padding: 25px;
    /* Add a subtle bottom border or shadow for separation */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); 
}

.content-container {
    position: relative;
    padding: 0px;
    z-index: 10; 
    max-width: 1200px;
    width: 100%;
    
}

/* --- ANIMATED BACKGROUND (Subtle for white background) --- */

/* Keyframes remain the same */
@keyframes background-pan {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use very light, subtle colors for the animated background gradient */
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.9), /* Almost transparent white */
        rgba(30, 58, 138, 0.05), /* Very light primary blue */
        rgba(30, 58, 138, 0.05),
        rgba(255, 255, 255, 0.9)
    );
    background-size: 400% 400%;
    opacity: 1; /* Needs to be fully opaque since the colors are light */
    animation: background-pan 30s ease infinite alternate;
}


/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    /* Updated background and border for white context */
    background-color: #f9f9f9; /* Off-white card background */
    border: 1px solid #e0e0e0; /* Subtle border */
    text-decoration: none; /* Inherited from previous update */
    color: var(--color-text-dark); /* Ensure text is dark */
    
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer; /* Change from default */
}

.service-card i {
    font-style: normal;
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
    color: var(--color-secondary); /* Teal/Cyan for icon accent */
    transition: color 0.3s ease;
}

/* --- HOVER ANIMATION (The main effect) --- */

.service-card:hover {
    background-color: var(--color-background); /* White card on hover */
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(229, 240, 237, 0.905); /* Lighter shadow for white background */
    border-color: var(--color-secondary); /* Highlight border with Teal/Cyan */
}

.service-card:hover i,
.service-card:hover h3 {
    color: var(--color-primary); /* Keep text/icon color strong on hover */
}


/* --- RESPONSIVENESS (No changes needed here) --- */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-banner {
        height: auto;
        min-height: 85vh;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .hero-banner h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-banner h1 {
        font-size: 2em;
    }
}
/* Replace the old .service-card i rule with this: */
.custom-icon {
    /* Ensures the image is correctly sized and displayed as a block element */
    width: 30px; /* Adjust size as needed, e.g., 60px wide */
    height: 30px; /* Keep height and width equal for a square icon */
    display: block;
    margin: 0 auto 10px auto; /* Centers the icon and adds bottom margin */
    
    /* You may remove color and transition rules here if your PNGs are full color */
    transition: transform 0.3s ease;
}
.service-card:hover .custom-icon {
    /* Example hover effect: slightly scales the icon */
    transform: scale(1.1); 
    /* Remove color: rule if your images are full color */
}

/* --- INDIVIDUAL HEADING COLORS --- */

/* Managed (Blue) */
#managed h3 {
    color: #1976D2; 
}

/* Integrated (Purple) */
#integrated h3 {
    color: #7B1FA2;
}

/* Network (Orange/Brown) */
#network h3 {
    color: #D2691E;
}

/* Development (Red) */
#development h3 {
    color: #D32F2F;
}

fade-in {
  text-align: left;
}

.page-image {
  max-width: 80%;
  height: auto;

}


/* ==================================================================== */
/* MOBILE RESPONSIVE */
/* ==================================================================== */
@media (max-width: 768px) {

  /* NAVIGATION → TOP BAR */
  nav {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
  }

  nav a {
    padding: 8px 12px;
  }

  /* REMOVE LEFT MARGIN */
  main,
  section,
  footer {
    margin-left: 0;
    width: 100%;
  }

  /* TEXT ADJUSTMENTS */
  .page-title {
    font-size: 22px;
    text-align: center;
  }

  p {
    text-align: center;
  }

  /* CONTACT INFO STACK */
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  /* TABLE → CARD STYLE */
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  th {
    display: none;
  }

  td {
    position: relative;
    padding-left: 50%;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
  }
}

/* ==================================================================== */
/* END OF FILE – MOBILE SAFE */
/* ==================================================================== */

