    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    /* Base body styles without padding */
    body {
        background: #101c49ff;
        /* background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); */
        font-family: 'Poppins', sans-serif;
        color: white;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* No padding for smaller devices (default) */
    .container { padding: 1; transition: padding 0.3s ease; }
    .brand {  width: 30px;   height: 30px; display: block;   margin: 1rem auto; transition: all 0.3s ease; }

    h1 { font-size: 3rem; margin-bottom: 0.5rem; color: #f8ff2af3;  font-family: 'Oswald', sans-serif; }

    /* Padding: 1.5rem for medium devices (768px and up) */
    @media (min-width: 768px) {
        .container { padding: 1.5rem; }
        .brand {  display: none; /* Hide on medium devices */  }
        h1 { font-size: 2.5rem; margin-bottom: 0.5rem; color: #f8ff2af3;  }
    }

    /* Padding: 2rem for larger devices (1024px and up) */
    @media (min-width: 1024px) {
        .container { padding: 2rem;  }
        .brand {  display: none; /* Hide on medium devices */  }
        h1 { font-size: 2.5rem; margin-bottom: 0.5rem; color: #f8ff2af3;  }
    }

    header {
        background: linear-gradient(135deg, #1a2a6c, #2a4b8c); padding: 1.5rem; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .subtitle { font-weight: 300; opacity: 0.9; font-size: 1.2rem;  }
    .content { flex: 1; display: flex; flex-direction: column; gap: 2rem;  }
    .info-panel {
        background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 1.5rem; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .info-panel h2 { margin-bottom: 1rem; color: #4fc3f7; }
    .breakpoint-indicators { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem;   }
    .indicator { padding: 0.5rem 1rem; border-radius: 20px; background: #1e3a8a; font-weight: 600; transition: all 0.3s ease; }
    .indicator.active { background: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);  }
    .code-example { background: #0f172a; border-radius: 8px; padding: 1.5rem; overflow-x: auto; margin-top: 1.5rem;   }

    pre { color: #e2e8f0; font-family: 'Consolas', monospace; line-height: 1.5;  }
    .current-size { text-align: center; margin-top: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.05);  border-radius: 8px; }

    footer { text-align: center; padding: 1.5rem; margin-top: 2rem; background: rgba(0, 0, 0, 0.3);  }

    .easy-link {font-family: 'Roboto Slab'; color: gold; text-decoration: none; font-weight: bold; }

    @media (max-width: 767px) {
        .indicator:nth-child(1) { background: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
        .indicator:nth-child(2) { background: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
    }

    @media (min-width: 1024px) {
        .indicator:nth-child(3) { background: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
    }


    /* Flip card styling */
    /* Improved Flip Card Styling */
    .flip-card-container {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        margin: 3rem 0;
    }

    .flip-card {
        background-color: transparent;
        width: 280px; /* Increased base width */
        height: 220px; /* Slightly increased height */
        perspective: 1000px;
        margin: 15px;
    }

    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: transform 0.8s;
        transform-style: preserve-3d;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-radius: 15px;
    }

    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card-front, .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
    }

    .flip-card-front {
        background: linear-gradient(135deg, #1a2a6c, #2a4b8c);
        color: white;
    }

    /* Engraved golden headers for cards */
    .flip-card-front h2 {
        font-family: 'Oswald', sans-serif;
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        color: #f8d568; /* Golden color */
        text-shadow: 
            0px 1px 0px rgba(255,255,255,0.3), /* Top highlight */
            0px -1px 0px rgba(0,0,0,0.7),      /* Bottom shadow for depth */
            1px 1px 3px rgba(0,0,0,0.5);       /* Back shadow */
        letter-spacing: 0.5px;
        font-weight: bold;
        text-align: center;
        line-height: 1.3;
        padding: 0 5px;
    }

    .flip-card-front p {
        font-size: 0.9rem;
        color: #f0f0f0;
    }

    .flip-card-back {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        color: white;
        transform: rotateY(180deg);
        overflow: hidden; /* Prevent scroll bars */
        padding: 1.2rem;
    }

    .flip-card-back h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        color: #4fc3f7;
        text-align: center;
    }

    .flip-card-back p {
        text-align: center;
        line-height: 1.5;
        font-size: 0.95rem;
        overflow: hidden; /* Prevent scroll bars */
        display: -webkit-box;
        -webkit-line-clamp: 5; /* Limit to 5 lines max */
        -webkit-box-orient: vertical;
    }

    /* Tablet specific adjustments */
    @media (min-width: 769px) and (max-width: 1024px) {
        .flip-card {
            width: 220px;
            height: 200px;
        }
        
        .flip-card-front h2 {
            font-size: 1.3rem;
        }
        
        .flip-card-back h3 {
            font-size: 1.2rem;
        }
        
        .flip-card-back p {
            font-size: 0.9rem;
            -webkit-line-clamp: 4; /* Limit to 4 lines on tablets */
        }
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
        .flip-card-container {
            flex-direction: column;
            align-items: center;
        }
        
        .flip-card {
            width: 100%;
            max-width: 300px;
            height: 180px;
            margin: 10px 0;
        }
        
        .flip-card-front h2 {
            font-size: 1.4rem;
        }
        
        .flip-card-back h3 {
            font-size: 1.3rem;
        }
        
        .flip-card-back p {
            -webkit-line-clamp: 3; /* Limit to 3 lines on mobile */
        }
    }

    /* Large screen adjustments */
    @media (min-width: 1200px) {
        .flip-card {
            width: 300px;
            height: 240px;
        }
        
        .flip-card-front h2 {
            font-size: 1.6rem;
        }
        
        .flip-card-back p {
            -webkit-line-clamp: 6; /* Allow more lines on large screens */
        }
    }


    /* Sliding sections styling - UPDATED HEADERS */
    .slide-section {
        opacity: 0;
        transform: translateY(100px);
        transition: opacity 1s ease, transform 1s ease;
        margin: 4rem auto;
        padding: 2.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-width: 1000px;
        width: 90%;
    }

    .slide-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Updated slider headers to match card engraved style */
    .slide-section h2 {
        font-family: 'Oswald', sans-serif;
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        color: #f8d568; /* Golden color to match cards */
        text-shadow: 
            0px 1px 0px rgba(255,255,255,0.3), /* Top highlight */
            0px -1px 0px rgba(0,0,0,0.7),      /* Bottom shadow for depth */
            2px 2px 4px rgba(0,0,0,0.5);       /* Back shadow */
        letter-spacing: 1px;
        font-weight: bold;
        text-align: center;
        text-transform: uppercase;
    }

    .slide-section p {
        text-align: justify;
        line-height: 1.7;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .slide-section .content-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        align-items: center;
    }

    .slide-section .text-content {
        flex: 1;
        min-width: 300px;
    }

    .slide-section .image-content {
        flex: 1;
        min-width: 300px;
        text-align: center;
    }

    .slide-section img {
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    /* Responsive adjustments for slider headers */
    @media (max-width: 768px) {
        .slide-section {
            padding: 1.5rem;
            width: 95%;
        }
        
        .slide-section h2 {
            font-size: 1.8rem;
            letter-spacing: 0.5px;
        }
        
        .slide-section .content-wrapper {
            flex-direction: column;
        }
    }

    /* Tablet adjustments */
    @media (min-width: 769px) and (max-width: 1024px) {
        .slide-section h2 {
            font-size: 2rem;
        }
    }

    /* other transitions */
    /* Base styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
    
    /* TRANSITION EFFECT CLASSES */
    /* TRANSITION EFFECT CLASSES - MODIFIED FOR AJAX CONTENT */
    .transition-element {
        opacity: 0;
    }

    /* Fly from bottom */
    .fly-from-bottom {
        transform: translateY(100px);
    }

    .fly-from-bottom.visible {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Fly from left */
    .fly-from-left {
        transform: translateX(-100px);
    }

    .fly-from-left.visible {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Fly from right */
    .fly-from-right {
        transform: translateX(100px);
    }

    .fly-from-right.visible {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Spiral effect */
    .spiral {
        transform: translateY(100px) rotate(180deg) scale(0.5);
    }

    .spiral.visible {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
        transition: opacity 1s ease, transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* Fade in effect */
    .fade-in {
        transform: scale(0.95);
    }

    .fade-in.visible {
        opacity: 1;
        transform: scale(1);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Add a small delay for sequential animations */
    .delay-1 { transition-delay: 0.1s !important; }
    .delay-2 { transition-delay: 0.2s !important; }
    .delay-3 { transition-delay: 0.3s !important; }
    .delay-4 { transition-delay: 0.4s !important; }
    .delay-5 { transition-delay: 0.5s !important; }
    
    /* Content box styling - matches your original design */
    .content-box {
        margin: 30px 0;
        padding: 2.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .content-box h2 {
        font-family: 'Oswald', sans-serif;
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        color: #f8d568;
        text-shadow: 
            0px 1px 0px rgba(255,255,255,0.3),
            0px -1px 0px rgba(0,0,0,0.7),
            2px 2px 4px rgba(0,0,0,0.5);
        letter-spacing: 1px;
        text-align: center;
        text-transform: uppercase;
    }
    
    .content-box p {
        text-align: justify;
        line-height: 1.7;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .content-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        align-items: center;
    }
    
    .text-content {
        flex: 1;
        min-width: 300px;
    }
    
    .image-content {
        flex: 1;
        min-width: 300px;
        text-align: center;
    }
    
    .image-content img {
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .content-box {
            padding: 1.5rem;
        }
        
        .content-box h2 {
            font-size: 1.8rem;
        }
        
        .content-wrapper {
            flex-direction: column;
        }
    }

    
    /* Add this to your styles.css */
    .content-box-wrapper {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .content-box {
        margin: 20px auto;
        padding: 2.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .content-box-wrapper {
            padding: 0 10px;
        }
        
        .content-box {
            margin: 15px auto;
            padding: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .content-box-wrapper {
            padding: 0 8px;
        }
        
        .content-box {
            margin: 10px auto;
            padding: 1.2rem;
        }
        
        .content-box h2 {
            font-size: 1.6rem;
        }
        
        .content-box p, .content-box li {
            font-size: 1rem;
        }
        
        .content-box ul {
            padding-left: 1.2rem;
        }
    }

    .bg-dark-blue {
        background: #1d5ca1; color: white;
    }

    .text-dark-blue {
        color: #1d5ca1;
    }

    .text-gold {
        color: #f8ff2af3; 
    }

    .text-silver {
        color: #c0c0c0;
    }

    

    /* ***************** STYLING FOR FORMS *********************** */

    .form-label {
        display: block;
        margin-bottom: 0.5rem;
        color: #f0f0f0;
        font-family: 'Josefin Sans', sans-serif;
        font-weight: 500;
    }

    .reg-section {
        opacity: 0;
        transform: scale(0.95);
        /*transform: translateY(100px);
        transition: opacity 1s ease, transform 1s ease; */
        margin: 4rem auto;
        padding: 2.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-width: 1000px;
        width: 90%;
    }

    .log-section {
        opacity: 0;
        /* transform: scale(0.95); */
        transform: translateY(100px) rotate(180deg) scale(0.5);
        /*transform: translateY(100px);
        transition: opacity 1s ease, transform 1s ease; */
        margin: 4rem auto;
        padding: 2.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-width: 1000px;
        width: 90%;
    }

    .form-head {
        font-family: 'Oswald', sans-serif;
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        color: #f8d568;
        text-shadow: 
            0px 1px 0px rgba(255,255,255,0.3),
            0px -1px 0px rgba(0,0,0,0.7),
            2px 2px 4px rgba(0,0,0,0.5);
        letter-spacing: 1px;
        text-align: center;
        text-transform: uppercase;
    }

    .form-btn {
        font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 1rem; padding: 1.2rem; color: #f8d568;
        text-shadow: 
            0px 1px 0px rgba(255,255,255,0.3),
            0px -1px 0px rgba(0,0,0,0.7),
            2px 2px 4px rgba(0,0,0,0.5);
        letter-spacing: 1px;
        text-align: center;
        text-transform: uppercase; border: solid 1px #f8d568; border-radius: 5px;
    }

    .required { 
        font-family: 'Oswald', sans-serif; font-size: 1rem; padding: 0; color: #f8d568;
        text-shadow: 
            0px 1px 0px rgba(255,255,255,0.3),
            0px -1px 0px rgba(0,0,0,0.7),
            2px 2px 4px rgba(0,0,0,0.5);
    }


    @media (max-width: 768px) {
        .reg-section {
            opacity: 0;
            /* transform: scale(0.95); */
            transform: translateY(100px) rotate(180deg) scale(0.5);
            /*transform: translateY(100px);
            transition: opacity 1s ease, transform 1s ease; */
            margin: 3rem auto;
            padding: 1.2rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-width: 768px;
            width: 98%;
        }

        .log-section {
            opacity: 0;
            /* transform: scale(0.95); */
            transform: translateY(100px) rotate(180deg) scale(0.5);
            /*transform: translateY(100px);
            transition: opacity 1s ease, transform 1s ease; */
            margin: 3rem auto;
            padding: 1.2rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-width: 768px;
            width: 98%;
        }
    }

    @media (max-width: 480px) {

        .reg-section {
            opacity: 0;
            /* transform: scale(0.95); */
            transform: translateY(100px) rotate(180deg) scale(0.5);
            /*transform: translateY(100px);
            transition: opacity 1s ease, transform 1s ease; */
            margin: 3rem auto;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-width: 480px;
            width: 98%;
        }

        .log-section { 
            opacity: 0;
            /* transform: scale(0.95); */
            transform: translateY(100px) rotate(180deg) scale(0.5);
            /*transform: translateY(100px);
            transition: opacity 1s ease, transform 1s ease; */
            margin: 3rem auto;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-width: 480px;
            width: 98%;
        }

    }


    .required { 
        font-family: 'Oswald', sans-serif; font-size: 1rem; padding: 0; color: #f8d568;
        text-shadow: 
            0px 1px 0px rgba(255,255,255,0.3),
            0px -1px 0px rgba(0,0,0,0.7),
            2px 2px 4px rgba(0,0,0,0.5);
    }


    /* padding definitions for different screen sizes */
    .login-pad { padding: 0 150px; }

    @media (max-width: 768px) {

        .login-pad {
            padding: 0 50px;
        }
    }

    @media (max-width: 480px) {        

        .login-pad {
            padding: 0 5px;
        }

        .pipe-display { display: none; }
    }