/* DIGIrabbits - Blue/Green Theme (matching index-video.html) */
:root {
    --blue-dark: #062c3e;
    --blue-darker: #041f2d;
    --blue-primary: #0891b2;
    --blue-light: #06b6d4;
    --blue-accent: #22d3ee;
    --green-primary: #84cc16;
    --green-light: #a3e635;
    --green-dark: #65a30d;
    --white: #ffffff;
    --gray-light: rgba(255, 255, 255, 0.8);
    --gray-medium: rgba(255, 255, 255, 0.6);
    --gray-dark: rgba(255, 255, 255, 0.4);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--blue-dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--blue-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--green-primary);
    border-radius: 4px;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(6, 44, 62, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(8, 145, 178, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    white-space: nowrap;
}

.logo-digi {
    color: var(--white);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--green-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--green-primary);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.mobile-link.active {
    color: var(--green-primary);
}

/* Page Fade-in Animation */
body {
    animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-btn {
    background: var(--green-primary);
    color: var(--blue-dark);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(132, 204, 22, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    position: relative;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu - Off Canvas from Left */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-darker) 100%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.mobile-link:hover,
.mobile-link.cta,
.mobile-link.active {
    color: var(--green-primary);
}

/* ================================
   PAGE HEADER (for other pages)
   ================================ */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-darker) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(132, 204, 22, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.page-header-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.page-label {
    font-size: 0.85rem;
    color: var(--green-primary);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.page-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   CONTENT SECTIONS (for other pages)
   ================================ */
.content-section {
    padding: 80px 0;
    background: var(--blue-darker);
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.85rem;
    color: var(--green-primary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
}

/* Card Grid for services/solutions pages */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.info-card {
    background: rgba(8, 145, 178, 0.05);
    border: 1px solid rgba(8, 145, 178, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.3);
    transform: translateY(-5px);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(132, 204, 22, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.info-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--green-primary);
}

.info-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.7;
}

/* About Story Grid */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-story-image img {
    width: 100%;
    border-radius: 12px;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    padding: 120px 0;
    background: var(--blue-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(8, 145, 178, 0.15) 0%, transparent 70%);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 2.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--green-primary);
    color: var(--blue-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(132, 204, 22, 0.3);
}

.cta-btn svg {
    stroke: var(--blue-dark);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    padding: 40px 0 25px;
    background: var(--blue-darker);
    border-top: 1px solid rgba(8, 145, 178, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand {
    max-width: 450px;
    flex-shrink: 0;
}

.footer-logo {
    text-decoration: none;
    display: inline-flex;
    margin-bottom: 0.75rem;
}

.footer-logo .logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 0;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.footer-brand-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

.footer-brand-name .brand-digi {
    color: var(--white);
}

.footer-brand-name .brand-rabbits {
    color: var(--green-primary);
}

.footer-description {
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

.footer-contact h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.footer-col a,
.footer-col span {
    font-size: 0.85rem;
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--green-primary);
}

.footer-col a[href^="mailto"] {
    color: var(--white);
}

.footer-address {
    margin-bottom: 0;
}

.footer-address span {
    font-size: 0.85rem;
    color: var(--gray-medium);
    display: block;
}

.footer-address a {
    font-size: 0.85rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-address a:hover {
    color: var(--green-primary);
}

.footer-address .address-label {
    color: var(--green-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.15rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(8, 145, 178, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--green-primary);
}

/* ================================
   CONTACT FORM STYLES
   ================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue-primary);
    background: rgba(8, 145, 178, 0.12);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-dark);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--green-primary);
    color: var(--blue-dark);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(132, 204, 22, 0.3);
}

/* ================================
   STATS SECTION
   ================================ */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(132, 204, 22, 0.05) 100%);
    border-top: 1px solid rgba(8, 145, 178, 0.1);
    border-bottom: 1px solid rgba(8, 145, 178, 0.1);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-medium);
    letter-spacing: 1px;
}

/* ================================
   ANIMATIONS
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        margin: 0 auto;
    }
    
    .footer-logo-row {
        justify-content: center;
    }
    
    .footer-contact {
        width: 100%;
    }
    
    .footer-contact h4 {
        text-align: center;
    }
    
    .footer-contact-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .page-header {
        padding: 140px 0 60px;
    }
    
    .page-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-row {
        justify-content: center;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-contact h4 {
        text-align: center;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .footer-address .address-label {
        display: block;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-story-content {
        order: 1;
    }
    
    .about-story-image {
        order: 2;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

@media (max-width: 480px) {
    .nav-container,
    .cta-container,
    .footer-container,
    .content-container,
    .page-header-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .page-header {
        padding: 120px 0 50px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-row {
        justify-content: center;
    }
    
    .footer-logo .logo-img {
        height: 45px;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-address {
        text-align: center;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--green-primary);
    color: var(--blue-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 480px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Selection */
::selection {
    background: var(--green-primary);
    color: var(--blue-dark);
}
