/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Header & Navigation ===== */
.header {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #f0f0f0;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e3c72;
    letter-spacing: 0.8px;
}

.header-logo {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #ffc107;
}

/* Mobile nav toggle button */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 201;
}

.nav-toggle .hamburger {
    width: 28px;
    height: 2.5px;
    background: #1e3c72;
    display: block;
    position: relative;
    transition: background 0.3s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: #1e3c72;
    transition: all 0.3s ease;
}

.nav-toggle .hamburger::before { top: -9px; }
.nav-toggle .hamburger::after { top: 9px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg) translate(8px, 8px); }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg) translate(7px, -7px); }

/* Mobile menu (hidden by default) */
.nav-links.mobile-open {
    display: flex !important;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 2rem;
    flex-direction: column;
    gap: 1rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(30, 60, 114, 0.12);
    width: 220px;
    align-items: flex-start;
}

.nav-links.mobile-open a {
    width: 100%;
    padding: 0.7rem 0;
    font-size: 1rem;
}

/* Responsive breakpoints */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    
    /* Responsive Hero for Tablets */
    .hero { min-height: auto; padding: 3rem 1.5rem; }
    .hero-container { grid-template-columns: 1fr; gap: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: row; flex-wrap: wrap; }
    .btn-lg { flex: 1; min-width: 200px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .hero-visual { display: none; }
    .scroll-indicator { bottom: 20px; }
    .gradient-1, .gradient-2, .gradient-3 { opacity: 0.4; }
}

