/* ==================== PROFESSIONAL MODERN DESIGN ==================== */
/* Modern color scheme with professional aesthetics */

/* Root variables - Professional Color Palette */
:root {
    --primary-dark: #1a1f3a;
    --primary-light: #2d3e50;
    --secondary-blue: #0066cc;
    --accent-gold: #d4af37;
    --accent-purple: #8b5cf6;
    --success-green: #10b981;
    --danger-red: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
}

h3 {
    font-size: 1.375rem;
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

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

a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

/* ==================== NAVIGATION ==================== */
nav {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-purple));
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--secondary-blue);
    background-color: rgba(0, 102, 204, 0.05);
    text-decoration: none;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 480px) {
    nav {
        gap: 8px;
        padding: 12px 10px;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h2 {
    color: var(--bg-white);
    font-size: 1.875rem;
    margin-bottom: 16px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 16px auto 24px;
}

/* Hero Buttons */
.hero .btn {
    margin: 12px 8px;
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.375rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* ==================== BUTTONS ==================== */
.btn {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #0052a3 100%);
    color: var(--bg-white);
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover {
    background: linear-gradient(135deg, #0052a3 0%, var(--secondary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c9960d 100%);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c9960d 0%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--accent-purple);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ==================== CONTAINER & LAYOUT ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 24px 16px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 32px 20px;
    }
}

/* ==================== CARDS ==================== */
.card {
    background: var(--bg-white);
    padding: 28px;
    margin: 16px 0;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(0, 102, 204, 0.2);
}

.card h2 {
    margin-top: 0;
    color: var(--primary-dark);
}

.card h3 {
    color: var(--primary-dark);
}

.card p {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
        margin: 12px 0;
        border-radius: 10px;
    }
}

/* ==================== FORMS ==================== */
form input,
form textarea,
form select {
    width: 100%;
    padding: 12px 14px;
    margin: 8px 0;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition);
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

form input::placeholder {
    color: var(--text-light);
}

form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Segoe UI', sans-serif;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

form button {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #0052a3 100%);
    color: var(--bg-white);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow-md);
}

form button:hover {
    background: linear-gradient(135deg, #0052a3 0%, var(--secondary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

form button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    form input,
    form textarea,
    form select {
        font-size: 16px; /* Prevents iOS zoom */
    }
}

/* ==================== FORM GRID ==================== */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 481px) and (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.full-width {
    grid-column: 1 / -1;
}

/* ==================== GRID SYSTEMS ==================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px 0;
}

@media (min-width: 481px) and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1920px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.3);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.service-card h3 {
    margin: 18px 16px 8px;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.service-card p {
    margin: 0 16px 16px;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-grow: 1;
}

@media (max-width: 480px) {
    .service-card img {
        height: 180px;
    }
    
    .service-card h3 {
        margin: 14px 12px 6px;
    }
    
    .service-card p {
        margin: 0 12px 12px;
    }
}

/* ==================== TESTIMONIALS ==================== */
.testimonial {
    background: var(--bg-white);
    border-left: 4px solid var(--accent-gold);
    padding: 24px;
    margin: 16px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.testimonial p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.testimonial cite {
    font-weight: 700;
    color: var(--secondary-blue);
    font-style: normal;
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--primary-dark);
    color: var(--bg-white);
    text-align: center;
    padding: 32px 20px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-gold);
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    footer {
        padding: 24px 16px;
        font-size: 0.8rem;
    }
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
#scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: none;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-purple) 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-to-top:hover {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--secondary-blue) 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.3);
}

#scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    #scroll-to-top {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        bottom: 16px;
        right: 16px;
    }
}

/* ==================== LISTS ==================== */
ul {
    padding-left: 24px;
}

ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ==================== CONTACT INFO ==================== */
.contact-info {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-blue);
}

.contact-info strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.contact-info a {
    color: var(--secondary-blue);
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

/* ==================== FORM CONTAINER ==================== */
.form-container {
    background: var(--bg-white);
    width: 95%;
    max-width: 800px;
    margin: 32px auto;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
        margin: 20px auto;
    }
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-purple));
    border-radius: 2px;
}

/* ==================== CONTENT CONTAINER ==================== */
.content-container {
    background: var(--bg-white);
    width: 95%;
    max-width: 1100px;
    margin: 32px auto;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== CEO PROFILE CARD ==================== */
.ceo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ceo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: glow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ceo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.ceo-image-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.ceo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ceo-content h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.ceo-title {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ceo-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.ceo-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* CEO Card Responsive */
@media (max-width: 768px) {
    .ceo-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .ceo-image-wrapper {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .ceo-content h3 {
        font-size: 1.5rem;
    }

    .ceo-skills {
        justify-content: center;
    }
}

@media (prefers-contrast: more) {
    body {
        color: #000;
    }
    
    .card {
        border: 2px solid var(--text-dark);
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #111827;
        --bg-white: #1f2937;
        --text-dark: #f3f4f6;
        --text-light: #d1d5db;
        --border-light: #374151;
    }
    
    nav {
        background-color: var(--primary-dark);
        border-bottom-color: var(--border-light);
    }
    
    nav a {
        color: var(--text-dark);
    }
}

/* ==================== LARGE SCREENS ==================== */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
        padding: 60px 40px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    nav a { font-size: 1rem; }
}


