/* =======================================
   CSS Variables & Reset
   ======================================= */
:root {
    /* Brand Colors derived from SMT Logo */
    --primary: #d41c1c; /* Red */
    --secondary: #13882f; /* Green */
    --dark: #111111; /* Black */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-color: #4a4a4a;
    --border-color: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Utilities */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =======================================
   Typography & Utilities
   ======================================= */
.highlight {
    color: var(--secondary);
}

.highlight-dark {
    color: var(--primary);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.mt-2 {
    margin-top: 2rem;
}

/* =======================================
   Buttons
   ======================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b01515;
    box-shadow: 0 10px 20px rgba(212, 28, 28, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
}

.btn-call {
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
}

.btn-call:hover {
    background-color: #0e6b22;
    box-shadow: 0 8px 15px rgba(19, 136, 47, 0.3);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--dark);
    color: var(--white);
}

/* =======================================
   Header & Navigation
   ======================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

.header.scrolled .header-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: conic-gradient(from 180deg, var(--secondary) 0 120deg, var(--dark) 120deg 240deg, var(--primary) 240deg 360deg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.logo-mark::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: var(--dark);
    border-radius: 50% 50% 10% 10%;
    top: 5px;
}

.logo-mark .smt {
    position: relative;
    z-index: 2;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.2);
}

.logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* =======================================
   Hero Section
   ======================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    padding-top: 90px;
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    animation: fadeSlider 15s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }

@keyframes fadeSlider {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero .subtitle {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--secondary);
}

.hero .title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero .title .highlight {
    color: var(--secondary);
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* =======================================
   Stats Section
   ======================================= */
.stats {
    background-color: var(--dark);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-item h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* =======================================
   About Section
   ======================================= */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--secondary);
    color: var(--white);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 10px solid var(--white);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark);
}

.check-list i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* =======================================
   Services Section
   ======================================= */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .section-subtitle::before {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    top: 0;
}

.service-card:hover {
    top: -10px;
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.service-card:hover .card-img img {
    transform: scale(1.1);
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(17,17,17,0.8) 100%);
}

.card-content {
    padding: 30px;
    position: relative;
}

.icon-box {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(212, 28, 28, 0.4);
    border: 4px solid var(--white);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(19, 136, 47, 0.4);
}

.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card-content p {
    color: var(--text-color);
}

/* =======================================
   CTA Banner
   ======================================= */
.cta-banner {
    background-color: var(--secondary);
    padding: 60px 0;
    background-image: radial-gradient(circle at right, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* =======================================
   Footer
   ======================================= */
.footer {
    background-color: var(--dark);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

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

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-list a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =======================================
   Floating WhatsApp
   ======================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =======================================
   Animations (Reveal)
   ======================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =======================================
   Responsive Design
   ======================================= */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero .title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .header.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: block;
    }

    .btn-call {
        display: none;
    }

    .hero .title {
        font-size: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }

    .stats {
        margin: 20px;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* =======================================
   About Us Page Styles
   ======================================= */
.py-100 {
    padding: 100px 0;
}

.page-header {
    margin-top: 90px;
    height: 300px;
    background-image: url('https://images.pexels.com/photos/1707823/pexels-photo-1707823.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.7);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 600;
}

.who-we-are-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-we-are-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.who-we-are-image {
    position: relative;
}

.who-we-are-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.about-page-badge {
    bottom: -20px;
    left: -20px;
    right: auto;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-box {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--primary);
    transition: var(--transition);
}

.mv-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mv-box i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.mv-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.mv-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.services-list-section {
    background-color: var(--light-bg);
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-list-item {
    background-color: var(--white);
    padding: 20px 25px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.service-list-item:hover {
    border-left-color: var(--primary);
    transform: translateX(5px);
}

.service-list-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .who-we-are-container,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .about-page-badge {
        bottom: -20px;
        right: -20px;
        left: auto;
    }
}

/* =======================================
   Dropdown Menu Styles
   ======================================= */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 5px;
    z-index: 1000;
    flex-direction: column;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: var(--text-color) !important;
    padding: 10px 20px;
    display: block;
    font-size: 0.95rem;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary) !important;
    padding-left: 25px;
}

/* Mobile adjustments for dropdown */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: var(--light-bg);
        display: none;
        opacity: 1;
        transform: none;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: flex;
    }
}

/* =======================================
   Service Detail Page Styles
   ======================================= */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.service-main-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.service-main-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-main-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-sidebar {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.service-sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.service-sidebar h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--white);
    border-radius: 5px;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-list a:hover, .sidebar-list a.active {
    background-color: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}

.sidebar-list a i {
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .service-detail-container {
        grid-template-columns: 1fr;
    }
}
