*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}
body{
    background:#0a2a43;
    color:#333;
    overflow-x: hidden;
}
a{
    text-decoration:none
}

body{
    font-family:Segoe UI,sans-serif;
    margin:0;
    background:linear-gradient(120deg,#eef2f7,#dbeafe);
}

/* ================= NAVBAR ================= */
.navbar{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    background:rgba(10,42,67,0.95);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 50px;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-size:22px;
    font-weight:bold;
    margin-left:5px;
}
.logo img{
    height:60px;
}
.logo span{
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.nav-links{
    list-style:none;
    display:flex;
    align-items:center;
    gap:25px;
}

.nav-links li{
    position:relative;
}

.nav-links a{
    color:#fff;
    font-size:15px;
    padding:8px 10px;
    display:flex;
    align-items:center;
    gap:6px;
    position:relative;
    transition:all 0.3s ease;
}

.nav-links a:hover{
    color:#00c2ff;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00c2ff;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform: translateX(-50%);
}

.nav-links li a:hover::after {
    width: 80%;
}

.nav-links li a:hover {
    transform: translateY(-2px);
}

/* Dropdown menu */
.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    background:#0a2a43;
    min-width:150px;
    border-radius:8px;
    padding:10px 0;
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.4);
    z-index:999;
    list-style:none;
    margin:0;
}

.dropdown-menu li a{
    padding:10px 18px;
    display:block;
    font-size:14px;
}

.dropdown-menu li a:hover{
    background:#00c2ff;
    color:#000;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.nav-links li.dropdown a i {
    display:inline-block;
    transition:transform 0.3s ease;
}

.nav-links li.dropdown:hover a i {
    transform:rotate(180deg);
    color:#00c2ff;
}

.social{
    margin-left:-10px;
}

.nav-links .social a {
    border:2px solid transparent;
    border-radius:50%;
    padding:8px;
    transition:all 0.3s ease;
}

.nav-links .social a:hover {
    border-color:#00c2ff;
    transform:rotate(10deg) scale(1.1);
}

/* Hamburger - initially hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #fff;
    transition: 0.3s;
    border-radius: 3px;
}

/* ================= MOBILE STYLES - ONLY ONE BLOCK ================= */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 200px;
        height: 100vh;
        background: #0a2a43;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 30px;
        gap: 15px;
        transition: left 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: 5px 0 20px rgba(0,0,0,0.3);
        display: flex !important;
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        width: 100%;
        padding: 12px 15px;
        color: #fff;
        font-size: 16px;
    }
    
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    /* Mobile dropdown */
    .nav-links li.dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        padding-left: 15px;
        background: rgba(0,0,0,0.2);
        border-radius: 5px;
        box-shadow: none;
        margin-top: 5px;
    }
    
    .nav-links li.dropdown.open .dropdown-menu {
        display: block;
    }
    
    /* Hide desktop social icons on mobile */
    .nav-links li.social {
        display: none !important;
    }
}

/* ===== MOBILE SIDEBAR SOCIAL ICONS ===== */
@media (max-width: 768px) {
    .nav-links .mobile-social-icons-container {
        display: block !important;
        width: 100% !important;
        list-style: none !important;
        margin-top: 10px !important;
        padding: 0 !important;
    }
    
    .mobile-social-icons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 10px 0 !important;
        width: 100% !important;
    }
    
    .social-icon-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(255,255,255,0.15) !important;
        border-radius: 50% !important;
        color: #fff !important;
        font-size: 18px !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
    }
    
    .social-icon-mobile:hover {
        background: #00c2ff !important;
        transform: scale(1.1) !important;
    }
}

@media (min-width: 769px) {
    .nav-links .mobile-social-icons-container {
        display: none !important;
    }
}

