:root {
    scroll-behavior: smooth;
    --primary-color: #E53935;
    /* Logo Red */
    --primary-hover: #C62828;
    /* Darker Red */
    --nav-bg: #0A192F;
    /* Dark Navy */
    --accent-color: #E53935;
    /* Changed Yellow to Red */
    --text-dark: #212121;
    --text-light: #757575;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    padding-top: 150px;
    overflow-x: hidden;
    /* Prevent horizontal scroll from mobile menu */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    /* Higher than backdrop */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-header {
    background: var(--white);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1002;
    /* Always above nav-bar */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-box {
    background: var(--primary-color);
    color: white;
    font-weight: 800;
    padding: 0.5rem 0.8rem;
    font-size: 1.5rem;
    line-height: 1;
}

.logo-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-info {
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-details {
    display: flex;
    flex-direction: column;
}

/* Nav Bar */
.nav-bar {
    background: var(--nav-bg);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: white;
    padding: 1.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-color);
    color: white;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--nav-bg);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}


.btn-quote {
    background: var(--primary-color);
    color: white !important;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

.btn-quote:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

/* New Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fbff 0%, #edf2f7 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    z-index: 2;
}

.hero-text {
    flex: 1.2;
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--nav-bg);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1.3;
    display: flex;
    justify-content: flex-end;
    position: relative;
    animation: fadeInRight 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
    animation-delay: 0.3s;
    height: 500px;
    perspective: 1000px;
    /* Crucial for 3D effect */
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    background: #000;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-image:hover .hero-slider {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 25px;
    border-radius: 10px;
}

/* Floating Elements for Detail */
.hero-shapes-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 15%;
    background: var(--nav-bg);
    animation-delay: -2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 5%;
    animation-delay: -4s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: auto;
        padding: 120px 0 60px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        margin-top: 50px;
        justify-content: center;
    }

    .hero-image img {
        transform: none;
    }
}

