/* ========================================
   M&T Technology Solutions - Main Styles
   ======================================== */

/* CSS Variables */
:root {
    --teal-dark: #006666;
    --teal-medium: #008080;
    --teal-light: #00A896;
    --cyan-light: #c5f0f6;
}

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   Header Styles
   ======================================== */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: #374151 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--teal-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--teal-light);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        transition: left 0.3s ease-in-out;
        z-index: 9999;
        padding: 20px;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse.show {
        left: 0;
    }
    
    .navbar-collapse.collapsing {
        left: -100%;
        transition: left 0.3s ease-in-out;
    }
    
    .navbar-nav {
        margin-top: 60px;
        width: 100%;
    }
    
    .nav-item {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px 20px !important;
        border-bottom: 1px solid #e5e7eb;
        display: block;
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-item .btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 10000;
        border: none;
        padding: 10px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Hamburger menu icon transitions */
    .navbar-toggler-icon {
        transition: all 0.3s ease;
    }
    
    /* Hide hamburger when menu is open */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
    }
    
    /* Show hamburger when menu is closed */
    .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

/* ========================================
   Hero Slider Styles
   ======================================== */
.hero-slider {
    height: 800px;
    width: 100%;
}

.hero-slide {
    height: 800px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover !important;
    background-position: center center !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 40, 0.5);
    z-index: 1;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-cyan {
    color: #00BCD4;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    background: #00BCD4;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #00ACC1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: #00BCD4;
    opacity: 1;
}

/* Responsive Hero Slider */
@media (max-width: 1199.98px) {
    .hero-slider {
        height: 650px;
    }
    
    .hero-slide {
        height: 650px;
        background-size: cover !important;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .hero-slider {
        height: 550px;
    }
    
    .hero-slide {
        height: 550px;
        background-size: cover !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-hero {
        padding: 12px 30px !important;
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: 500px;
    }
    
    .hero-slide {
        height: 500px;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 10px 25px !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-slider {
        height: 450px;
    }
    
    .hero-slide {
        height: 450px;
        background-size: cover !important;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-subtitle br {
        display: none;
    }
}

/* ========================================
   About Section Styles
   ======================================== */
.about-image-container {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #c5f0f6 0%, #87CEEB 100%);
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-container:hover .about-main-image {
    transform: scale(1.05);
}

.about-tabs-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 10;
    background: rgb(6 128 131);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-tab-btn {
    padding: 15px 25px;
    background: transparent;
    color: white;
    border: none;
    text-align: left;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
}

.about-tab-btn:last-child {
    border-bottom: none;
}

.about-tab-btn:hover {
    background: rgb(6 128 131);
    padding-left: 30px;
}

.about-tab-btn.active {
    background: rgb(6 128 131);
    font-weight: 600;
}

/* About Content Cards */
.about-content-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.about-card-border {
    width: 5px;
    background: linear-gradient(180deg, #00BCD4 0%, #006666 100%);
    flex-shrink: 0;
}

.about-card-content {
    padding: 20px 25px;
    flex: 1;
}

.about-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.about-card-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive About Section */
@media (max-width: 991.98px) {
    .about-image-container {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .about-tabs-overlay {
        top: 15px;
        left: 15px;
    }
    
    .about-tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 130px;
    }
}

@media (max-width: 767.98px) {
    .about-image-container {
        height: 350px;
    }
    
    .about-card-content {
        padding: 15px 20px;
    }
    
    .about-card-title {
        font-size: 16px;
    }
    
    .about-card-text {
        font-size: 14px;
    }
}

/* ========================================
   Scope Section - New Design
   ======================================== */
.scope-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.scope-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.scope-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.scope-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scope-card:hover .scope-image {
    transform: scale(1.05);
}

.scope-overlay {
    position: absolute;
    top: 6%;
    left: 0;
    width: 85%;
    padding: 0;
}

.scope-title {
    background: rgba(0, 128, 128, 0.95);
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 15px 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hover Overlay */
.scope-hover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s ease;
    z-index: 10;
    max-height: 80%;
    overflow-y: auto;
}

.scope-card:hover .scope-hover-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scope-card:hover .scope-overlay {
    opacity: 0;
}

.scope-hover-content {
    padding: 25px;
    text-align: left;
}

.scope-hover-title {
    color: #008080;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.scope-hover-desc {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.scope-content {
    display: none;
}

.scope-description {
    display: none;
}

/* Responsive Scope Section */
@media (max-width: 991.98px) {
    .scope-image-wrapper {
        height: 300px;
    }
    
    .scope-title {
        font-size: 16px;
        padding: 12px 18px;
    }
    
    .scope-hover-content {
        padding: 20px;
    }
    
    .scope-hover-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .scope-hover-desc {
        font-size: 13px;
    }
    
    .scope-hover-overlay {
        max-height: 65%;
    }
}

@media (max-width: 767.98px) {
    .scope-image-wrapper {
        height: 280px;
    }
    
    .scope-title {
        font-size: 15px;
        padding: 10px 15px;
    }
    
    .scope-hover-content {
        padding: 18px;
    }
    
    .scope-hover-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .scope-hover-desc {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .scope-hover-overlay {
        max-height: 60%;
    }
}

/* ========================================
   Services Section Styles - New Design
   ======================================== */
.service-row-new {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.service-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-row-new:hover .service-bg-image {
    opacity: 1;
}

.service-dark .service-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 50, 0.85);
}

.service-light .service-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
}

.service-dark {
    background: #ffffff;
}

.service-light {
    background: white;
}

.service-row-new.service-dark:hover .service-title,
.service-row-new.service-dark:hover .service-desc {
    color: white !important;
}

.service-row-new.service-light:hover .service-title {
    color: #1a1a1a !important;
}

.service-row-new.service-light:hover .service-desc {
    color: #333 !important;
}

.service-row-new .container {
    position: relative;
    z-index: 1;
}

.service-dark .service-title {
    color: #1a1a1a;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    transition: color 0.5s ease;
}

.service-light .service-title {
    color: #1a1a1a;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    transition: color 0.5s ease;
}

.service-dark .service-desc {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    transition: color 0.5s ease;
}

.service-light .service-desc {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    transition: color 0.5s ease;
}

/* Responsive Services */
@media (max-width: 991.98px) {
    .service-row-new {
        padding: 60px 0;
    }
    
    .service-title {
        font-size: 2.2rem !important;
        margin-bottom: 20px;
    }
    
    .service-desc {
        font-size: 1rem !important;
    }
}

@media (max-width: 767.98px) {
    .service-row-new {
        padding: 50px 0;
    }
    
    .service-title {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
    }
    
    .service-desc {
        font-size: 0.95rem !important;
    }
}

/* ========================================
   Systems Section Styles - New Design
   ======================================== */
.systems-tabs-new {
    background: #1a3838;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.system-tab-btn {
    background: #1a3838;
    color: white;
    border: none;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 150px;
}

.system-tab-btn:last-child {
    border-right: none;
}

.system-tab-btn:hover {
    background: #00A896;
}

.system-tab-btn.active {
    background: #00A896;
}

.system-content-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin-bottom: 20px !important;
}

.system-content-text {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.9;
    letter-spacing: 0%;
    color: #000;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.system-content-text strong {
    font-weight: 700;
    color: #000;
}

#system-content-row {
    transition: all 0.5s ease;
    gap: 4rem;
}

.system-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    height: 350px;
    max-width: 100%;
}

.system-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    opacity: 1;
}

.system-image-wrapper:hover .system-image {
    transform: scale(1.05);
}

/* Responsive Systems */
@media (max-width: 1200px) {
    .system-image-wrapper {
        height: 320px;
    }
    
    .system-content-text {
        font-size: 15px;
    }
    
    #system-content-row {
        gap: 4rem;
    }
}