/* ===== SHOW LOGO IN MOBILE SIDEBAR ===== */
@media (max-width: 768px) {
    .nav-links .mobile-logo {
        display: block !important;
        text-align: center;
        padding: 10px 0;
        margin: 0 0 15px 0;
        width: 100%;
        list-style: none;
         border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-links .mobile-logo img {
        height: 40px;
        width: auto;
        filter: brightness(0) invert(1);
        display: block;
        margin: 0 auto;
    }
    
    .nav-links {
        padding-top: 30px !important;
    }
}

@media (min-width: 769px) {
    .nav-links .mobile-logo {
        display: none !important;
    }
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0px;
}
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}
.hero p {
    font-size: 18px;
}

/* HEADING */
.heading {
    text-align: center;
    font-size: 42px;
    margin: 40px 0;
    color: #0a2540;
    position: relative;
}
.heading::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,#007bff,#00e0ff);
    display: block;
    margin: 10px auto;
    border-radius: 10px;
}

/* FILTER BUTTONS */
.filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}
.filter-buttons button {
    padding: 12px 30px;
    margin: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: .4s;
}
.filter-buttons button.active,
.filter-buttons button:hover {
    background: linear-gradient(135deg,#007bff,#00e0ff);
    color: white;
    transform: scale(1.08);
}
/* Loading Spinner */
.loading-spinner {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #0a2a43;
}

.loading-spinner i {
    font-size: 48px;
    color: #00c2ff;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-projects {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #666;
    font-size: 18px;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    border-left: 4px solid;
}

.notification-success {
    border-left-color: #10b981;
}

.notification-success i {
    color: #10b981;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-warning i {
    color: #f59e0b;
}

.notification-info {
    border-left-color: #3b82f6;
}

.notification-info i {
    color: #3b82f6;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Ensure cards maintain the same height */
.card {
    height: 440px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal styles - COMPACT VERSION */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 550px;
    border-radius: 12px;
    overflow: hidden;
    animation: zoom 0.3s;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

@keyframes zoom {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.modal-text {
    padding: 15px 18px;
}

.modal-text h2 {
    color: #0a2a43;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00c2ff;
}

.modal-desc {
    max-height: 350px;
    overflow-y: auto;
    padding: 0;
}

/* Detail lines with icons - COMPACT */
.detail-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    padding: 4px 0;
    border-bottom: 1px dashed #eaeaea;
}

.detail-line:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-icon {
    width: 16px;
    color: #00c2ff;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-line span {
    flex: 1;
    word-break: break-word;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #00c2ff;
}

/* Scrollbar styling */
.modal-content::-webkit-scrollbar,
.modal-desc::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track,
.modal-desc::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb,
.modal-desc::-webkit-scrollbar-thumb {
    background: #00c2ff;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.modal-desc::-webkit-scrollbar-thumb:hover {
    background: #0a2a43;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-content img {
        height: 180px;
    }
    
    .modal-text h2 {
        font-size: 18px;
    }
    
    .detail-line {
        font-size: 13px;
        gap: 6px;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .modal-content img {
        height: 150px;
    }
    
    .modal-text {
        padding: 12px 15px;
    }
    
    .modal-text h2 {
        font-size: 16px;
    }
    
    .detail-line {
        font-size: 12px;
    }
    
    .detail-icon {
        width: 14px;
        font-size: 11px;
    }
}

.no-data {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.no-data i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.no-data p {
    color: #64748b;
    font-size: 18px;
}
/* PROJECT GRID */
.projects {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    padding: 20px;
}

/* CARD STYLES */
.card {
    position: relative;
    height: 440px;
    border-radius: 20px;
    cursor: pointer;
    transition: .5s;
}
.card-inner {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 3px solid transparent;
    background: linear-gradient(white,white) padding-box,
                linear-gradient(135deg,#16181a,#3e4d4d) border-box;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 1;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}
.card:hover img {
    transform: scale(1.15) rotate(1deg);
}
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.3);
    border-radius: 0 0 20px 20px;
}
.overlay h3 {
    margin: 0;
    font-size: 22px;
    color: rgb(14, 2, 61);
}
.overlay p {
    margin: 5px 0 0;
    font-size: 14px;
    color: rgb(12, 12, 12);
}
.card:hover {
    transform: translateY(-15px) scale(1.03);
}
.hide {
    display: none;
}

/* MODAL */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-content {
    background: white;
    width: 70%;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    animation: zoom .4s;
}
@keyframes zoom {
    from { transform: scale(.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-content img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.modal-text {
    padding: 20px;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* ================= FOOTER ================= */
.footer{
    background:rgba(10,42,67,0.95);
    color:#ccc;
    padding:5px 60px 10px;
}
.footer-grid{
    display:grid;
    grid-template-columns:1.2fr 0.8fr 1fr 1.2fr;
    gap:20px;
    font-size:large;
}
.footer-grid > div a{
    display:block;
    margin-bottom:8px;
    line-height:1.5;
}
.footer-grid > div h3{
    margin-bottom:12px;
    line-height:3;
}
.footer-logo img{
    height:80px;
    margin-bottom:5px;
}
.footer-logo{
    margin-top:30px;
    margin-bottom:15px;
}
.footer h3{
    color:#fff;
    margin-bottom:15px;
}
.footer a{
    color:#ccc;
    margin-bottom:8px;
    display:inline-block;
    transition:0.4s ease;
}
.footer a:hover{
    color:#00c2ff;
    transform:translateX(8px);
    text-shadow:0 0 8px #00c2ff;
}
.footer-bottom{
    margin-top:40px;
    border-top:1px solid #060244;
    padding-top:15px;
    font-size:14px;
    overflow-x:hidden;
    padding-left:30px;
}
.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    white-space:nowrap;
    flex-wrap:nowrap;
}
.footer-left, .footer-right{
    white-space:nowrap;
    flex-shrink:0;
}
.footer-link{
    color:#ccc;
    text-decoration:none;
    margin-left:6px;
}
.footer-link:hover{
    color:#00c853;
}
/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 20px;
    text-decoration: none;

    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    place-items: center;
    line-height: 1;   
}
.social-icon i{
    display: block;
    line-height: 2;
    
}
.social-icon.facebook {
    background: #1877f2;  
}

.social-icon.email {

    background: #d44638; 

}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 30%, #fd5949, #d6249f, #fd5949, #d6249f, #285AEB);
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .social-icons {
        gap: 12px;
        margin-top: 20px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}
/* WhatsApp Sticky */
.whatsapp-sticky{
    position:fixed;
    left:20px;
    bottom:20px;
    width:55px;
    height:55px;
    background:#25d366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:9999;
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
    transition:0.3s;
}
.whatsapp-sticky:hover{
    transform:scale(1.1);
    background:#1ebe5d;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.17, 0.55, 0.55, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.hero-content.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}
.hero-content.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .hero-content{
        padding:20px;
    }
    .hero h1{
        font-size:32px;
    }
}
.footer-contact-item{

    transition:0.4s;
    line-height: 2.1;   
    padding:1px 0; 
}

.footer-contact-item:hover{

    transform:translateX(10px);
    color:#00c2ff;

}

.footer-contact-item:hover i{

    box-shadow:0 0 10px #00c2ff;
    transform:scale(1.2);

}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
/* ================= MOBILE FOOTER ================= */
@media(max-width:768px){
    .footer{
        padding:10px 20px 20px;
        text-align:center;
    }
    .footer-grid{
        grid-template-columns:1fr;
        gap:25px;
        font-size:16px;
    }
    .footer-logo{
        margin-top:10px;
        text-align:center;
    }
    .footer-logo img{
        height:70px;
    }
    .footer-grid > div:nth-child(2) {
        display:none !important;
    }
    .footer-grid > div:nth-child(3) {
        text-align:left !important;
        padding-left:15px;
    }
    .footer-grid > div:nth-child(4) {
        display:block !important;
        text-align:left !important;
        padding-left:15px;
    }
    .social-icons{
        justify-content:center;
    }
    .footer-content{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }
    .footer-left, .footer-right{
        white-space:normal;
    }
    .footer-right{
        margin-top:5px;
    }
}

@media(max-width:480px){
    .footer{
        padding:25px 15px;
    }
    .footer h3{
        font-size:18px;
    }
    .social-icon{
        width:36px;
        height:36px;
        font-size:16px;
    }
    .footer-right{
        display:none;
    }
}