/* =========================================================================
   ALIMOBIN - DIGITAL MARKETING AGENCY
   Modern, Responsive, Premium CSS
   ========================================================================= */

/* --- ROOT VARIABLES --- */
:root {
    /* Colors */
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #738bf5;
    --secondary: #ff6b6b;
    --dark: #121215;
    --dark-alt: #1a1a24;
    --light: #f8f9fa;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-hover: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 30px;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.align-center { align-items: center; }

/* Grid Systems */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gap-large { gap: 60px; }

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary);
}

.bg-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* --- NAVIGATION --- */
.navbar {
    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: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    margin: 0;
    color: var(--dark);
    font-weight: 800;
}

.logo .dot {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 1010;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
}

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

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 21, 0.9) 0%, rgba(18, 18, 21, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-text-box {
    max-width: 700px;
    padding-right: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h2 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.hero .highlight {
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* --- ABOUT SECTION --- */
.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.stats-row {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

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

.stat-item p {
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-wrapper img {
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.experience-badge i {
    font-size: 2rem;
}

/* --- MISSION SECTION --- */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

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

/* --- SERVICES SECTION --- */
.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.service-icon {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.service-content {
    padding: 35px 25px 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

/* --- WHY CHOOSE US SECTION --- */
.rounded-image {
    border-radius: var(--radius-lg);
    width: 100%;
}

.shadow-light {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

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

.why-list .icon {
    background-color: rgba(67, 97, 238, 0.2);
    color: var(--primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.why-list h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.why-list p {
    color: #a0aec0;
    margin: 0;
}

/* --- CONTACT SECTION --- */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.method.card-hover:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
    border-left: 4px solid var(--primary);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.method h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.method p {
    margin: 0;
    color: var(--text-muted);
}

.form-card {
    background-color: var(--white);
    padding: 50px !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.input-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition);
    background-color: var(--light);
}

textarea.form-control {
    padding: 15px;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

/* Custom Checkbox */
.checkbox-group {
    margin-top: 10px;
    margin-bottom: 30px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    user-select: none;
    line-height: 1.4;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #e2e8f0;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark-alt);
    color: #e2e8f0;
    padding-top: 80px;
}

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

.footer-logo h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-logo p {
    color: #a0aec0;
    margin-bottom: 25px;
    max-width: 300px;
}

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

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

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

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

.footer-links h3::after, .footer-newsletter 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 a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-newsletter p {
    color: #a0aec0;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: calc(100% - 10px);
    width: 45px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

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

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* --- ANIMATIONS & UTILS --- */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base class for JS scrolling animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.left {
    transform: translateX(-40px);
}

.scroll-reveal.right {
    transform: translateX(40px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero h2 { font-size: 3.5rem; }
    .grid-3-col { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 30px 0;
        transition: var(--transition);
        gap: 20px;
    }
    
    .nav-links.active { left: 0; }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        background-color: var(--light);
        margin-top: 10px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu { display: block; }
    
    .grid-2-col { grid-template-columns: 1fr; }
    .grid-3-col { grid-template-columns: 1fr; }
    
    .hero { padding-top: 100px; text-align: center; }
    .hero-text-box { margin: 0 auto; padding-right: 0; }
    .hero-actions { justify-content: center; }
    .hero h2 { font-size: 2.8rem; }
    
    .section { padding: 70px 0; }
    
    .about-image { order: -1; }
    
    .form-card { padding: 30px !important; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .hero h2 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .stats-row { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .glass-card { padding: 30px; }
}
