 /* fonts from google */
  
    .title-playfair {
      font-family: 'Playfair Display', serif;
    
    }

    .title-bebas {
      font-family: 'Bebas Neue', sans-serif;
    
    }

    .title-poppins {
      font-family: 'Poppins', sans-serif;
    
    }
  
  
    .hero {
      height: 100vh;
      position: relative;
    }

   

 

    .animated-text {
      animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
      0% {
        opacity: 0; 
      }
      100% {
        opacity: 1;
      }
    }
    
    

 :root {
           /* --primary-color: #3498db;
            --secondary-color: #2980b9;*/
            --accent-color: #e74c3c;
            --dark-color: #2c3e50;
            --light-color: #ecf0f1;
          
            --text-light: #777;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
      
/* Variables */

    --primary-color: #00ff88;
    --secondary-color: #00ffee;
    --background-color: #0a192f;
    --text-color: #ffffff;
    --glow-color: rgba(0, 255, 136, 0.5);
    --card-bg: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--card-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

color: azure; text-decoration: none;



.nav-link {
   s
    list-style: none;
}

.nav-link a {
    color: var(--text-color);
    text-decoration: none;
    
}

.nav-link a:hover {
    color: gold;
    text-decoration: underline;
}
    

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
}

/* Glowing Effects */
.glow-text {
    text-shadow: 0 0 10px var(--glow-color);
}

.glow-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--glow-color);
}

.glow-link:hover::after {
    width: 100%;
}

.glow-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    background: var(--primary-color);
    color: var(--background-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px var(--glow-color);
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow-color);
}

.glow-button.outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.glow-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.glow-icon:hover {
    text-shadow: 0 0 10px var(--glow-color);
    transform: scale(1.1);
}

/* Home Section */
.home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--glow-color) 0%, transparent 70%);
    opacity: 0.1;
}

.content {
    text-align: center;
    z-index: 1;
}

/* Glitch Effect */
.glitch {
    font-size: 4rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0.05em 0 0 var(--primary-color),
                -0.05em -0.025em 0 var(--secondary-color);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Typing Effect */
.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}


/* Scroll Animation */
@keyframes scroll {
    0% {
        transform: translate(-50%, 0); 
        opacity: 1;
    }
    50% {
        opacity: 0.5;  /* Fade out slightly in the middle of the animation */
    }
    100% {
        transform: translate(-50%, 20px); 
        opacity: 0; /* Fade completely at the end */
    }
}


/* About Section */
.about {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    flex: 1;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.3s;
}

.profile-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}


/* Projects Section */
.projects {
    padding: 6rem 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: rgba(10, 25, 47, 0.9);
    transition: bottom 0.3s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-info {
    bottom: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}




/* About Section */
.about-text {
    background-color: #0a192f; /* Dark background */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff; /* White text color */
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8); /* Light gray for description text */
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.1); /* Light background for each stat item */
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin: 0 1rem;
    border: 2px solid transparent; /* Default border color, transparent to make it invisible */
}

/* Glowing border effect on hover */
.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 0 15px rgba(0, 255, 136, 1), /* Green glowing border */
        0 0 15px rgba(255, 0, 0, 1),   /* Red glowing border */
        0 0 15px rgba(0, 0, 255, 1);   /* Blue glowing border */
    border: 4px solid; /* Make the border solid on hover */
    border-color: #00ff88; /* Green border */
}

/* Counter animation */
.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #00ff88; /* Bright green for counter numbers */
    transition: transform 0.3s ease-in-out;
}

/* Animation for counters */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

 /*whatsapp*/
    
@keyframes slideInFromRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.whatsapp-container {
    font-family: Arial, sans-serif;
    padding: 20px;
}

.whatsapp-home-icon {
    position: fixed;
    top: 80%;
    left: 5%;
    font-size: 50px;
    color: #25D366;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0; /* Initially hidden */
    animation: slideInFromRight 0.5s ease forwards; /* Apply animation */
    
}

