/*--------------------------------------------------------------
# Modern Redesign - New Way Solutions LLC
# Enhanced with contemporary design patterns, improved UX, and modern aesthetics
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# CSS Variables for Easy Theming
--------------------------------------------------------------*/
:root {
    --primary-color: #00458B;
    --primary-dark: #003366;
    --primary-light: #0056a7;
    --accent-color: #99DDFF;
    --accent-hover: #73c5eb;
    --accent-dark: #209dd8;
    --text-dark: #2c3e50;
    --text-medium: #5a6c7d;
    --text-light: #8b9dad;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e1e8ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/*--------------------------------------------------------------
# General & Typography
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 69, 139, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 69, 139, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--primary-dark);
    font-weight: 700;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 221, 255, 0.4);
    color: var(--primary-dark);
}

/*--------------------------------------------------------------
# Preloader - Modern Spinner
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader::after {
    content: '';
    width: 60px;
    height: 60px;
    border: 4px solid transparent;
    border-top-color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 996;
    background: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.back-to-top i {
    font-size: 24px;
    color: white;
}

.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Modern Header & Navigation
--------------------------------------------------------------*/
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 997;
    padding: 15px 0;
    transition: all var(--transition-normal);
    background: transparent;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#header.header-scrolled {
    background: rgba(0, 69, 139, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

#header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    white-space: nowrap;
    flex-shrink: 0;
}

#header .logo a {
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

#header .logo h1 {
    font-size: 18px;
    margin: 0;
    line-height: 1;
}

#header .logo img {
    max-height: 45px;
    transition: var(--transition-normal);
}

#header.header-scrolled .logo img {
    max-height: 35px;
}

#header.header-scrolled .logo {
    font-size: 16px;
}

#header.header-scrolled .logo h1 {
    font-size: 16px;
}

/* Modern Navigation */
.navbar {
    padding: 0;
    flex-shrink: 1;
    margin-left: auto;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.navbar a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    transition: transform var(--transition-fast);
}

.navbar a:hover,
.navbar .active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navbar Styles */
.navbar.navbar-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    z-index: 998;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    padding: 0;
    display: flex !important;
    animation: slideDown 0.3s ease-out;
}

body.navbar-mobile-open {
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar.navbar-mobile::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(0, 69, 139, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
}

.navbar.navbar-mobile .mobile-nav-toggle {
    position: fixed;
    top: 12px;
    right: 15px;
    color: white;
    z-index: 1001;
    background: transparent;
    font-size: 32px;
    padding: 8px 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    font-weight: bold;
    transition: all var(--transition-normal);
}

.navbar.navbar-mobile .mobile-nav-toggle:hover {
    transform: scale(1.15);
}

.navbar.navbar-mobile ul {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 80px;
    margin: 0;
    list-style: none;
}

.navbar.navbar-mobile ul li {
    display: flex;
    width: 100%;
}

.navbar.navbar-mobile a {
    padding: 20px 20px !important;
    width: 100%;
    color: var(--text-dark) !important;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    background: none !important;
    transition: all var(--transition-fast);
}

.navbar.navbar-mobile a:hover {
    background: var(--primary-color) !important;
    color: white !important;
    padding-left: 30px !important;
}

.navbar.navbar-mobile a::after {
    display: none !important;
}

.navbar.navbar-mobile .search-toggle {
    display: none;
}

.navbar a:hover::after,
.navbar .active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Search Toggle */
.search-toggle {
    margin-left: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.search-icon {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-container {
    position: absolute;
    right: 15px;
    top: 100%;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all var(--transition-normal);
    margin-top: 10px;
    z-index: 1000;
    max-width: calc(100vw - 30px);
}

.search-container.opened {
    max-height: 70px;
    opacity: 1;
}

.search-container form {
    display: flex;
    padding: 10px;
    gap: 8px;
}

.search-container input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition-fast);
    color: var(--text-dark);
    min-width: 200px;
}

.search-container input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-container button[type="submit"] {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 8px 12px;
    background: transparent;
    border: none;
    font-weight: bold;
    z-index: 999;
    position: relative;
    line-height: 1;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggle:focus {
    outline: none;
}

.mobile-nav-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

@media (max-width: 1200px) {
    #header .logo {
        font-size: 16px;
    }
    
    #header .logo h1 {
        font-size: 16px;
    }
    
    #header .logo img {
        max-height: 40px;
    }
    
    .navbar a {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .navbar ul {
        gap: 3px;
    }
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex !important;
    }
    
    .navbar ul {
        display: none;
    }
    
    #header .logo {
        font-size: 16px;
    }
    
    #header .logo h1 {
        font-size: 16px;
    }
    
    .search-toggle {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: none !important;
    }
    
    /* Ensure toggle button has proper flexbox behavior */
    #header .container {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    body,
    html {
        width: 100%;
        overflow-x: hidden;
    }
    
    #header .logo h1 {
        font-size: 13px;
    }
    
    #header .logo {
        gap: 5px;
    }
    
    #header .logo img {
        max-height: 30px;
    }
    
    #header .container {
        padding: 0 10px;
    }
    
    .mobile-nav-toggle {
        font-size: 24px;
        margin-left: auto;
    }
    
    .search-container input[type="text"] {
        min-width: 150px;
    }
}

