 :root {
            --primary: #1a5276;
            --secondary: #f39c12;
            --accent: #2ecc71;
            --light: #ecf0f1;
            --dark: #2c3e50;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        :root {
            --primary: #9c0202;          
            --primary-light: #2980b9;   
            --secondary: #f39c12;      
            --secondary-light: #f1c40f; 
            --accent: #2ecc71;          
            --accent-hover: #27ae60;     
            --light: #f5f7fa;           
            --dark: #502c2c;         
            --text-dark: #34495e;      
            --text-light: #ffffff;      
            --text-muted: #7f8c8d;      
            --danger: #e74c3c;          
            --success: #2ecc71;        
            --warning: #f1c40f;     
            --border-radius: 10px;       
            --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); 
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
        }

        body {
            background-color: var(--light);
            color: var(--text-dark);
            line-height: 1.7;
            font-size: 16px;
            font-weight: 400;
        }

        h1, h2, h3 {
            margin-bottom: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: -0.02em;
        }

        h1 {
            font-size: 2.7rem;
            line-height: 1.2;
        }

        h2 {
            font-size: 2.2rem;
            position: relative;
            padding-bottom: 0.8rem;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--secondary), var(--secondary-light));
            border-radius: 2px;
        }

        h3 {
            font-size: 1.6rem;
            margin-top: 2rem;
        }

        p {
            margin-bottom: 1.2rem;
            color: var(--text-dark);
            opacity: 0.9;
        }

        /* =============================================== */
        /* HEADER REORGANIZADO - APLICANDO PADRÃO DO PROFESSOR */
        /* =============================================== */
        header {
            background: linear-gradient(135deg, #E30613 0%, #c82333 100%);
            color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        /* Seção dos Logos */
        .header-logos {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
        }

        .header-logos img {
            height: 120px;
            width: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
            background: rgba(255, 255, 255, 0.1);
            padding: 8px;
            border-radius: 8px;
            backdrop-filter: blur(10px);
        }

        .header-logos img:hover {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.2);
        }

        /* Seção do Título */
        .header-title {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex: 1;
            text-align: center;
            max-width: 400px;
        }

        .header-title h1 {
            font-size: 28px;
            font-weight: 600;
            margin: 0;
            margin-bottom: 2px;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        .header-title p {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            margin: 0;
        }

        /* Seção de Ações/Navegação */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .header-actions button,
        .header-actions a {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .header-actions button:hover,
        .header-actions a:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .header-actions i {
            font-size: 16px;
        }

        /* =============================================== */
        /* RESPONSIVIDADE DO HEADER */
        /* =============================================== */

        @media (max-width: 992px) {
            .header-content {
                padding: 0 15px;
                gap: 15px;
            }
            
            .header-logos img {
                height: 60px;
            }
            
            .header-title h1 {
                font-size: 24px;
            }
            
            .header-title p {
                font-size: 14px;
            }
        }

        @media (max-width: 768px) {
            header {
                padding: 12px 0;
            }
            
            .header-content {
                padding: 0 10px;
                gap: 10px;
            }
            
            .header-logos {
                gap: 8px;
            }
            
            .header-logos img {
                height: 50px;
                padding: 6px;
            }
            
            .header-title {
                max-width: 250px;
            }
            
            .header-title h1 {
                font-size: 20px;
            }
            
            .header-title p {
                font-size: 13px;
            }
            
            .header-actions button,
            .header-actions a {
                padding: 8px 15px;
                font-size: 13px;
            }
        }

        @media (max-width: 576px) {
            .header-content {
                flex-wrap: wrap;
                justify-content: center;
                text-align: center;
            }
            
            .header-logos {
                order: 1;
                width: 100%;
                justify-content: center;
                margin-bottom: 10px;
            }
            
            .header-logos img {
                height: 45px;
            }
            
            .header-title {
                order: 2;
                justify-content: center;
            }
            
            .header-actions {
                order: 3;
                width: 100%;
                justify-content: center;
                margin-top: 10px;
            }
        }

        @media (max-width: 400px) {
            .header-logos {
                gap: 5px;
            }
            
            .header-logos img {
                height: 40px;
                padding: 4px;
            }
            
            .header-title h1 {
                font-size: 18px;
            }
            
            .header-actions button,
            .header-actions a {
                padding: 6px 12px;
                font-size: 12px;
            }
        }

        /* RESTO DO CSS ORIGINAL */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px;
            position: relative;
            z-index: 2;
        }

        /*carrossel */
        .hero-carousel {
            position: relative;
            width: 100%;
            height: 480px;
            overflow: hidden;
            margin-bottom: 2rem;
            background-color: var(--primary);
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            /* Transição 1.5s do carrosel */
            transition: opacity 1.5s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .carousel-slide img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.7);
            z-index: 1;
        }

        .carousel-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 2rem;
            max-width: 800px;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        /* letras no carrossel sejam brancas*/
        .carousel-content h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: white !important;
            font-weight: 700;
            text-shadow: 0 2px 8px rgba(0,0,0,0.6);
        }

        .carousel-content p {
            font-size: 1.2rem;
            line-height: 1.5;
            color: white !important;
            text-shadow: 0 2px 8px rgba(0,0,0,0.6);
        }

        .carousel-button {
            display: none !important;
        }

        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 3;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .indicator.active {
            background-color: var(--secondary);
        }


        .tabs {
            display: flex;
            margin-bottom: 0;
            border-bottom: none;
            background-color: transparent;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
            padding: 0 15px;
            gap: 4px;
        }

        .tab {
            padding: 14px 24px;
            cursor: pointer;
            background-color: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 10px 10px 0 0;
            margin-right: 4px;
            transition: var(--transition);
            font-weight: 600;
            white-space: nowrap;
            color: var(--text-dark);
            position: relative;
            overflow: hidden;
            box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
        }

        .tab:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--secondary);
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s ease;
            z-index: 1;
        }

        .tab:hover {
            background-color: #ffffff;
        }

        .tab:hover:before {
            transform: scaleX(1);
            transform-origin: bottom left;
        }

        .tab.active {
            background-color: #ffffff;
            color: var(--primary);
            font-weight: 700;
            box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
            padding-top: 16px;
            margin-top: -2px;
        }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--secondary);
            z-index: 1;
        }

        .tab-content {
            display: none;
            padding: 2.5rem;
            background-color: white;
            border-radius: 0 0 var(--border-radius) var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-top: -1px;
            position: relative;
        }

        .tab-content.active {
            display: block;
            animation: fadeSlideUp 0.5s ease-out;
        }

        @keyframes fadeSlideUp {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* area do aluno*/
        .tab1 {
            padding: 14px 28px;
            cursor: pointer;
            background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
            border: none;
            border-radius: var(--border-radius);
            transition: var(--transition);
            font-weight: 700;
            white-space: nowrap;
            color: var(--dark);
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
        }

        .tab1:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
            background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
        }

        /* Formulário Modernizado */
        form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group.full {
            grid-column: 1 / span 2;
        }

        label {
            display: block;
            margin-bottom: 0.6rem;
            font-weight: 600;
            color: var(--primary);
            font-size: 0.95rem;
        }

        input, select, textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #dde1e7;
            border-radius: var(--border-radius);
            transition: var(--transition);
            font-size: 1rem;
            background-color: #f8fafc;
            color: var(--text-dark);
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
            background-color: #fff;
        }

        select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 40px;
        }

        textarea {
            resize: vertical;
            min-height: 120px;
        }

        button {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
            color: var(--text-light);
            border: none;
            padding: 14px 28px;
            cursor: pointer;
            border-radius: var(--border-radius);
            font-weight: 600;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(46, 204, 113, 0.25);
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        button:hover {
            background: linear-gradient(135deg, #25be64 0%, #219653 100%);
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(46, 204, 113, 0.35);
        }

        button:active {
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(46, 204, 113, 0.2);
        }

        /* cartão preview modernizado */
        .card-preview {
            border: none;
            border-radius: 12px;
            overflow: hidden;
            width: 360px;
            margin: 2.5rem auto;
            background-color: white;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
            transition: var(--transition);
        }

        .card-preview:hover {
            transform: translateY(-5px);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
        }

        .card-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: var(--text-light);
            padding: 1.5rem;
            text-align: center;
            position: relative;
        }

        .card-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, var(--secondary), var(--secondary-light));
        }

        .card-body {
            padding: 1.8rem;
            display: flex;
            gap: 1.5rem;
        }

        .card-photo {
            width: 120px;
            height: 140px;
            background-color: #f1f5f9;
            border: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .card-info {
            flex: 1;
        }

        .card-info p {
            margin-bottom: 0.7rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .card-info p strong {
            color: var(--primary);
            font-weight: 600;
        }

        .card-footer {
            background-color: var(--secondary);
            color: var(--dark);
            padding: 1rem;
            text-align: center;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* unidades */
        .units-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .unit-card {
            background-color: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            border: none;
        }

        .unit-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
        }

        .unit-card-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: var(--text-light);
            padding: 1.2rem;
            text-align: center;
            position: relative;
        }

        .unit-card-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, var(--secondary), var(--secondary-light));
        }

        .unit-card-header h3 {
            margin: 0;
            color: var(--text-light);
            font-size: 1.3rem;
            font-weight: 700;
        }

        .unit-card-body {
            padding: 1.8rem;
        }

        .unit-card-body p {
            margin-bottom: 0.8rem;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .unit-card-body p strong {
            color: var(--primary);
            font-weight: 600;
        }

        .unit-card-footer {
            background-color: #f8fafc;
            padding: 1.2rem;
            text-align: center;
            border-top: 1px solid #edf2f7;
        }

        .unit-card-footer button {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            padding: 12px 24px;
            font-size: 0.9rem;
            box-shadow: 0 4px 12px rgba(26, 82, 118, 0.2);
        }

        .unit-card-footer button:hover {
            background: linear-gradient(135deg, var(--primary-light) 0%, #3498db 100%);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(26, 82, 118, 0.3);
        }

        /* Caixa de Consentimento - Modernizada */
        .consent-box {
            background-color: #f8fafc;
            border: 1px solid #edf2f7;
            padding: 2rem;
            margin-top: 2rem;
            border-radius: var(--border-radius);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
            transition: var(--transition);
            position: relative;
        }

        .consent-box:hover {
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }

        .consent-box h3 {
            margin-top: 0;
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 1.2rem;
        }

        .consent-box ul {
            margin: 1.2rem 0;
            padding-left: 1.5rem;
        }

        .consent-box ul li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 10px;
        }

        .consent-box label {
            display: flex;
            align-items: center;
            margin-top: 1.5rem;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
        }

        .consent-box input[type="checkbox"] {
            width: 22px;
            height: 22px;
            margin-right: 12px;
            cursor: pointer;
            position: relative;
            border: 2px solid #cbd5e0;
            border-radius: 4px;
            transition: var(--transition);
            appearance: none;
            -webkit-appearance: none;
            background-color: white;
        }

        .consent-box input[type="checkbox"]:checked {
            background-color: var(--accent);
            border-color: var(--accent);
        }

        .consent-box input[type="checkbox"]:checked:after {
            content: "✓";
            color: white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 14px;
            font-weight: bold;
        }

        /* Upload de Foto - Modernizado */
        .foto-upload-container {
            border: 2px dashed #cbd5e0;
            border-radius: var(--border-radius);
            padding: 2.5rem 2rem;
            text-align: center;
            background-color: #f8fafc;
            transition: var(--transition);
            position: relative;
            min-height: 220px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .foto-upload-container:hover {
            border-color: var(--primary);
            background-color: rgba(41, 128, 185, 0.05);
        }

        /* Estilizando o input file */
        .foto-upload-container input[type="file"] {
            font-size: 100px;
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            z-index: 2;
        }

        /* Adicionando conteúdo visual ao container */
        .foto-upload-container:before {
            content: "";
            font-size: 3.5rem;
            display: block;
            margin-bottom: 1.2rem;
            opacity: 0.8;
        }

        .foto-upload-container:after {
            content: "Clique aqui para selecionar um arquivo";
            display: block;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.6rem;
        }

        .file-name-display {
            color: var(--accent);
            font-weight: 600;
            margin-top: 1.2rem;
            word-break: break-all;
            max-width: 100%;
            display: none;
        }

        .file-name-display.visible {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        .file-info {
            font-size: 0.9rem;
            color: var(--text-muted);
            position: absolute;
            bottom: 1.2rem;
            width: 100%;
        }

        .foto-upload-container.has-file {
            border-color: var(--accent);
            background-color: rgba(46, 204, 113, 0.08);
        }

        .foto-preview-container {
            position: relative;
            margin: 1.5rem 0;
            text-align: center;
            max-width: 100%;
            display: inline-block;
        }

        .foto-preview {
            max-width: 100%;
            max-height: 200px;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            display: block;
            animation: fadeIn 0.5s ease;
            object-fit: cover;
        }

        .remove-btn {
            position: absolute;
            top: -12px;
            right: -12px;
            background: var(--danger);
            color: white;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            font-weight: bold;
            z-index: 3;
            transition: var(--transition);
        }

        .remove-btn:hover {
            background: #c0392b;
            transform: scale(1.1);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        footer {
            background:  #E30613 ;
            color: var(--text-light);
            text-align: center;
            padding: 3rem 1rem;
            margin-top: 4rem;
            position: relative;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, var(--secondary), var(--secondary-light));
        }

        footer .container {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        footer p {
            margin-bottom: 0.7rem;
            font-size: 1rem;
            opacity: 0.9;
            color: var(--text-light);
        }

        .ftlink {
            color: var(--secondary);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            position: relative;
        }

        .ftlink:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: var(--secondary);
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s ease;
        }

        .ftlink:hover {
            color: var(--secondary-light);
        }

        .ftlink:hover:after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }

        .error {
            border-color: var(--danger) !important;
            box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
            background-color: rgba(231, 76, 60, 0.02);
        }

        .error-message {
            color: var(--danger);
            font-size: 0.85rem;
            margin-top: 0.4rem;
            display: block;
            font-weight: 500;
        }

        .consent-box.error {
            border-color: var(--danger);
            background-color: rgba(231, 76, 60, 0.05);
        }

        .consent-box.error label {
            color: var(--danger);
        }

        /* Responsividade - Atualizada */
        @media (max-width: 992px) {
            .container {
                padding: 25px 20px;
            }
            
            h1 {
                font-size: 2.3rem;
            }
            
            h2 {
                font-size: 1.9rem;
            }
            
            .hero-carousel {
                height: 450px;
            }
            
            .carousel-content h1 {
                font-size: 2.3rem;
            }
        }

        @media (max-width: 768px) {
            form {
                grid-template-columns: 1fr;
            }
            
            .form-group.full {
                grid-column: 1;
            }
            
            .tabs {
                flex-wrap: wrap;
                padding: 0 10px;
            }
            
            .tab {
                margin-bottom: 0.5rem;
                flex-grow: 1;
                text-align: center;
                font-size: 0.9rem;
                padding: 12px 15px;
            }
            
            .tab1 {
                width: 100%;
                margin-top: 5px;
                border-radius: var(--border-radius);
                padding: 12px 15px;
            }
            
            .card-preview {
                width: 100%;
            }
            
            .hero-carousel {
                height: 350px;
            }
            
            .carousel-content h1 {
                font-size: 1.8rem;
            }
            
            .carousel-content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .container {
                padding: 20px 15px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.7rem;
            }
            
            h3 {
                font-size: 1.4rem;
            }
            
            .tab-content {
                padding: 1.5rem;
            }
            
            .card-body {
                flex-direction: column;
                align-items: center;
            }
            
            .card-photo {
                margin-bottom: 1.2rem;
            }
            
            .units-grid {
                grid-template-columns: 1fr;
            }
            
            .carousel-button {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .carousel-indicators {
                bottom: 15px;
            }
            
            .indicator {
                width: 10px;
                height: 10px;
            }
            
            button {
                padding: 12px 20px;
                font-size: 0.95rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 15px;
            }
            
            .tab-content {
                padding: 1rem;
            }
            
            .tab {
                padding: 10px;
                font-size: 0.85rem;
                margin-right: 3px;
                border-radius: var(--border-radius);
            }
            
            .tab1 {
                font-size: 0.85rem;
            }
            
            .card-preview {
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            }
            
            .consent-box {
                padding: 1.5rem;
            }
        }