/* CSS Variables for Premium Design matching VMTA */
:root {
    --primary-color: #0AA295;
    --primary-dark: #078074;
    --primary-light: #e0f5f4;
    --secondary-color: #f7fbfb;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f4f9f9;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(10,162,149,0.1);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 20px rgba(10,162,149,0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-teal { color: var(--primary-color) !important; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.pt-0 { padding-top: 0 !important; }

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

section {
    padding: 5rem 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-teal { background-color: var(--primary-color); }

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
    border-bottom: none;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    max-width: 350px;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    position: relative;
}

.header.scrolled .nav-links a {
    color: var(--primary-dark);
}

.nav-links a:hover {
    color: var(--primary-light);
}

.header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

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

.header.scrolled .mobile-toggle {
    color: var(--primary-dark);
}

/* Hero */
.hero {
    width: 100%;
    position: relative;
    padding: 180px 0 100px 0; /* Add generous top padding to clear navbar */
    background-image: url('../images/hero-bg.jpg');
    background-color: var(--primary-color); /* Fallback */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 162, 149, 0.85) 0%, rgba(0, 50, 50, 0.7) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.hero-subtitle {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 0px;
    line-height: 1.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    color: var(--primary-light);
}

.hero-text {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.youtube-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: 3px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.youtube-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: var(--primary-color);
}

.youtube-container img.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.youtube-container:hover img.video-thumbnail {
    opacity: 0.5;
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(10, 162, 149, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(10, 162, 149, 0.6);
    transition: var(--transition);
    z-index: 2;
}

.youtube-container:hover .play-overlay {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Titles */
.section-subtitle {
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    font-weight: 800;
}

/* Core Values - Modern Tech Style */
.tech-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2px; /* For gradient border effect */
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.tech-card-inner {
    background: var(--white);
    border-radius: calc(var(--radius-md) - 2px);
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.tech-card:hover .tech-icon {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 15px rgba(10,162,149,0.5);
    transform: rotateY(180deg);
}

.tech-card-inner h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-card-inner p {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

.tech-line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 1.5rem;
    transition: var(--transition);
}

.tech-card:hover .tech-line {
    width: 100%;
    background: var(--primary-light);
}

/* About Section */
.about-wrapper {
    display: flex;
    align-items: stretch;
    gap: 4rem;
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.about-list {
    margin: 1.5rem 0;
}

.about-list li {
    margin-bottom: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Solutions */
.border-top-pattern {
    border-top: 5px solid var(--primary-dark);
}

.solution-card {
    background: rgba(255,255,255,0.1);
    padding: 3rem 2rem;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.solution-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.solution-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Vision Mission */
.vm-header {
    margin-bottom: 0;
    padding-top: 2rem;
}

.vm-wrapper {
    display: flex;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 3rem;
}

.vm-box {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vision-box {
    background-color: var(--white);
    border-right: 1px solid rgba(0,0,0,0.05);
}

.mission-box {
    background-color: var(--secondary-color);
}

.vm-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.vm-side-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.vm-side-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.vm-text p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.mission-list {
    margin-top: 1rem;
}

.mission-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-light);
    align-items: flex-start;
}

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

/* Benefits */
.benefits-grid {
    align-items: center;
    gap: 0;
}

.benefits-image img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.benefits-text {
    padding: 3rem;
}

.benefits-text h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.benefits-text p {
    opacity: 0.9;
    font-size: 1rem;
}

/* Technology - Modern */
.technology-modern {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.technology-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.5;
}

.tech-modern-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.tech-modern-content {
    flex: 1;
}

.tech-feature {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.tech-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: var(--primary-light);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.tech-modern-image {
    flex: 1;
    position: relative;
}

.globe-img {
    width: 100%;
    height: 400px;
    max-width: 500px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(10,162,149,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Partners */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.partner-logo {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Why Choose */
.reason-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.reason-highlight {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-top {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 90px;
    max-width: 350px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-desc {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    text-align: center;
    opacity: 0.8;
    font-size: 0.85rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.back-to-top:hover {
    background: var(--primary-dark);
}

@media (max-width: 992px) {
    .vm-wrapper {
        flex-direction: column;
    }
    .tech-modern-wrapper {
        flex-direction: column;
    }
    .hero-title, .hero-subtitle {
        font-size: 3.5rem;
    }
    .about-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title, .hero-subtitle {
        font-size: 2.5rem;
    }
    .mobile-toggle {
        display: block;
    }
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        transition: 0.3s;
    }
    .navbar.active {
        right: 0;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-links a {
        color: var(--text-main);
        font-size: 1.2rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .footer-top.grid-3 {
        grid-template-columns: 1fr;
    }
}