/*--------------------------------------------------------------
# Hero Section - Modern & Dynamic
--------------------------------------------------------------*/
#hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, #0056a7 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Animated Background Shapes */
#hero::before,
#hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(153, 221, 255, 0.1);
    animation: float 20s infinite;
}

#hero::before {
    width: 600px;
    height: 600px;
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

#hero::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -100px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, -40px) rotate(180deg); }
    75% { transform: translate(-40px, -20px) rotate(270deg); }
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero .row {
    align-items: center;
}

#hero h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

#hero h2 {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

#hero .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

#hero .btn-get-started {
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 700;
    background: var(--accent-color);
    color: var(--primary-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(153, 221, 255, 0.3);
    transition: all var(--transition-normal);
}

#hero .btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(153, 221, 255, 0.4);
    background: white;
    color: var(--primary-dark);
}

#hero .btn-watch-video {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    font-size: 17px;
    transition: var(--transition-normal);
}

#hero .btn-watch-video i {
    font-size: 40px;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

#hero .btn-watch-video:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

#hero .btn-watch-video:hover i {
    transform: scale(1.1);
}

#hero .hero-img {
    animation: fadeInRight 1s ease-out 0.3s both;
    position: relative;
}

#hero .hero-img img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    #hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    #hero .hero-cta {
        justify-content: center;
    }
    
    #hero h1, #hero h2 {
        text-align: center;
    }
    
    #hero .hero-img {
        margin-top: 40px;
        display: flex;
        justify-content: center;
    }
    
    #hero .hero-img img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    section {
        padding: 35px 0;
        overflow-x: hidden;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .row {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 25px 0;
        overflow-x: hidden;
    }
    
    .container,
    .container-fluid {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
}

/*--------------------------------------------------------------
# Section Styles
--------------------------------------------------------------*/
section {
    padding: 45px 0;
    position: relative;
}

.section-bg {
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 800px;
    margin: 15px auto 0;
    line-height: 1.8;
}

/*--------------------------------------------------------------
# About Section - Modern Layout
--------------------------------------------------------------*/
.about {
    position: relative;
}

.about .content {
    padding: 40px 0;
}

.about .content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.about .content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about .content ul li {
    padding: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
}

.about .content ul li i {
    color: var(--accent-color);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about .content .btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    margin-top: 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.about .content .btn-learn-more:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 69, 139, 0.3);
}

.about .about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about .about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    transform: rotate(-5deg);
    opacity: 0.3;
    z-index: -1;
}

