/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    /* Colors */
    --primary-color: #0f172a; /* Slate 900 - Deep Blue/Black */
    --primary-light: #1e293b; /* Slate 800 */
    --accent-color: #0d9488; /* Teal 600 - Professional Green/Teal */
    --accent-hover: #0f766e; /* Teal 700 */
    --accent-light: #ccfbf1; /* Teal 100 */
    --text-main: #334155; /* Slate 700 */
    --text-light: #64748b; /* Slate 500 */
    --bg-body: #f8fafc; /* Slate 50 */
    --bg-white: #ffffff;
    --bg-light-gray: #f1f5f9;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   2. Utilities & Components
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--accent-color);
}

.btn-white:hover {
    background-color: var(--bg-body);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--accent-color);
}

/* =========================================
   3. Header & Nav
   ========================================= */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.dot {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--accent-color);
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background-color: var(--primary-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* =========================================
   4. Hero Section
   ========================================= */
.hero {
    padding-top: 140px;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--accent-light);
    color: var(--accent-hover);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-light), #e0f2fe);
    z-index: 1;
}

.float-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    max-width: 220px;
}

.icon-box {
    font-size: 1.5rem;
    background-color: var(--bg-light-gray);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.card-text strong {
    display: block;
    color: var(--primary-color);
}

.card-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.card-moodle {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-legal {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.card-tech {
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   5. About Section
   ========================================= */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background-color: #cbd5e1;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80') center/cover;
    opacity: 0.6; /* Placeholder generic styling */
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.check-icon {
    color: var(--accent-color);
    font-weight: 800;
}

/* =========================================
   6. Services Section
   ========================================= */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-light-gray);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-light);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: white;
}

.icon-moodle { background-color: #f97316; } /* Orange */
.icon-legal { background-color: #3b82f6; } /* Blue */
.icon-web { background-color: #8b5cf6; } /* Purple */

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* =========================================
   7. CTA Section
   ========================================= */
.cta-section {
    background-color: var(--accent-color);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* =========================================
   8. Contact Section
   ========================================= */
.contact {
    padding: var(--section-padding);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light-gray);
    border-radius: 8px;
}

.info-item .icon {
    font-size: 1.5rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.btn-full {
    width: 100%;
}

/* =========================================
   9. Footer
   ========================================= */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* =========================================
   10. Media Queries
   ========================================= */
@media (max-width: 992px) {
    .section-title { font-size: 2rem; }
    .hero-content h1 { font-size: 2.8rem; }
    
    .hero-container,
    .about-container,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
        height: 400px;
    }
    
    .exp-badge {
        right: 0;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; z-index: 1001; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        padding: 5rem 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-content h1 { font-size: 2.2rem; }
    
    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(8px, 6px); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(7px, -5px); }
}