.whatsapp-home-icon span {
    margin-left: 10px;
    font-size: 16px;
    color:#25D366 ;
}
        #whatsapp-popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 47.2%;
            transform: translate(-50%, -50%);
            width: 320px;
            height: 480px;
            background-color: #ffffff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            overflow: hidden;
            z-index: 1000;
            flex-direction: column;
        }
        .chat-header {
            background-color: #075E54;
            color: white;
            padding: 15px;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .chat-header img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
        }
        .chat-header .status {
            font-size: 14px;
            color: #D5F5E3;
            position: absolute;
            top: 10%;
            right: 50%;
        }
        .chat-header .close-popup {
            cursor: pointer;
            font-size: 20px;
            color: white;
        }
        .chat-messages {
            flex: 1;
            padding: 10px;
            overflow-y: auto;
            background-color: #ece5dd;
        }
        .message {
            display: flex;
            align-items: flex-start;
            margin: 10px 0;
            max-width: 70%;
        }
        .message img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
        }
        .message-bubble {
            padding: 10px;
            border-radius: 10px;
            background-color: white;
            display: inline-block;
            position: relative;
        }
        .message.sent {
            margin-left: auto;
            position: relative;
        }
        .message.sent .blue-tick {
            font-size: 12px;
            color: #34B7F1; /* WhatsApp blue tick color */
            position: absolute;
            bottom: 5px;
            left: -15px;
        }
        .message.sent .message-bubble {
            background-color: #DCF8C6;
        }
        .chat-footer {
            display: flex;
            padding: 10px;
            background-color: white;
            border-top: 1px solid #ddd;
            align-items: center;
        }
        .chat-footer input {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 20px;
            background-color: #f0f0f0;
            margin-right: 10px;
            outline: none;
        }
        .chat-footer button {
            background-color: #075E54;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
        }
        .emoji-icon {
            font-size: 24px;
            color: #075E54;
            margin-right: 10px;
            cursor: pointer;
        }
        .emoji-popup {
            display: none;
            position: absolute;
            bottom: 60px;
            left: 20px;
            background: white;
            padding: 10px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            z-index: 1001;
        }
        .emoji-popup span {
            font-size: 24px;
            cursor: pointer;
            margin: 5px;
        }
        .typing {
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            animation: typing 3s steps(30, end), blink-caret 0.5s step-end infinite;
        }
        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }
        @keyframes blink-caret {
            from, to { border-right: 2px solid transparent; }
            50% { border-right: 2px solid black; }
        }
        
        /* Scroll to top */
    .back-btn {
      opacity: 0.3;
        position: fixed;
        bottom: 2%;
        right: -100%;
        width: 50px;
        height: 50px;
        text-align: center;
        line-height: 15px;
        background: rgba(0,0,0,0.177);
        color:navy
        cursor: pointer;
        z-index: 5;
        box-shadow: 4px 4px 6px rgb(0, 0, 0, .4);
        border-radius: 50%;
        font-size: 14px;
        transition: all .4s;
    }

    .back-btn.active {
        right: 20px;
    }
    .img11{
        width: 100%;
        margin: 0;
        padding: 0;
    }


     #toggle-icon {
      position: fixed;
      bottom:10%;
      left: 20px;
      font-size: 36px;
      color: #ffffffcc;
      cursor: pointer;
      z-index: 1000;
    }

    #toggle-icon:hover {
      color: #ffffff;
    }
    
        /* Contact Section */
        .contact {
            padding: 80px 0;
            background-color: white;
        }
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background-color: var(--light-color);
            padding: 30px;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: inherit;
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
        }
        
        .submit-btn:hover {
            background-color: var(--secondary-color);
        }
        
        /* Social Media */
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            transition: var(--transition);
        }
        
        .social-link:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
            text-align: center;
        }
        
        .footer-column h3 {
            color: white;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: crimson;
            text-align: center;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #bbb;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #bbb;
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
        }
        
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: var(--secondary-color);
        }
        
       
        
        /* Modal */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            background-color: white;
            max-width: 800px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 8px;
            position: relative;
            padding: 20px;
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-light);
        }

/* form */
        
                .form-wrapper {
            background-color: rgb(76, 174, 76);
            padding: 15px;
            border-radius: 15px;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
            width: 100%;
            
        }

        .form-wrapper h2 {
            text-align: center;
            color: #2980b9;
            margin-bottom: 20px;
            width:90%
        }

        .form-input-group {
            margin-bottom: 15px;
            position: relative;
        }

        .form-input-group input,
        .form-input-group textarea {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 10px;
            font-size: 14px;
            width: 90%;
            outline: none;
            background: #fff;
        }

        .form-input-group textarea {
            resize: none;
            height: 80px;
        }

        .form-button-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }

        .form-button-container input[type="button"] {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: #fff;
            font-size: 16px;
            border: none;
            cursor: pointer;
            padding: 12px 20px;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

        .form-button-submit {
            background-color: #01243c;
        }

        .form-button-submit:hover {
            background-color: #1e6fa5;
        }

        .form-button-sms {
            background-color: crimson;
        }

        .form-button-sms:hover {
            background-color: #74d927;
        }

        .form-separator {
            color: #2980b9;
            font-weight: bold;
        }
/* end of inserted  external css */

/*mobile devices*/ 

@media only screen and (max-width:850px){
    .navbar{padding: 0;
        margin:0;
        
    }
    .about-text{width: 100%;
        margin:0;
        padding:0;
    }
    .contact-container{width: 100%;
        margin:0;
        padding:0;
    }
    .contact-form{width: 100%;
        margin:0;
        padding:0;
    }
    .form-wrapper{width: 100%;
        margin:0;
        padding:0;
    }
   
   
    .form-wrapper h2{width: 100%;
        margin:0;
        padding:0;
    }
           
}