@media (max-width: 991.98px) {
    .system-tab-btn {
        font-size: 14px;
        padding: 15px 18px;
        min-width: 120px;
    }
    
    .system-content-title {
        font-size: 1.6rem;
    }
    
    .system-content-text {
        font-size: 14px;
    }
    
    .system-image-wrapper {
        height: 280px;
    }
    
    #system-content-row {
        gap: 30px;
    }
}

@media (max-width: 767.98px) {
    .system-tab-btn {
        font-size: 13px;
        padding: 12px 15px;
        flex: 1 1 50%;
        min-width: auto;
    }
    
    .system-content-title {
        font-size: 1.4rem;
    }
    
    .system-content-text {
        font-size: 13px;
    }
    
    .system-image-wrapper {
        height: 240px;
    }
    
    #system-content-row {
        gap: 20px;
    }
}

/* ========================================
   Partners Swiper Section
   ======================================== */
.partner-slide-card {
    background: white;
    padding: 30px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.partner-slide-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.partner-slide-card:hover .partner-slide-logo {
    filter: grayscale(0%);
}

.partnersSwiper {
    padding: 20px 0;
}

.partnersSwiper .swiper-slide {
    height: auto;
}

/* ========================================
   Success Stories Section
   ======================================== */

#successsection {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding-top: 0;
    padding-bottom: 60px;
}

#successsection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00BCD4 0%, #00ACC1 100%);
    clip-path: polygon(51% 9%, 100% 18%, 100% 100%, 0 100%, 0 0);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.success-section {
    background: transparent;
    position: relative;
    z-index: 1;
    padding-top: calc(9% + 10px);
}

.success-section .container {
    position: relative;
    z-index: 2;
}

.success-card {
    background: white !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white !important;
}

.success-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.success-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-card:hover .success-card-image img {
    transform: scale(1.05);
}

.success-card-body {
    padding: 20px;
    flex: 1;
    background: white !important;
}

.success-badge {
    background: #E0F7FA;
    color: #00838F;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.success-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.success-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-scope h6,
.success-benefits h6 {
    font-size: 14px;
    color: #000;
}

.success-scope h6 i,
.success-benefits h6 i {
    color: #00BCD4;
}

.success-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-list li {
    font-size: 13px;
    color: #555;
    padding-left: 20px;
    margin-bottom: 8px;
    position: relative;
    line-height: 1.5;
}

.success-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00BCD4;
    font-weight: bold;
}

