/* ===========================================
   Media Techly - Replica with Green/Brown/White
   Colors changed from original
   =========================================== */

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

:root {
    --green: #1a7a4c;
    --green-dark: #0f5a36;
    --green-light: #2ecc71;
    --green-bg: #0d2818;
    --brown: #6d4c2a;
    --brown-light: #a67c52;
    --brown-bg: #f5ebe0;
    --white: #ffffff;
    --off-white: #f9fafb;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --dark: #1f2937;
    --font: 'Poppins', sans-serif;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-lg-4, .col-lg-6, .col-lg-12, .col-md-6, .col-sm-12 { padding: 0 15px; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
@media (max-width: 991px) { .col-lg-4 { flex: 0 0 50%; max-width: 50%; } }
@media (max-width: 767px) { .col-lg-4, .col-md-6, .col-lg-6 { flex: 0 0 100%; max-width: 100%; } }

.elementor-section { padding: 0; }
.elementor-container { max-width: 1140px; margin: 0 auto; }
.elementor-column { position: relative; }
.elementor-widget-wrap { position: relative; width: 100%; }
.list-unstyled { list-style: none; padding: 0; margin: 0; }

/* ========== HEADER ========== */
.axil-mainmenu {
    padding: 15px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo img { height: 45px; }
.header-main-nav .mainmenu { display: flex; list-style: none; gap: 30px; }
.header-main-nav .mainmenu > li { position: relative; }
.header-main-nav .mainmenu > li > a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}
.header-main-nav .mainmenu > li > a:hover,
.header-main-nav .mainmenu > li.current-menu-item > a { color: var(--green); }
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    list-style: none;
    padding: 15px 0;
    border-radius: 8px;
    z-index: 200;
}
.menu-item-has-children:hover .submenu { display: block; }
.submenu li a {
    display: block;
    padding: 8px 25px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.submenu li a:hover { color: var(--green); padding-left: 30px; }
.header-action ul { list-style: none; display: flex; gap: 15px; }
.sidemenu-btn .btn-wrap {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.sidemenu-btn .btn-wrap span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    margin: 4px 0;
    border-radius: 2px;
}

/* ========== BANNER ========== */
.banner-section {
    position: relative;
    background: linear-gradient(135deg, #f0fdf4, #fefce8);
    min-height: 600px;
    overflow: hidden;
}
.heading-absolute {
    position: absolute;
    top: 80px;
    left: 60px;
    z-index: 5;
    max-width: 500px;
}
.banner-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}
.banner-heading strong { color: var(--green); }
.heading-absolute-2 {
    position: absolute;
    top: 240px;
    left: 60px;
    z-index: 5;
    max-width: 450px;
}
.banner-subheading {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--brown);
    text-transform: uppercase;
    font-weight: 600;
}
.banner-style-3 { padding: 80px 0 60px; position: relative; }
.banner-content { padding: 60px 0; }
.banner-thumbnail .large-thumb img { max-width: 100%; height: auto; }
.shape-group-20 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.shape-group-20 .shape { position: absolute; }
.shape-1 { top: 10%; left: 10%; }
.shape-2 { top: 20%; right: 15%; }
.shape-4 { bottom: 15%; right: 10%; }
.shape-5 { bottom: 10%; left: 15%; }
.shape-6 { top: 8%; right: 5%; }
.shape-7 { bottom: 5%; right: 20%; }
.shape-8 { right: 0; top: 0; width: 400px; height: 400px; background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0.1; }

/* ========== SERVICES ========== */
.services-section { background: var(--green-bg); position: relative; overflow: hidden; }
.section-padding { padding: 100px 0; }
.section-heading { text-align: center; margin-bottom: 50px; }
.section-heading .subtitle {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--green-light);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.heading-light-center .title { color: var(--white); }
.heading-light-center p { color: rgba(255,255,255,0.7); }
.heading-dark-center .title { color: var(--dark); }
.section-heading .title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}
.section-heading p {
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
}
.services-grid {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 35px 28px;
    margin-bottom: 30px;
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.services-grid:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}
.services-grid .thumbnail { margin-bottom: 20px; }
.services-grid .thumbnail img { width: 80px; height: 80px; object-fit: contain; }
.services-grid .content .title { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.services-grid .content .title a { color: var(--white); text-decoration: none; }
.services-grid .content p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 15px; }
.services-grid .more-btn {
    color: var(--green-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
}
.services-grid .more-btn:hover { color: var(--white); }
.shape-group-10 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.shape-group-10 .shape { position: absolute; }
.shape-group-10 .shape-1 { bottom: 5%; left: 5%; }
.shape-group-10 .shape-2 { top: 5%; right: 5%; }
.shape-group-10 .shape-3 { bottom: 10%; right: 10%; }

/* ========== VIRTUAL TOURS ========== */
.virtual-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #fefce8, #f0fdf4);
    text-align: center;
}
.elementor-background-overlay { display: none; }
.virtual-section .heading-light-center .title { color: var(--brown); }
.virtual-section .heading-light-center p { color: var(--gray); }
.virtual-section .heading-light-center .subtitle { color: var(--green); }
.elementor-button-wrapper { text-align: center; margin-top: 30px; }
.elementor-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.elementor-button:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,122,76,0.3); }

/* ========== PORTFOLIO ========== */
.portfolio-section {
    padding: 100px 0;
    background: var(--white);
}
.axil-portfolio-area .section-heading { margin-bottom: 40px; }
.project-grid {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.project-grid:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.project-grid .thumbnail { overflow: hidden; }
.project-grid .thumbnail img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s; }
.project-grid:hover .thumbnail img { transform: scale(1.05); }
.project-grid .content { padding: 20px; }
.project-grid .content .title { font-size: 0.95rem; font-weight: 600; margin-bottom: 5px; }
.project-grid .content .title a { color: var(--dark); text-decoration: none; }
.project-grid .content .title a:hover { color: var(--green); }
.project-grid .content .subtitle { font-size: 0.75rem; color: var(--gray); }
.project-grid .content .subtitle a { color: var(--green); text-decoration: none; font-weight: 500; }
.row-35 { margin: 0 -17.5px; }
.row-35 > [class*="col-"] { padding: 0 17.5px; }

/* ========== CLIENTS ========== */
.clients-section {
    padding: 70px 0;
    background: var(--off-white);
    text-align: center;
}
.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}
.client-logos img { height: 50px; opacity: 0.6; transition: opacity 0.3s; }
.client-logos img:hover { opacity: 1; }

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-col h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-light);
    margin-bottom: 15px;
}
.footer-col h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-col p { font-size: 0.85rem; color: #9ca3af; line-height: 1.8; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #9ca3af; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--green-light); }
.social-share { display: flex; gap: 10px; margin-top: 20px; }
.social-share a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}
.social-share a:hover { background: var(--green); transform: translateY(-3px); }
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .header-main-nav .mainmenu { display: none; }
    .heading-absolute, .heading-absolute-2 { left: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .heading-absolute { position: relative; top: auto; left: auto; padding: 30px 15px 0; }
    .heading-absolute-2 { position: relative; top: auto; left: auto; padding: 10px 15px; }
    .banner-style-3 { padding: 30px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 60px 0; }
    .client-logos img { height: 35px; }
}