@charset "utf-8";

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Bai Jamjuree', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .frank-body {
            background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
        }
        
        body {
            font-size: 17px;
        }
        
        h1 {
            font-size: 35px;
            color: #2C3E50;
        }

        h2 {
            font-size: 30px;
            color: #2C3E50;
        }

        h3 {
            font-size: 26px;
            color: #2C3E50;
        }

        h4, h5, h6 {
            font-size: 22px;
            color: #2C3E50;
        }
        
        .frank-header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.2rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid #ddd;
        }
        
        .frank-logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .frank-logo-icon {
            font-size: 2rem;
            color: #2C3E50;
        }
        
        .frank-logo-text {
            font-size: 1.6rem;
            font-weight: 700;
            color: #2C3E50;
            letter-spacing: 1px;
        }
        
        .frank-nav-links {
            display: flex;
            gap: 1.8rem;
        }
        
        .frank-nav-links a {
            color: #2C3E50;
            text-decoration: none;
            font-size: 1.4rem;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .frank-nav-links a:hover, .frank-nav-links a.active {
            background: #e9ecef;
            color: #3498db;
            transform: translateY(-2px);
        }
      
        .frank-hero {
            height: 60vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 5%;
            position: relative;
            overflow: hidden;
            background: linear-gradient(rgba(245, 245, 245, 0.9), rgba(230, 230, 230, 0.8)), url(/uploadfile/202506/CNC-Milling.jpg);
            background-size: cover;
            background-position: center;			           
        }
        
        .frank-hero h1 {
            font-size: 42px;
            margin-bottom: 25px;
            color: #2C3E50;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            max-width: 900px;
        }
        
        .frank-hero p {
            font-size: 19px;
            max-width: 800px;
            margin-bottom: 30px;
            color: #2C3E50;
            background: rgba(255, 255, 255, 0.85);
            padding: 20px 30px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            line-height: 1.8;
        }
        
        .frank-cta-button {
            background: #0058c6;
            color: White;
            border: none;
            padding: 1rem 2.5rem;
            font-size: 20px;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }
        
        .frank-cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
        }
        
        .frank-section {
            padding: 100px 10%;
            position: relative;
            background: #f8f9fa;
        }
        
        .frank-section.dark {
            background: #e9ecef;
        }
        
        .frank-section-title {
            text-align: center;
            margin-bottom: 70px;
        }
        
        .frank-section-title h2 {
            font-size: 36px;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        .frank-section-title h2::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 5px;
            background: #3498db;
            border-radius: 3px;
        }
        
        .frank-section-title p {
            font-size: 19px;
            max-width: 900px;
            margin: 30px auto 0;
            color: #2C3E50;
            line-height: 1.8;
        }
        
        .frank-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin-top: 50px;
        }
        
        .frank-feature-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            transition: all 0.4s ease;
            border: 1px solid #dee2e6;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
        }
        
        .frank-feature-card:hover {
            transform: translateY(-15px);
            border: 1px solid #3498db;
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.15);
        }
        
        .frank-feature-icon {
            font-size: 2.5rem;
            color: #3498db;
            margin-bottom: 25px;
        }
        
        .frank-feature-card h3 {
            font-size: 26px;
            margin-bottom: 20px;
        }
        
        .frank-visualization-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            margin-top: 50px;
            align-items: center;
        }
        
        .frank-visualization-content {
            text-align: left;
            font-size: 18px;
            flex: 1;
            min-width: 300px;
            line-height: 1.8;
        }
        
        .frank-visualization-model {
            flex: 1;
            min-width: 300px;
            height: 400px;
            background: white;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border: 1px solid #dee2e6;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .frank-cnc-model {
            width: 90%;
            height: 90%;
            background: #f1f3f5;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        .frank-cnc-base {
            width: 80%;
            height: 20%;
            background: #adb5bd;
            border-radius: 5px;
            position: absolute;
            bottom: 15%;
        }
        
        .frank-cnc-column {
            width: 10%;
            height: 60%;
            background: #868e96;
            border-radius: 5px;
            position: absolute;
            left: 15%;
            bottom: 20%;
        }
        
        .frank-cnc-arm {
            width: 60%;
            height: 8%;
            background: #495057;
            border-radius: 5px;
            position: absolute;
            top: 30%;
            left: 15%;
        }
        
        .frank-cnc-spindle {
            width: 7%;
            height: 15%;
            background: #3498db;
            border-radius: 50%;
            position: absolute;
            top: 25%;
            left: 45%;
            animation: rotate 3s linear infinite;
        }
        
        .frank-workpiece {
            width: 30%;
            height: 10%;
            background: #e9c46a;
            border-radius: 5px;
            position: absolute;
            bottom: 25%;
            right: 20%;
        }
        
        .frank-controls {
            position: absolute;
            bottom: 20px;
            display: flex;
            gap: 15px;
        }
        
        .frank-control-btn {
            background: rgba(52, 152, 219, 0.2);
            color: #2C3E50;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.2s ease;
        }
        
        .frank-control-btn:hover {
            background: rgba(52, 152, 219, 0.8);
            color: white;
            transform: scale(1.1);
        }
        
        .frank-comparison-table {
            width: 100%;
            margin: 50px 0;
            border-collapse: collapse;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid #dee2e6;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .frank-comparison-table th {
            background: #3498db;
            padding: 20px;
            text-align: left;
            font-size: 22px;
            color: white;
        }
        
        .frank-comparison-table td {
            padding: 15px 20px;
            border-bottom: 1px solid #e9ecef;			
            color: #2C3E50;
            font-size: 17px;
        }
        
        .frank-comparison-table tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        
        .frank-comparison-table tr:hover {
            background: #e9f7fe;
        }
        
        .frank-tool-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .frank-tool-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #dee2e6;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .frank-tool-card:hover {
            transform: translateY(-10px);
            border-color: #3498db;
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
        }
        
        .frank-tool-icon {
            font-size: 25px;
            color: #3498db;
            margin-bottom: 20px;
        }
        
        .frank-tool-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
        }
        
        .frank-process-steps {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 50px;
            justify-content: center;
        }
        
        .frank-step-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            width: 250px;
            text-align: center;
            position: relative;
            transition: all 0.3s ease;
            border: 1px solid #dee2e6;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .frank-step-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
        }
        
        .frank-step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background: #3498db;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            font-size: 1.5rem;
            color: white;
        }
        
        .frank-step-card h3 {
            margin-top: 20px;
            margin-bottom: 15px;
        }
        
        .frank-footer {
            background: #2C3E50;
            padding: 60px 10% 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #f8f9fa;
        }
        
        .frank-footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .frank-footer-column h3 {
            font-size: 26px;
            margin-bottom: 25px;
            color: #3498db;
            position: relative;
            padding-bottom: 10px;
        }
        
        .frank-footer-column h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: #3498db;
            border-radius: 2px;
        }
        
        .frank-footer-links {
            list-style: none;
        }
        
        .frank-footer-links li {
            margin-bottom: 15px;
        }
        
        .frank-footer-links a {
            color: #dee2e6;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .frank-footer-links a:hover {
            color: #3498db;
            transform: translateX(5px);
        }
        
        .frank-copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #adb5bd;
            font-size: 16px;
        }
        
        .frank-material-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 25px;
            margin-top: 50px;
        }
        
        .frank-material-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #dee2e6;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .frank-material-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: #e9f7fe;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            font-size: 30px;
            color: #3498db;
        }
        
        .frank-material-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }
        
        .frank-faq-container {
            max-width: 900px;
            margin: 50px auto 0;
        }
        
        .frank-faq-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 20px;
            overflow: hidden;
            border: 1px solid #dee2e6;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }
        
        .frank-faq-question {
            padding: 20px;
            font-size: 20px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .frank-faq-answer {
            padding: 0 20px 20px;
            color: #495057;
            line-height: 1.7;
            display: none;
        }
        
        .frank-faq-item.active .frank-faq-answer {
            display: block;
        }
        
        .frank-back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #3498db;
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            z-index: 999;
        }
        
        .frank-back-to-top.visible {
            opacity: 1;
        }
        
        .frank-material-card:hover {
            transform: translateY(-8px);
            border-color: #3498db;
            box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        @media (max-width: 768px) {
            .frank-hero h1 {
                font-size: 32px;
            }
                        
            .frank-nav-links {
                display: none;
            }
            
            .frank-section {
                padding: 70px 5%;							
            }
            
            .frank-visualization-container {
                flex-direction: column;
            }
            
            .frank-process-steps {
                flex-wrap: nowrap;
                overflow-x: auto;
                flex-direction: row;
                align-items: flex-start;
                justify-content: flex-start;
                padding-bottom: 20px;
            }
            
            .frank-step-card {
                width: 85%;
                min-width: 250px;
                flex-shrink: 0;
            }
        }