:root {
    --fennec-fox: #DAD7C8;
    --billabong: #1B6F81;
    --halite-blue: #09324A;
    --picket-fence: #F3F2EA;
    --cassiopeia: #AED0C9;
    --banana-king: #FFFB08;

    --primary-color: var(--banana-king); 
    --dark-bg: var(--halite-blue); 
    --card-bg: var(--picket-fence); 
    --light-bg: var(--billabong); 
    --text-dark: var(--picket-fence); 
    --text-light: #ffffff;
    --text-grey: var(--cassiopeia); 
    --text-inverse: var(--halite-blue);
    --font-main: 'Inter', sans-serif;
    --border-radius-lg: 32px;
    --border-radius-md: 20px;
    --border-radius-sm: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--halite-blue) 0%, var(--billabong) 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-color);
}

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

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

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

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-grey);
}

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

.btn.small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 15px 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

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

.nav-links a {
    color: var(--text-grey);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.mobile-logo {
    display: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

.logo-text {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    position: relative;
}

.hero-left {
    flex: 1;
    max-width: 500px;
}

.hello-badge {
    margin-bottom: 20px;
}

.hero-quote {
    color: var(--text-grey);
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--cassiopeia);
}

.quote-mark {
    font-size: 4rem;
    color: var(--cassiopeia);
    line-height: 0;
    position: absolute;
    top: 20px;
    left: -15px;
    font-family: serif;
}

.hero-stats {
    margin-bottom: 40px;
}

.stat-box {
    display: inline-block;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    background-color: transparent;
    padding: 10px 0;
    display: inline-flex;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    align-items: flex-end;
}

.stat-right {
    position: absolute;
    top: 50px;
    right: 0;
    text-align: right;
    z-index: 10;
}

.stars {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.hero-image-wrapper {
    position: relative;
    width: 450px;
    height: 550px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.image-bg-circle {
    position: absolute;
    bottom: 0;
    width: 400px;
    height: 400px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.profile-img {
    position: relative;
    z-index: 2;
    width: 380px;
    height: 500px;
    object-fit: cover;
    border-radius: 0 0 200px 200px;
}

/* Services Section */
.services {
    background: rgba(174, 208, 201, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(174, 208, 201, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    color: var(--text-dark);
    margin-top: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.services-header h2 {
    color: var(--text-light);
    margin: 0;
}

.services-header p {
    color: var(--text-grey);
    max-width: 400px;
    text-align: right;
    font-size: 0.95rem;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(218, 215, 200, 0.2) 0%, rgba(243, 242, 234, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 30px;
    position: relative;
    transition: var(--transition);
    color: white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.active-service {
    background: linear-gradient(135deg, rgba(255, 251, 8, 0.6) 0%, rgba(230, 226, 7, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-inverse);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.service-image-box {
    background-color: white;
    border-radius: var(--border-radius-sm);
    padding: 10px;
    margin-bottom: 20px;
    height: 180px;
    overflow: hidden;
}

.browser-dots {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
}

.browser-dots span:nth-child(1) { background-color: #ff5f56; }
.browser-dots span:nth-child(2) { background-color: #ffbd2e; }
.browser-dots span:nth-child(3) { background-color: #27c93f; }

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.arrow-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

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

.service-card:hover .arrow-btn {
    transform: translate(5px, -5px);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    text-align: center;
}

.timeline {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
    text-align: left;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 200px;
    height: 100%;
    width: 2px;
    background-color: #555;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    width: 200px;
    padding-right: 40px;
    text-align: right;
}

.timeline-date h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.timeline-date p {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-top: 5px;
}

.timeline-dot {
    position: absolute;
    left: 195px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--halite-blue);
    border: 3px solid var(--banana-king);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.2);
}

.timeline-content {
    flex: 1;
    padding-left: 40px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-grey);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: linear-gradient(135deg, rgba(174, 208, 201, 0.2) 0%, rgba(218, 215, 200, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: block;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-img-wrapper {
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-info {
    padding: 25px;
}

.category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.card-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

/* Certifications Section */
.certifications {
    padding: 60px 0;
}

.certifications-header {
    text-align: center;
    margin-bottom: 50px;
}

.certifications-header h2 {
    color: var(--text-dark);
}

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

.cert-card {
    background: linear-gradient(135deg, rgba(218, 215, 200, 0.2) 0%, rgba(243, 242, 234, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: white;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cert-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.cert-card:hover .cert-icon {
    background-color: var(--primary-color);
    color: var(--halite-blue);
    transform: scale(1.1);
}

.cert-info h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 700;
}

.cert-info p {
    font-size: 0.85rem;
    color: var(--cassiopeia);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Contact Section */
.contact {
    margin-top: 80px;
    margin-bottom: 50px;
}

.contact-box {
    background: linear-gradient(135deg, rgba(9, 50, 74, 0.5) 0%, rgba(27, 111, 129, 0.5) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(174, 208, 201, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-box h2 span {
    color: var(--primary-color);
}

.contact-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, rgba(243, 242, 234, 0.2) 0%, rgba(218, 215, 200, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.badge:hover {
    background: var(--banana-king);
    color: var(--halite-blue);
}
.badge i {
    color: inherit;
    transition: var(--transition);
}

/* Ticker Styles */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--cassiopeia);
    padding: 15px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--halite-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dot {
    margin-left: 15px;
    font-size: 0.7rem;
    vertical-align: middle;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-left {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-quote {
        border-left: none;
        padding-left: 0;
    }
    
    .quote-mark {
        display: none;
    }
    
    .hero-right {
        justify-content: center;
    }
    
    .stat-right {
        display: none;
    }
    
    .services-grid, .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .services-header p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .nav-container {
        justify-content: flex-end;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .navbar {
        padding: 15px 25px;
        border-radius: 50px;
        position: relative;
        z-index: 1000;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: rgba(9, 50, 74, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 20px 0;
        gap: 20px;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(10px);
        pointer-events: all;
    }
    
    .services-grid, .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 15px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 40px;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-box {
        padding: 40px 20px 80px;
    }
}
