/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    /* === Core Brand Palette === */
    --primary: #084663;      /* Deep Teal Blue - trust, tech, and stability */
    --primary-rgb: 8, 70, 99;
    
    --accent: #08C6FF;       /* Bright Cyan - energy and innovation */
    --accent-rgb: 8, 198, 255;
    
    --highlight: #F7C600;    /* Golden Yellow - creativity and attention */
    --highlight-rgb: 247, 198, 0;
    
    --neutral: #FFFFFF;      /* White - clarity and balance */
    --neutral-rgb: 255, 255, 255;


    /* === Complementary Shades === */
    --primary-dark: #0A2840; /* Dark Navy-Teal - for headers, contrast */
    --primary-dark-rgb: 10, 40, 64;
    
    --primary-light: #CCF6FF;/* Light Cyan Tint - soft backgrounds, hover states */
    --primary-light-rgb: 204, 246, 255;


    /* === Supporting & Functional Colors === */
    --success: #25D366;      /* WhatsApp Green - success or chat indicators */
    --success-rgb: 37, 211, 102;
    
    --danger: #FF3B30;       /* Alert Red - critical or delete actions */
    --danger-rgb: 255, 59, 48;
    
    --warning: #FFB400;      /* Warm Yellow - warnings, alerts */
    --warning-rgb: 255, 180, 0;
    
    --info: #08C6FF;         /* Same as accent for info states */
    --info-rgb: 8, 198, 255;


    /* === Typography === */
    --text-dark: #333333;    /* Primary text */
    --text-dark-rgb: 51, 51, 51;

    --text-medium: #555555;  /* Secondary text */
    --text-medium-rgb: 85, 85, 85;
    
    --text-light: #777777;   /* Muted text */
    --text-light-rgb: 119, 119, 119;


    /* === UI Elements === */
    --background: #F8FAFC;   /* General background */
    --background-rgb: 248, 250, 252;
    
    --card-bg: #FFFFFF;      /* Cards, modals, etc. */
    --card-bg-rgb: 255, 255, 255;
    
    --border-color: #E0E6ED; /* Light neutral border */
    --border-color-rgb: 224, 230, 237;


    /* === Effects & Layout === */
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    --border-radius: 6px;
    --transition: all 0.3s ease-in-out;
}


/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Ubuntu", "Raleway", sans-serif;
    background-color: var(--neutral);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}

.section-title {
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 48%;
    width: 50px;
    height: 3px;
    background: var(--danger);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-dark) !important;
}

.brand-text {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    margin-left: 10px;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--danger) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, #44daff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-title .text-red {
    color: var(--danger);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    margin: 5px;
}

.btn-primary {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--neutral);
}

.btn-primary:hover {
    background: #d90000;
    border-color: #d90000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,0,0,0.3);
}

.btn-outline-primary {
    border-color: var(--danger);
    color: var(--danger);
}

.btn-outline-primary:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--neutral);
}

/* Service Cards */
.service-card {
    background: var(--neutral);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--danger);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--neutral);
}

/* App Cards */
.app-card {
    background: var(--neutral);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--neutral);
}

.app-icon i {
    font-size: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, #44daff 100%);
    padding: 150px 0 50px;
    margin-top: 0;
}

.page-header h1 {
    color: var(--text-dark);
    font-weight: 700;
}

/* Service Detail */
.service-detail-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-detail-icon i {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 5px 0;
    color: var(--text-light);
}

/* Portfolio */
.portfolio-filter {
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-light);
    color: var(--text-dark);
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--neutral);
}

.portfolio-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: var(--neutral);
    padding: 20px;
}

.category-title {
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--danger);
}

/* About Section */
.value-card {
    background: var(--neutral);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--neutral);
    font-size: 2rem;
}

.value-icon.mission { background: var(--danger); }
.value-icon.vision { background: #4CAF50; }
.value-icon.values { background: #2196F3; }

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

/* Contact Section */
.contact-form-card,
.contact-info-card {
    background: var(--neutral);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

.contact-icon.whatsapp-link {
    background: var(--success);
    color: var(--neutral) !important;
}

.contact-details h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--danger);
}

.whatsapp-link {
    color: var(--success) !important;
}

/* Map Section */
.map-placeholder {
    background: var(--primary-light);
    padding: 80px 0;
    text-align: center;
}

.map-content {
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: #2c3e50 !important;
}

.footer-brand {
    color: var(--neutral);
    font-weight: 700;
}

.footer-text {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--danger);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--danger);
    color: var(--neutral);
    transform: translateY(-3px);
}

/* Utility Classes */
.section-preview {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--primary-light) !important;
}

.text-red {
    color: var(--danger) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar {
        background: var(--accent) !important;
    }
    
    .navbar-brand .brand-text {
        display: none;
    }
    
    .page-header {
        padding: 80px 0 30px;
    }
    
    .filter-btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar {
        background: var(--accent) !important;
    }
    
    .service-card,
    .app-card,
    .value-card {
        margin-bottom: 1rem;
    }
    
    .portfolio-image img {
        height: 200px;
    }
}