/* Services */
.section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* About */
.about-section {
    background: var(--secondary-color);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Page Hero for Subpages */
.page-hero {
    padding: 6rem 0;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.card {
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

/* Gallery Hover Styles */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1 !important;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transition: var(--transition);
    cursor: pointer;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Footer */
footer {
    background: var(--nav-bg);
    color: var(--white);
    padding: 5rem 5% 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo-wrap {
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #cbd5e1;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    /* Moved to left as requested */
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background: var(--primary-hover);
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
}







/* Stats Section */
.stats-section {
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 0.85rem;
    margin-top: 1.5rem;
    color: var(--nav-bg);
    letter-spacing: 1px;
}

.stat-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.stat-circle svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

.stat-circle circle {
    fill: none;
    stroke: #ccd6f6;
    stroke-width: 10;
    stroke-linecap: round;
    opacity: 0.2;
}

.stat-circle .progress-circle {
    stroke: #FBBF24;
    /* Yellow/Orange */
    stroke-width: 6;
    /* Thinner line */
    stroke-dasharray: 377.1;
    stroke-dashoffset: 377.1;
    /* Default, will be overridden inline */
    transition: stroke-dashoffset 1s ease-out;
    /* Simple transition */
    opacity: 1;
}

.stat-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .header-info {
        gap: 1rem;
    }

    .info-item {
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .header-info {
        display: none;
    }

    .top-header {
        justify-content: space-between !important;
        padding: 1rem 5% !important;
    }

    .menu-toggle {
        display: block;
    }

    .logo-text {
        font-size: 0.8rem;
    }

    .nav-bar {
        position: absolute;
        top: 100%;
        /* Sits right under the white header */
        left: 0;
        width: 100%;
        height: auto;
        background: var(--nav-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        transition: none;
        /* Instant toggle for better feel */
        z-index: 10000;
        display: none;
        /* Hidden by default */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-bar.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 5%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.95rem;
        color: white !important;
        text-transform: uppercase;
        font-weight: 600;
        display: block;
    }

    .nav-links a.active {
        background: var(--primary-color);
    }

    .btn-quote {
        margin: 1.5rem 5% 2rem;
        width: 90%;
        text-align: center;
        padding: 1rem;
        background: var(--primary-color);
        color: white !important;
        display: block;
    }

    .close-menu {
        display: none;
        /* Not needed for dropdown style */
    }

    body.menu-open::after {
        display: none;
        /* Removed backdrop for dropdown-style menu */
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-image {
        order: -1;
        /* Image on top */
        width: 100%;
    }

    .about-text {
        width: 100%;
    }

    .about-text ul {
        display: inline-block;
        text-align: left;
        margin: 1rem 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .section {
        padding: 4rem 5%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }
}

/* Career Form Styles */
.career-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 5%;
}

.career-title {
    font-size: 3rem;
    color: var(--nav-bg);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.career-subtitle {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-control-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 10;
    font-size: 1rem;
}

.form-control-icon.textarea-icon {
    top: 1.2rem;
    transform: none;
}

.career-form input,
.career-form textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    /* Left padding for icon */
    background: #f8f8f8;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.career-form textarea {
    min-height: 180px;
    resize: vertical;
}

.career-form input:focus,
.career-form textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.button-container {
    margin-top: 1rem;
}

.btn-submit-career {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    /* Red */
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-career:hover {
    background: #FFEB3B;
    /* Yellow */
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

/* Maintenance Feature Section */
.maintenance-section {
    padding: 6rem 5%;
    background: #ffffff;
    overflow: hidden;
}

.maintenance-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4a5568;
    /* Slate gray */
    margin-bottom: 4rem;
    font-weight: 600;
}

.maintenance-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    gap: 2rem;
}

.maintenance-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.maintenance-image-col {
    flex: 0 0 350px;
    /* Width of the phone mockup */
    display: flex;
    justify-content: center;
    align-items: center;
}

.maintenance-image-col img {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.maintenance-image-col:hover img {
    transform: scale(1.02);
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.maintenance-col.left .feature-item {
    text-align: right;
    flex-direction: row-reverse;
}

.maintenance-col.right .feature-item {
    text-align: left;
    flex-direction: row;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #F6AD55;
    /* Orange/Yellow */
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2D3748;
    font-weight: 700;
}

.feature-content p {
    font-size: 0.85rem;
    color: #4A5568;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .maintenance-container {
        flex-direction: column;
        gap: 4rem;
    }

    .maintenance-image-col {
        order: -1;
    }

    .maintenance-col.left .feature-item,
    .maintenance-col.right .feature-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

/* Managing Director Profile Styles */
.md-profile-section {
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    gap: 5rem;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.md-profile-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    opacity: 0.03;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: morph 10s linear infinite alternate;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.md-image-box {
    flex: 1;
    position: relative;
    max-width: 450px;
}

.md-image-box::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 3px solid var(--primary-color);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.2;
}

.md-image-box img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    display: block;
    transition: var(--transition);
}

.md-image-box:hover img {
    transform: translateY(-10px);
}

.md-content {
    flex: 1.4;
}

.md-content h2 {
    font-size: 3rem;
    color: var(--nav-bg);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.md-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.md-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.md-content .position-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.md-content p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.md-contact-box {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    background: #f8fafc;
    border-radius: 15px;
    width: fit-content;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.md-contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.md-contact-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.md-contact-info strong {
    font-size: 1.5rem;
    color: var(--nav-bg);
    font-weight: 800;
}

@media (max-width: 1024px) {
    .md-profile-section {
        flex-direction: column;
        padding: 5rem 5%;
        text-align: center;
        gap: 3rem;
    }

    .md-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .md-contact-box {
        margin: 3rem auto 0;
    }

    .md-content h2 {
        font-size: 2.2rem;
    }
}

@keyframes floatMD {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 992px) {
    .md-profile-section {
        flex-direction: column;
        padding: 4rem 5%;
        text-align: center;
        gap: 3rem;
    }

    .md-content h2 {
        font-size: 2.2rem;
    }

    .md-contact-box {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
}