/* Success Stories Swiper */
.successSwiper {
    padding: 20px 0 60px 0;
    position: relative;
}

.successSwiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.successSwiper .success-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.successSwiper .success-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Navigation Arrows */
.success-next,
.success-prev {
    width: 50px;
    height: 50px;
    background: #00BCD4;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.success-next:after,
.success-prev:after {
    font-size: 22px;
    font-weight: bold;
}

.success-next:hover,
.success-prev:hover {
    background: #00ACC1;
    transform: scale(1.15);
}

.success-next {
    right: -25px;
}

.success-prev {
    left: -25px;
}

.success-pagination {
    position: relative;
    bottom: 0 !important;
    margin-top: 40px;
}

.success-pagination .swiper-pagination-bullet {
    width: 35px;
    height: 35px;
    background: white;
    border: 2px solid #00BCD4;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #00BCD4;
    border-radius: 4px;
    margin: 0 5px;
    position: relative;
}

.success-pagination .swiper-pagination-bullet::before {
    content: attr(data-index);
}

.success-pagination .swiper-pagination-bullet-active {
    background: #00BCD4;
    color: white;
    transform: scale(1.1);
}

/* See More Button */
.btn-see-more {
    display: inline-block;
    background: #00BCD4;
    color: white;
    padding: 10px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #00BCD4;
    margin-top: auto;
}

.btn-see-more:hover {
    background: white;
    color: #00BCD4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

/* Make sure all cards have same height */
.success-scope,
.success-benefits {
    flex-shrink: 0;
}

.success-list li {
    white-space: normal;
    word-wrap: break-word;
}

/* Responsive Success Stories */
@media (max-width: 991.98px) {
    .success-card-image {
        height: 180px;
    }
    
    .success-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .success-card-image {
        height: 160px;
    }
    
    .success-card-body {
        padding: 15px;
    }
}

/* ========================================
   Contact Section Styles
   ======================================== */
.contact-section {
    background: #ffffff;
    padding: 60px 0;
}

/* ========================================
   Footer Styles
   ======================================== */
.footer-main {
    background: transparent;
}

/* Contact Info Box */
.contact-info-box {
    background: #e8eaed;
    border-radius: 8px;
    padding: 0;
    box-shadow: none;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-box-title {
    background: #00695C;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
    padding: 18px 25px;
    border-radius: 8px 8px 0 0;
}

.contact-info-box .row {
    padding: 30px;
    flex: 1;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 20px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.info-icon {
    color: #00695C;
    font-size: 36px;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-title {
    font-size: 16px;
    font-weight: 700;
    color: #00695C;
    margin-bottom: 10px;
}

.info-text {
    font-size: 13px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form Box */
.contact-form-box {
    background: #e8eaed;
    border-radius: 8px;
    padding: 0;
    position: relative;
    box-shadow: none;
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form-box .contact-box-title {
    background: #00695C;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
    padding: 18px 25px;
    border-radius: 8px 8px 0 0;
}

.contact-form {
    padding: 30px;
    background: transparent;
}

.form-group-with-label {
    margin-bottom: 0;
    position: relative;
}

.form-label-custom {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #00695C;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 1;
}

.form-label-custom i {
    color: #00695C;
    font-size: 18px;
}

.form-control-custom {
    width: 100%;
    padding: 14px 18px 14px 50px;
    border: none;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-control-custom:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.15);
    background: white;
}

.form-control-custom:focus + .form-label-custom,
.form-control-custom:not(:placeholder-shown) + .form-label-custom {
    opacity: 0;
    visibility: hidden;
}

.form-control-custom::placeholder {
    color: transparent;
    font-size: 13px;
}

textarea.form-control-custom {
    resize: none;
    padding-top: 50px;
    padding-left: 18px;
    min-height: 110px;
}

textarea.form-control-custom + .form-label-custom {
    top: 20px;
    transform: translateY(0);
}

textarea.form-control-custom:focus + .form-label-custom,
textarea.form-control-custom:not(:placeholder-shown) + .form-label-custom {
    opacity: 0;
    visibility: hidden;
}

.btn-submit {
    background: #00695C;
    color: white;
    border: none;
    padding: 13px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit:hover {
    background: #004D40;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 105, 92, 0.3);
}

.form-decoration {
    position: absolute;
    bottom: -28px;
    right: 2px;
    width: 138px;
    height: 150px;
    pointer-events: none;
    z-index: 1;
    background-image: url('../Assets/microtech pattern.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

/* Footer Bottom */
.footer-bottom {
    background-image: url('../Assets/footerbg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}


.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 105, 92, 0.85);
    pointer-events: none;
    z-index: 0;
}

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

.footer-logo img {
    max-width: 180px !important;
    height: auto;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
}

.footer-heading {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: capitalize;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .contact-info-box,
    .contact-form-box {
        padding: 25px;
    }
    
    .contact-box-title {
        font-size: 1.3rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