/* Standard Base Mobile View */
@media (max-width: 768px) {
    .logo-text { display: inline; font-size: 0.9rem; }
    
    /* Mobile Hero - Full Width, No Cut-off */
    .hero { 
        min-height: auto;
        height: auto;
        padding: 1.2rem 0.9rem;
        justify-content: flex-start;
        padding-top: 0.8rem;
    }
    
    .hero-background { opacity: 0.4; }
    .gradient-1, .gradient-2, .gradient-3 { opacity: 0.25; }
    
    .hero-container { 
        grid-template-columns: 1fr; 
        gap: 1rem;
        margin-top: 0.5rem;
    }
    
    .hero-badge { 
        display: inline-flex;
        margin-bottom: 1.2rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .badge-text { font-size: 0.8rem; }
    .badge-icon { font-size: 1rem; }
    
    .hero-title { 
        font-size: 1.4rem; 
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle { 
        font-size: 0.8rem; 
        margin-bottom: 0.7rem;
        line-height: 1.35;
        max-width: 100%;
        color: #555;
    }
    
    .hero-features { 
        gap: 0.4rem; 
        margin-bottom: 0.8rem;
    }
    
    .feature-icon {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
        flex-shrink: 0;
    }
    
    .feature-item { 
        font-size: 0.75rem;
        gap: 0.6rem;
    }
    
    .hero-buttons { 
        display: flex;
        flex-direction: column; 
        gap: 0.6rem;
        margin-bottom: 0.7rem;
        width: 100%;
    }
    
    .btn-lg { 
        width: 100%;
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        border-radius: 6px;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.3px;
        min-height: 42px;
    }
    
    .hero-stats { 
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin-top: 0.6rem;
        width: 100%;
    }
    
    .stat-box { 
        padding: 0.6rem;
        border-radius: 6px;
        background: rgba(30, 60, 114, 0.02);
        border: 1px solid rgba(30, 60, 114, 0.1);
        text-align: center;
    }
    
    .stat-box h4 { 
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
        font-weight: 700;
    }
    
    .stat-box p { 
        font-size: 0.65rem;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-badge {
        display: inline-flex;
        align-items: center;
        margin-bottom: 1.2rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        border-radius: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .badge-text { 
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .badge-icon { font-size: 0.95rem; }
    
    .hero-title { 
        font-size: 1.6rem; 
        margin-bottom: 0.7rem;
        line-height: 1.25;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .hero-subtitle { 
        font-size: 0.85rem; 
        margin-bottom: 0.9rem;
        line-height: 1.4;
        max-width: 100%;
        color: #555;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .hero-features { 
        gap: 0.5rem; 
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
        flex-shrink: 0;
        min-width: 26px;
    }
    
    .feature-item { 
        font-size: 0.8rem;
        gap: 0.7rem;
    }
    
    .hero-buttons { 
        display: flex;
        flex-direction: column; 
        gap: 0.7rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .btn-lg { 
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.75rem;
        border-radius: 5px;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        font-weight: 600;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-stats { 
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-top: 0.7rem;
        width: 100%;
        max-height: 120px;
        overflow: hidden;
    }
    
    .stat-box { 
        padding: 0.8rem 0.7rem;
        border-radius: 6px;
        border: 1px solid rgba(30, 60, 114, 0.1);
        background: rgba(30, 60, 114, 0.02);
        text-align: center;
        animation: slideInStats 0.5s ease-out forwards;
    }
    
    .stat-box:nth-child(1) { animation-delay: 0.05s; }
    .stat-box:nth-child(2) { animation-delay: 0.15s; }
    .stat-box:nth-child(3) { animation-delay: 0.7s; }
    .stat-box:nth-child(4) { animation-delay: 0.8s; }
    
    .stat-box h4 { 
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
        font-weight: 700;
    }
    
    .stat-box p { 
        font-size: 0.65rem;
        color: #666;
    }
}

/* Extra Small Mobile - 480px and below */
@media (max-width: 480px) {
    .logo-text { display: none; }
    .header-logo { height: 34px; }
    .nav-links { right: 10px; width: 180px; }
    
    /* Complete Mobile Base View - No Cut-off */
    .hero { 
        min-height: auto;
        height: auto;
        padding: 1rem 0.8rem;
        padding-top: 0.7rem;
        overflow-y: visible;
        overflow-x: hidden;
        word-wrap: break-word;
        word-break: break-word;
    }
    
    .hero-background { opacity: 0.3; }
    .gradient-1, .gradient-2, .gradient-3 { 
        opacity: 0.15;
        width: 250px;
        height: 250px;
    }
    
    .hero-container { 
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    
    .hero-badge { 
        display: inline-flex;
        align-items: center;
        margin-bottom: 0.5rem;
        padding: 0.35rem 0.6rem;
        font-size: 0.65rem;
        border-radius: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .badge-text { 
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .badge-icon { 
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .hero-title { 
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
        font-weight: 700;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle { 
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
        max-width: 100%;
        color: #555;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-features { 
        gap: 0.3rem;
        margin-bottom: 0.7rem;
        display: flex;
        flex-direction: column;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
        flex-shrink: 0;
        min-width: 20px;
    }
    
    .feature-item { 
        font-size: 0.7rem;
        gap: 0.4rem;
        display: flex;
        align-items: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-buttons { 
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.7rem;
        width: 100%;
    }
    
    .btn-lg { 
        width: 100%;
        padding: 0.6rem 0.9rem;
        font-size: 0.75rem;
        border-radius: 5px;
        text-transform: uppercase;
        letter-spacing: 0;
        font-weight: 600;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary.btn-lg,
    .btn-secondary.btn-lg {
        box-shadow: none;
    }
    
    .btn-primary.btn-lg:hover,
    .btn-secondary.btn-lg:hover {
        transform: none;
    }
    
    .hero-stats { 
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        margin-top: 0.7rem;
        width: 100%;
        max-height: 110px;
        overflow: hidden;
        position: relative;
    }
    
    .stat-box { 
        padding: 0.7rem 0.6rem;
        border-radius: 6px;
        border: 1px solid rgba(30, 60, 114, 0.1);
        background: rgba(30, 60, 114, 0.02);
        text-align: center;
        animation: slideInStats 0.5s ease-out forwards;
    }
    
    .stat-box:nth-child(1) { animation-delay: 0.05s; }
    .stat-box:nth-child(2) { animation-delay: 0.15s; }
    .stat-box:nth-child(3) { animation-delay: 0.7s; }
    .stat-box:nth-child(4) { animation-delay: 0.8s; }
    
    .stat-box h4 { 
        font-size: 1rem;
        margin-bottom: 0.08rem;
        font-weight: 700;
    }
    
    .stat-box p { 
        font-size: 0.6rem;
        color: #666;
    }
    
    .stat-box:hover {
        transform: none;
        background: rgba(30, 60, 114, 0.05);
    }
    
    .hero-visual { 
        display: none !important;
    }
    
    .scroll-indicator { 
        display: none;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .about-stats .stat h4 {
        font-size: 1.8rem;
    }
    
    .portfolio-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .portfolio-stats .stat-box h3 {
        font-size: 1.8rem;
    }
    
    .portfolio-stats .stat-box p {
        font-size: 0.8rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #ffc107;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== Section Title ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #2a5298);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Keyframe Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(42, 82, 152, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(42, 82, 152, 1);
    }
}

/* ===== Animation Classes ===== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-bottom {
    animation: slideInBottom 0.8s ease-out;
}

.bounce {
    animation: bounce 2s ease-in-out infinite;
}

.bounce-delay-1 {
    animation: bounce 2s ease-in-out 0.2s infinite;
}

.bounce-delay-2 {
    animation: bounce 2s ease-in-out 0.4s infinite;
}

/* ===== Hero Section - Professional Modern ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
    padding: 2rem;
}

/* Animated Gradient Backgrounds */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-blur {
    position: absolute;
    filter: blur(80px);
    opacity: 0.7;
    border-radius: 50%;
}

.gradient-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    top: -10%;
    left: -5%;
    animation: float-blur 15s ease-in-out infinite;
}

.gradient-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(225deg, #ffc107 0%, #ff9500 100%);
    bottom: -5%;
    right: 10%;
    animation: float-blur 18s ease-in-out infinite reverse;
}

.gradient-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(45deg, #2a5298 0%, #1e3c72 100%);
    top: 50%;
    right: -10%;
    animation: float-blur 20s ease-in-out infinite;
}

@keyframes float-blur {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

/* Hero Container */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    z-index: 2;
    position: relative;
    align-items: center;
}

/* Hero Content */
.hero-content {
    color: #1a1a1a;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid #ffc107;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e3c72;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    max-width: 550px;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: #333;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary.btn-lg {
    background: linear-gradient(135deg, #ffc107 0%, #ff9500 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.btn-primary.btn-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
}

.btn-secondary.btn-lg {
    background: transparent;
    color: #1e3c72;
    border: 2px solid #1e3c72;
    box-shadow: none;
}

.btn-secondary.btn-lg:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-4px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: rgba(30, 60, 114, 0.05);
    border: 1px solid rgba(30, 60, 114, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(30, 60, 114, 0.1);
    border-color: rgba(255, 193, 7, 0.4);
    transform: translateY(-5px);
}

.stat-box h4 {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-box p {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    height: 700px;
    z-index: 3;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.floating-card h3 {
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.floating-card p {
    font-size: 0.85rem;
    color: #666;
}

/* Card Positions with Floating Animation */
.card-1 {
    top: 20px;
    left: 0;
    width: 180px;
    animation: float-card-1 4s ease-in-out infinite;
}

.card-2 {
    top: 200px;
    right: 20px;
    width: 180px;
    animation: float-card-2 5s ease-in-out infinite;
}

.card-3 {
    bottom: 80px;
    left: 40px;
    width: 180px;
    animation: float-card-3 4.5s ease-in-out infinite;
}

.card-4 {
    bottom: 20px;
    right: 0;
    width: 180px;
    animation: float-card-4 5.5s ease-in-out infinite;
}

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(-2deg); }
}

@keyframes float-card-3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(1.5deg); }
}

@keyframes float-card-4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-1.5deg); }
}

/* Scroll Indicator */
.scroll-indicator {
   /* position: absolute;  */
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    z-index: 3;
    animation: fade-in-up 1s ease-out 1.5s both;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #1e3c72;
    border-radius: 12px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background: #1e3c72;
    border-radius: 1px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: #1e3c72;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* New Animation Keyframes */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-top {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Utility Classes */
.fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

.fade-in-up-delay-1 {
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.fade-in-up-delay-2 {
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.fade-in-up-delay-3 {
    animation: fade-in-up 0.8s ease-out 0.6s both;
}

.fade-in-up-delay-4 {
    animation: fade-in-up 0.8s ease-out 0.8s both;
}

.fade-in-right {
    animation: fade-in-right 1s ease-out;
}

.slide-in-top {
    animation: slide-in-top 0.8s ease-out;
}

.hero .btn-primary,
.hero .btn-secondary {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background: #ffc107;
    color: #1e3c72;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #1e3c72;
    transform: translateY(-3px);
}

/* Animated Shapes */
.animated-shapes {
    flex: 1;
    position: relative;
    height: 500px;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: 50px;
    right: 50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    bottom: 100px;
    right: 200px;
    animation: rotate 20s linear infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: white;
    bottom: 50px;
    right: 50px;
    animation: pulse 4s ease-in-out infinite;
}

/* ===== Metrics Section ===== */
.metrics {
    padding: 5rem 2rem;
    background: white;
}

.metrics-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: #1e3c72;
    transition: all 0.3s ease;
    border: 2px solid #d4e6ff;
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.3);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.metric-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
}

/* ===== About Section ===== */
.about {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.highlight-text {
    color: #1e3c72;
    font-weight: 500;
    font-size: 1.1rem;
}

.bold {
    color: #ffc107;
    font-weight: bold;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    font-size: 10rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-stats .stat {
    text-align: center;
    padding: 1rem;
}

.about-stats .stat h4 {
    font-size: 2.5rem;
    color: #ffc107;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.about-stats .stat p {
    color: #1e3c72;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== Vision & Mission Section ===== */
.vision-mission {
    padding: 5rem 2rem;
    background: white;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.vm-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.2);
}

.vm-card h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.vm-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.vision-card {
    border-left-color: #2a5298;
}

.mission-card {
    border-left-color: #ffc107;
}

/* ===== Core Values Section ===== */
.core-values {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f8ff 100%);
}

.core-values .section-title {
    color: #1e3c72;
}

.core-values .section-title::after {
    background: #ffc107;
}

.values-grid {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    line-height: 1.4;
}

/* ===== Services Section ===== */
.services {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.services-grid {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #ffc107;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.2);
    border-top-color: #1e3c72;
}

.service-icon {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: glow 2s ease-in-out infinite;
}

.service-card h3 {
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
}

/* ===== Portfolio Section ===== */
.portfolio {
    padding: 5rem 2rem;
    background: white;
}

.portfolio-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 10px;
}

.portfolio-stats .stat-box {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.portfolio-stats .stat-box h3 {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.portfolio-stats .stat-box p {
    font-size: 0.95rem;
    color: #e0e0e0;
}

.portfolio-grid {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.2);
}

.portfolio-image {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
}

.portfolio-item h4 {
    color: #1e3c72;
}

.portfolio-category {
    color: #999;
    font-size: 0.9rem;
}

.portfolio-value {
    color: #ffc107;
    font-weight: bold;
    margin-top: 0.5rem;
}

.portfolio .btn-primary {
    display: block;
    margin: 2rem auto 0;
}

/* ===== Career Section ===== */
.career {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f8ff 100%);
}

.career .section-title {
    color: #1e3c72;
}

.career .section-title::after {
    background: #ffc107;
}

.career-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    color: white;
}

.career-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ===== Certifications Section ===== */
.certifications {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.15);
}

.cert-icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.cert-card h3 {
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.cert-card p {
    color: #666;
    line-height: 1.6;
}

.cert-detail {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
    font-style: italic;
}

.career .btn-primary {
    background: #ffc107;
    color: #1e3c72;
}

/* ===== Contact Section ===== */
.contact {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.info-item a {
    color: #2a5298;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-item a:hover {
    color: #ffc107;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
    transform: translateY(-2px);
}

.contact-form button {
    align-self: flex-start;
}

/* ===== Footer ===== */
.footer {
    background: #1a2a3a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffc107;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ffc107;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* ===== Logo Line Animation Section ===== */
.logo-line-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #ffc107;
}

.logo-line-title {
    text-align: center;
    font-size: 1.4rem;
    color: #ffc107;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.logo-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.logo-item {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    transform-origin: center;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-item:nth-child(1) { animation-delay: 0s; }
.logo-item:nth-child(2) { animation-delay: 0.2s; }
.logo-item:nth-child(3) { animation-delay: 0.4s; }
.logo-item:nth-child(4) { animation-delay: 0.6s; }
.logo-item:nth-child(5) { animation-delay: 0.8s; }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.logo-item svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.2));
    transition: filter 0.3s ease;
}

.logo-item:hover svg {
    filter: drop-shadow(0 8px 16px rgba(255, 193, 7, 0.5));
}

.logo-item:hover {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
    .logo-line { gap: 1rem; }
    .logo-item { width: 70px; height: 70px; }
    .logo-line-title { font-size: 1.2rem; }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .about-stats .stat h4 {
        font-size: 2rem;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .portfolio-stats .stat-box h3 {
        font-size: 2rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideInBottom 0.3s ease-out;
}

.close {
    color: #999;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 1rem;
}

.modal-header h2 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.modal-category {
    color: #ffc107;
    font-weight: 600;
}

.modal-image {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.project-details h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.project-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-item h4 {
    color: #2a5298;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.spec-item p {
    color: #666;
}

/* ===== Portfolio Page Styles ===== */
.portfolio-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.portfolio-filters {
    padding: 3rem 2rem;
    background: white;
}

.filter-buttons {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #333;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #ffc107;
    color: #ffc107;
}

.filter-btn.active {
    background: #ffc107;
    border-color: #ffc107;
    color: #1e3c72;
}

.portfolio-section {
    padding: 3rem 2rem;
    background: #f8f9fa;
}

.portfolio-full-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.2);
}

.card-image {
    font-size: 4rem;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    background: linear-gradient(135deg, #1e3c72 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-category {
    color: #ffc107;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-tag {
    background: #f0f0f0;
    color: #2a5298;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-small {
    background: #2a5298;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #1e3c72;
    transform: translateX(3px);
}

/* ===== Large Modal Styles ===== */
.modal-large {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-large-content {
    background-color: white;
    margin: 3rem auto;
    padding: 3rem;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-large-content.modal-open {
    opacity: 1;
    transform: scale(1);
}

.close-btn {
    color: #999;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.project-modal-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ffc107;
}

.project-modal-image {
    font-size: 6rem;
    flex-shrink: 0;
}

.project-modal-info h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.detail-category {
    color: #ffc107;
    font-weight: 600;
    font-size: 1rem;
}

.project-modal-body {
    color: #555;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.services-list li {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
    color: #555;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.modal-info-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 3px solid #2a5298;
}

.modal-info-box h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-info-box p {
    color: #2a5298;
    font-weight: 600;
    font-size: 1.2rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
}

.feature-icon {
    color: #ffc107;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.cta-section p {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ===== Portfolio Stats Section ===== */
.portfolio-stats {
    padding: 5rem 2rem;
    background: white;
}

.stats-grid {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== Portfolio CTA Section ===== */
.portfolio-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
}

.portfolio-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portfolio-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.portfolio-cta .btn-primary {
    background: #ffc107;
    color: #1e3c72;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        margin-right: 0;
    }

    .animated-shapes {
        height: 300px;
        margin-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .vm-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .values-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-full-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-hero h1 {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .modal-large-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .project-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .project-modal-image {
        font-size: 4rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Fix Portfolio Stats for Mobile */
@media (max-width: 768px) {
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    }
    
    .portfolio-stats .stat-box {
        text-align: center;
        color: white;
        padding: 1.2rem;
    }
    
    .portfolio-stats .stat-box h3 {
        font-size: 2rem;
        color: #ffc107;
        margin-bottom: 0.5rem;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .portfolio-stats .stat-box p {
        font-size: 0.85rem;
        color: #e0e0e0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* Fix for Extra Small Mobile - 480px */
@media (max-width: 480px) {
    .portfolio-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    }
    
    .portfolio-stats .stat-box {
        text-align: center;
        color: white;
        padding: 1rem;
    }
    
    .portfolio-stats .stat-box h3 {
        font-size: 1.8rem;
        color: #ffc107;
        margin-bottom: 0.3rem;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .portfolio-stats .stat-box p {
        font-size: 0.75rem;
        color: #e0e0e0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        word-break: break-word;
    }
}

/* Fix About Stats for Mobile */
@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .about-stats .stat {
        text-align: center;
        padding: 1rem;
    }
    
    .about-stats .stat h4 {
        font-size: 2rem;
        color: #ffc107;
        margin-bottom: 0.5rem;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .about-stats .stat p {
        color: #1e3c72;
        font-weight: 600;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .about-stats .stat h4 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .about-stats .stat p {
        font-size: 0.8rem;
    }
}

/* Fix Portfolio Stats Track Record Section - Mobile */
@media (max-width: 768px) {
    .portfolio-stats {
        padding: 3rem 1.5rem;
        background: white;
    }
    
    .portfolio-stats .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .stat-card {
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        color: white;
        padding: 1.5rem 1rem;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(30, 60, 114, 0.15);
    }
    
    .stat-card h3 {
        font-size: 2rem;
        color: #ffc107;
        margin-bottom: 0.4rem;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }
    
    .stat-card p {
        font-size: 0.85rem;
        color: #e0e0e0;
        white-space: normal;
        line-height: 1.3;
        max-width: 100%;
    }
}

/* Extra Small Mobile - 480px and below */
@media (max-width: 480px) {
    .portfolio-stats {
        padding: 2rem 1rem;
        background: white;
    }
    
    .portfolio-stats .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .stat-card {
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        color: white;
        padding: 1.3rem 1rem;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(30, 60, 114, 0.15);
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
        color: #ffc107;
        margin-bottom: 0.3rem;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }
    
    .stat-card p {
        font-size: 0.8rem;
        color: #e0e0e0;
        white-space: normal;
        line-height: 1.3;
        max-width: 100%;
        word-break: break-word;
    }
}

/* Portfolio Stats Section - Better Structure */
.portfolio-stats {
    padding: 5rem 2rem;
    background: white;
}

.stats-grid {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.stat-card h3 {
    font-size: 2.8rem;
    margin-bottom: 0.7rem;
    color: #ffc107;
    font-weight: bold;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.4;
}

.stat-card.bounce {
    animation: bounce 2s ease-in-out infinite;
}

.stat-card.bounce-delay-1 {
    animation: bounce 2s ease-in-out 0.2s infinite;
}

.stat-card.bounce-delay-2 {
    animation: bounce 2s ease-in-out 0.4s infinite;
}
}