.about img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.about img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Services - Modern Cards
--------------------------------------------------------------*/
.services .icon-box {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.services .icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.services .icon-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.services .icon-box:hover::before {
    transform: scaleX(1);
}

.services .icon-box .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.services .icon-box:hover .icon {
    transform: rotateY(360deg);
}

.services .icon-box .icon i {
    color: white;
    font-size: 32px;
}

.services .icon-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.services .icon-box h4 a {
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.services .icon-box:hover h4 a {
    color: var(--accent-dark);
}

.services .icon-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.services .icon-box a:last-child {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.services .icon-box a:last-child:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/*--------------------------------------------------------------
# Portfolio/Products - Modern Grid
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.portfolio #portfolio-flters li {
    padding: 12px 28px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 221, 255, 0.3);
}

.portfolio .portfolio-item {
    margin-bottom: 30px;
    position: relative;
}

.portfolio .portfolio-item .portfolio-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.portfolio .portfolio-item .portfolio-img img {
    width: 100%;
    transition: transform 0.5s ease;
}

.portfolio .portfolio-item:hover .portfolio-img img {
    transform: scale(1.08);
}

.portfolio .portfolio-item .portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 69, 139, 0.95) 0%, transparent 100%);
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.portfolio .portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio .portfolio-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.portfolio .portfolio-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.portfolio .portfolio-info .preview-link,
.portfolio .portfolio-info .details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 18px;
    margin-right: 10px;
    transition: all var(--transition-fast);
}

.portfolio .portfolio-info .preview-link:hover,
.portfolio .portfolio-info .details-link:hover {
    background: white;
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section - Modern Form
--------------------------------------------------------------*/
.contact .info {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
    border-top: 4px solid var(--accent-color);
}

.contact .info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.contact .info .info-item:last-child {
    margin-bottom: 0;
}

.contact .info i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.contact .info-item:hover i {
    transform: rotate(360deg);
}

.contact .info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact .info p {
    font-size: 16px;
    color: var(--text-medium);
    margin: 0;
}

.contact .php-email-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent-color);
}

.contact .php-email-form .form-group {
    margin-bottom: 24px;
}

.contact .php-email-form label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(153, 221, 255, 0.1);
}

.contact .php-email-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact .php-email-form button[type="submit"] {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--primary-dark);
    padding: 14px 40px;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(153, 221, 255, 0.3);
}

.contact .php-email-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 221, 255, 0.4);
}

.contact iframe {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/*--------------------------------------------------------------
# Footer - Modern & Clean
--------------------------------------------------------------*/
#footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

#footer .footer-newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 60px 0;
    text-align: center;
}

#footer .footer-newsletter h4 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

#footer .footer-newsletter p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin-bottom: 30px;
}

#footer .footer-newsletter form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    padding: 8px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

#footer .footer-newsletter form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

#footer .footer-newsletter form input[type="submit"] {
    padding: 14px 32px;
    background: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-normal);
}

#footer .footer-newsletter form input[type="submit"]:hover {
    background: var(--accent-dark);
    color: white;
    transform: scale(1.05);
}

#footer .footer-top {
    padding: 80px 0 40px;
    background: white;
}

#footer .footer-top h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

#footer .footer-top h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

#footer .footer-top p {
    color: var(--text-medium);
    line-height: 1.8;
}

#footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#footer .footer-links ul li i {
    color: var(--accent-color);
    font-size: 16px;
}

#footer .footer-links ul li a {
    color: var(--text-medium);
    transition: var(--transition-fast);
}

#footer .footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

#footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 10px;
    font-size: 18px;
    transition: all var(--transition-fast);
}

#footer .social-links a:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(153, 221, 255, 0.4);
}

#footer .footer-bottom {
    padding: 30px 0;
    background: var(--primary-dark);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

#footer .copyright {
    font-size: 14px;
}

/*--------------------------------------------------------------
# Career Section
--------------------------------------------------------------*/
#careeer {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.career-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--accent-color);
    margin-bottom: 30px;
}

.career-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.career-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 16px;
}

.career-card .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-medium);
}

.career-card .job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.career-card .job-meta i {
    color: var(--accent-color);
}

.career-card p {
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    #footer .footer-newsletter form {
        flex-direction: column;
    }
    
    #footer .footer-top {
        padding: 60px 0 30px;
    }
    
    .portfolio #portfolio-flters li {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .btn-modern {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .services .icon-box {
        padding: 30px 20px;
    }
    
    .contact .info,
    .contact .php-email-form {
        padding: 30px 20px;
    }
}
