/* ========================================
   TechAyiti Portfolio - Modern Minimalist
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #FCC509;
    --primary-dark: #d9a800;
    --primary-light: #ffd642;
    --secondary-color: #1a1a1a;
    --accent-color: #FCC509;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-light: #A0A0A0;
    --bg-primary: #0F0F0F;
    --bg-secondary: #1a1a1a;
    --bg-dark: #000000;
    --border-color: #2a2a2a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.4);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

.logo-text {
    color: var(--secondary-color);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(252, 197, 9, 0.15);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    background: 
        linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FCC509' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(252, 197, 9, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(252, 197, 9, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(0, 0, 0, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: 
        url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23FCC509;stop-opacity:0.1' /%3E%3Cstop offset='100%25' style='stop-color:%23FCC509;stop-opacity:0.05' /%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='200' cy='200' r='150' fill='none' stroke='%23FCC509' stroke-width='1' opacity='0.2'/%3E%3Ccircle cx='200' cy='200' r='120' fill='none' stroke='%23FCC509' stroke-width='1' opacity='0.15'/%3E%3Ccircle cx='200' cy='200' r='90' fill='none' stroke='%23FCC509' stroke-width='1' opacity='0.1'/%3E%3Cpath d='M200 50 L200 350 M50 200 L350 200' stroke='%23FCC509' stroke-width='0.5' opacity='0.1'/%3E%3Cpath d='M95 95 L305 305 M305 95 L95 305' stroke='%23FCC509' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    animation: rotate-slow 60s linear infinite;
    pointer-events: none;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    display: none;
}

.shape-1 {
    display: none;
}

.shape-2 {
    display: none;
}

.shape-3 {
    display: none;
}

.shape-4 {
    display: none;
}

.shape-5 {
    display: none;
}

/* Code Editor Styling */
.code-editor {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(252, 197, 9, 0.1);
    animation: slideUp 0.8s ease;
    width: 100%;
    max-width: 100%;
}

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

.code-editor-header {
    background: #252526;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid #3e3e42;
}

.codes-dot,
.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.codes-dot.red,
.code-dot.red {
    background: #FF5F56;
}

.code-dot.yellow {
    background: #FFBD2E;
}

.code-dot.green {
    background: #27C93F;
}

.code-editor-content {
    padding: 24px;
    background: #1e1e1e;
    overflow-x: auto;
}

.code-editor-content pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #d4d4d4;
}

.code-editor-content code {
    display: block;
}

.string {
    color: #ce9178;
}

.comment {
    color: #6a9955;
    font-style: italic;
}

.keyword {
    color: #569cd6;
}

.variable {
    color: #9cdcfe;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    background: rgba(252, 197, 9, 0.15);
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-text p strong {
    color: var(--text-primary);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background: var(--bg-secondary);
    border: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.about-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.image-placeholder i {
    font-size: 120px;
    color: white;
    opacity: 0.9;
}

/* hide if logo image present */
.image-placeholder.logo-frame i {
    display: none;
}

/* ========================================
   CEO Section
   ======================================== */
.ceo-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.ceo-info {
    order: 1;
}

.ceo-image {
    order: 2;
}

.ceo-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ceo-photo {
    width: 100%;
    max-width: 100%;
    height: 500px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(252, 197, 9, 0.2);
    transition: var(--transition);
}

.ceo-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(252, 197, 9, 0.3);
}

.ceo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(252, 197, 9, 0.3);
}

.ceo-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ceo-name {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.ceo-title {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.ceo-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 10px 0;
}

.ceo-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(252, 197, 9, 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(252, 197, 9, 0.3);
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(252, 197, 9, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
    background: var(--bg-secondary);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card.hidden {
    display: none;
}

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

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder i {
    font-size: 60px;
    color: white;
    opacity: 0.3;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(252, 197, 9, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 18px;
    transform: scale(0.8);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(252, 197, 9, 0.15);
    border-radius: 20px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background: var(--bg-dark);
    color: white;
}

.testimonials .section-tag {
    color: var(--accent-color);
    background: rgba(252, 197, 9, 0.2);
}

.testimonials .section-title {
    color: white;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

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

.testimonial-content {
    margin-bottom: 32px;
}

.quote-icon {
    margin-bottom: 24px;
}

.quote-icon i {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 24px;
    color: white;
}

.author-info h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover,
.dot.active {
    background: var(--primary-color);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: white;
}

.info-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

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

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

.btn-submit {
    align-self: flex-start;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand .logo img {
    height: 60px;
    width: auto;
}

.footer-brand p {
    color: var(--text-light);
    max-width: 300px;
}

.footer-links h4,
.footer-services h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ceo-photo {
        height: 400px;
    }
    
    .ceo-info {
        order: 2;
    }
    
    .ceo-image {
        order: 1;
    }
    
    .ceo-name {
        font-size: 32px;
    }
    
    .ceo-title {
        font-size: 18px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-filter {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .testimonial-content p {
        font-size: 16px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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